On 2010-04-13 03:02, Ozgur Akgun wrote:

I want a function to generate func1Fixed, given func1.

Don't do that, it's unHaskellish. Bottom is for non-termination (which you absolutely cannot catch) plus some other conditions to be treated similarly.

If the implementer of func1 decided to return pseudo-non-termination, that's what you get.

--
Ashley Yakeley
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to