[Haskell-cafe] Errors in non-monadic code

jabolopes at google.com jabolopes at google.com
Mon Aug 19 20:59:30 CEST 2013


I'd say that if you were in the context of the IO monad, maybe you'd
prefer to use exceptions instead of 'Either' or 'Maybe'.

Jose

On Mon, Aug 19, 2013 at 07:41:48PM +0100, Tom Ellis wrote:
> On Mon, Aug 19, 2013 at 02:20:23PM -0400, jabolopes at google.com wrote:
> > Yeah, non-monadic is not the best term... The problem is that it's
> > always so hard to communicate when you want to say a total function
> > that is not in the context of the IO monad. There should be a simple,
> > short name for these functions, so we can easily talk about them.
> 
> Why, what would be different in your question for a non-total function or
> one in the context of the IO monad?
> 
> Tom
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe




More information about the Haskell-Cafe mailing list