Re: Darcs patch: let runghc.hs read from stdin if no file is provided

2008-02-06 Thread Don Stewart
simonmarhaskell: > Don Stewart wrote: > >This is a rather fun patch (imo) that lets runghc read from stdin (into > >a temp file) if no filename is provided. > > > >It means this works, > > > >$ cat A.hs | runghc | python2.4| ruby | runghc | python2.4 | ruby > > > >Where A.hs is sigfpe's 3rd

Re: Darcs patch: let runghc.hs read from stdin if no file is provided

2008-02-06 Thread Simon Marlow
Don Stewart wrote: This is a rather fun patch (imo) that lets runghc read from stdin (into a temp file) if no filename is provided. It means this works, $ cat A.hs | runghc | python2.4| ruby | runghc | python2.4 | ruby Where A.hs is sigfpe's 3rd order quine, http://sigfpe.blogspo

Darcs patch: let runghc.hs read from stdin if no file is provided

2008-02-05 Thread Don Stewart
This is a rather fun patch (imo) that lets runghc read from stdin (into a temp file) if no filename is provided. It means this works, $ cat A.hs | runghc | python2.4| ruby | runghc | python2.4 | ruby Where A.hs is sigfpe's 3rd order quine, http://sigfpe.blogspot.com/2008/02/third-or