Re: [Haskell-cafe] executable scripts?

2004-10-23 Thread Koji Nakahara
On Fri, 22 Oct 2004 16:05:29 -0700 John Velman [EMAIL PROTECTED] wrote: One of the nice things about perl (for example) is that you can put together a script with #!/usr/local/perl (in bash for example) as the first line of a file and run it immediately. I've used perl a lot this way with

[Haskell-cafe] executable scripts?

2004-10-23 Thread frederik
velman: One of the nice things about perl (for example) is that you can put together a script with #!/usr/local/perl (in bash for example) as the first line of a file and run it immediately. I've used perl a lot this way with simple 'throw away' scripts to do special filtering on a file, or

[Haskell-cafe] ArrowLoop examples?

2004-10-23 Thread Einar Karttunen
Hello Are there any examples of using ArrowLoop outside the signal functions? Instances are declared for ordinary functions and Kleisli arrows, but how should they be actually used? - Einar Karttunen ___ Haskell-Cafe mailing list [EMAIL PROTECTED]

[Haskell-cafe] Are handles garbage-collected?

2004-10-23 Thread Peter Simons
What happens when a System.IO.Handle falls out of scope without being explicitly hClosed? Is that a resource leak? Or will the RTS close the handle for me? Peter ___ Haskell-Cafe mailing list [EMAIL PROTECTED]