[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haskell
Subject:    Re: Interprocess communications
From:       Fergus Henderson <fjh () cs ! mu ! OZ ! AU>
Date:       1998-06-19 8:17:35
Message-ID: 19980619094223.09842 () mundook ! cs ! mu ! OZ ! AU
[Download RAW message or body]

On 18-Jun-1998, Hans Aberg <haberg@matematik.su.se> wrote:
> At 16:22 -0400 98/06/16, S. Alexander Jacobson wrote:
> >
> >Unix shell pipes provide a really nice way to do IPC e.g.
> >
> >$ cat file | grep blah | wc -l
...
>   One can think of pipes as function composition, i.e. putting
>     f = cat(file)
>     g = grep(blah)
>     h = wc(-l)
> then the line above is h(g(f)).

Or `h $ g $ f'.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3        |     -- the last words of T. S. Garp.



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic