Hannah Schroeter wrote: > > Hello! > > On Fri, May 28, 1999 at 08:00:27AM +0200, Friedrich Dominicus wrote: > > I wrote before with my trouble understanding hugsIsEOF. But I don't have > > found a clean way just to write a cat. Can s.o give me a hand? > > import System(getArgs) > file2stdout :: String {- filename -} -> IO () ^^^^^^^^^^^^^^ could you explain that to me? If I want to do it line-by-line is is some combination from getLine, putStr ? Regards Friedrich
- how to write a simple cat Friedrich Dominicus
- Re: how to write a simple cat Hannah Schroeter
- Re: how to write a simple cat David Overton
- Re: how to write a simple cat Keith Wansbrough
- Re: how to write a simple cat Friedrich Dominicus
- Re: how to write a simple cat Hannah Schroeter
- Re: how to write a simple cat Friedrich Dominicus
- Re: how to write a simple cat Hannah Schroeter
- Re: how to write a simple cat Sven Panne
- Re: how to write a simple cat Friedrich Dominicus
- Re: how to write a simple cat S. Alexander Jacobson
- Re: how to write a simple cat Sven Panne
- Re: how to write a simple cat Friedrich Dominicus
- Re: how to write a simple cat Jan Skibinski
- Re: how to write a simple cat Lars Henrik Mathiesen