[Haskell-cafe] Re: Haskell code for this example of flow control
Bulat Ziganshin
bulatz at HotPOP.com
Fri Feb 3 12:02:19 EST 2006
Hello Maurício,
Friday, February 03, 2006, 7:28:16 PM, you wrote:
M> I wonder if I could write a generic while based on your example:
while :: (a ->> IO a) -> (a -> Bool) -> IO ()
M> I'll probably learn something trying that.
i have about 5-10 imperative control structures defined in my
common lib, including while, until, forever, doInChunks
--
Best regards,
Bulat mailto:bulatz at HotPOP.com
More information about the Haskell-Cafe
mailing list