Daniel Bastos wrote:
> What? You don't program in Scheme? Why in the world would you not? :P
Because it looks like THAT? :-P
> This program above is a prototype of the UNIX cat program. I was
> wondering how people would sort of write those lines in usual
> Scheme. But I guess I might be in the wrong off topic group. :-)
Oh, right.
In Haskell, we just say
main = interact id
;-)
Post a reply to this message
|