Haskell 98 (Library) Report: contradiction about fail :: String -> IO a
9 Jan
2001
9 Jan
'01
11:10 p.m.
The Haskell 98 Report says that fail in instance Monad IO invokes error. The Library Report says that fail in instance Monad IO raises a user error. I would let it raise a user error, to be able to use fail in exception monads where strings suffice as the error type. -- __("< Marcin Kowalczyk * qrczak@knm.org.pl http://qrczak.ids.net.pl/ \__/ ^^ SYGNATURA ZASTÊPCZA QRCZAK
9362
Age (days ago)
9362
Last active (days ago)
0 comments
1 participants
participants (1)
-
qrczak@knm.org.pl