Re: Directory manipulation in Haskell 98

2000-09-22 Thread Marcin 'Qrczak' Kowalczyk
Fri, 22 Sep 2000 05:54:09 -0300, Jose Romildo Malaquias <[EMAIL PROTECTED]> pisze: > It seems that there is not a standard library for handling > directories and directoreis entries in Haskell 98. There is: module Directory. Unfortunately Hugs does not provide it. -- __("< Marcin Kowalczyk

RE: Preemptive thread switching in concurrent haskell??

2000-09-22 Thread Simon Marlow
> On Fri 22 Sep, [EMAIL PROTECTED] wrote: > > Why does this code fragment print a continous stream of b's? > > I thought it should print some alternation of a's and b's. > > Sorry, I don't know the answer, but this post reminds me of something > I'd been meaning to ask.. > > I seem to remember r

RE: Preemptive thread switching in concurrent haskell??

2000-09-22 Thread Simon Marlow
> Why does this code fragment print a continous stream of b's? > I thought it should print some alternation of a's and b's. > I am using GHC 4.08.1 on Windows 98 with Cygwin. > > import Concurrent > > main = forkIO a >> b > where > a = putStrLn "a" >> a > b = putStrLn "b" >> b >

Re: Preemptive thread switching in concurrent haskell??

2000-09-22 Thread Adrian Hey
On Fri 22 Sep, [EMAIL PROTECTED] wrote: > Why does this code fragment print a continous stream of b's? > I thought it should print some alternation of a's and b's. Sorry, I don't know the answer, but this post reminds me of something I'd been meaning to ask.. I seem to remember reading that Conc

Preemptive thread switching in concurrent haskell??

2000-09-22 Thread EWohlstad
Why does this code fragment print a continous stream of b's? I thought it should print some alternation of a's and b's. I am using GHC 4.08.1 on Windows 98 with Cygwin. import Concurrent main = forkIO a >> b where a = putStrLn "a" >> a b = putStrLn "b" >> b --- Eric

Re: Directory manipulation in Haskell 98

2000-09-22 Thread Wolfgang Lux
> It seems that there is not a standard library for > handling directories and directoreis entries in > Haskell 98. I have just found the Posix library > PosixFiles distributed with GHC 8.0.1 for that > purpose. Hugs and NHC98 does not look like to > have such a library. Is there a way to manipula

Directory manipulation in Haskell 98

2000-09-22 Thread Jose Romildo Malaquias
It seems that there is not a standard library for handling directories and directoreis entries in Haskell 98. I have just found the Posix library PosixFiles distributed with GHC 8.0.1 for that purpose. Hugs and NHC98 does not look like to have such a library. Is there a way to manipulate directory