Off-Topic > Off-Topic - Tiny Tux's Corner

Monadic i/o and UNIX shell programming

(1/1)

mocore:
https://okmij.org/ftp/Computation/monadic-shell.html


--- Quote ---We will show uncanny similarities between monadic i/o in Haskell,
and UNIX filter compositions based on pipes and redirections.
UNIX pipes (treated semantically as writing to temporary files) are quite similar to monads.
Furthermore, at the level of UNIX programming, all i/o can be regarded monadic.

--- End quote ---

interesting perspective 
 

see also : "how to distinguish FP hype from reality" (Gilad Bracha) @ https://forum.tinycorelinux.net/index.php/topic,27239.0.html



Navigation

[0] Message Index

Go to full version