_______________________________________________Dear Cafe,MonadFail.fail takes String.I wasn't able to find MonadFail for custom error type.Is there any proposals to base?Let's say Data.Text, which gains popularity with OverloadedStrings extensions.class MonadFail m wherefail :: String -> m aWhy not ?class MonadFail m wherefail :: (forall s. IsString s => s) -> m aclass MonadFailWith m s wherefail :: s -> m a
--
Best regards,
Daniil Iaitskov
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.