[Haskell] Monads Terminology Question

Tony Morris tonymorris at gmail.com
Sun Apr 11 20:51:57 EDT 2010


I think these names are specific to each data type (which happens to be
a monad) so unless they generalise, then they are not deserving of any
special terminology than any other functions.

While State and Reader are both Monads, they are also many other things
such as Functor and Applicative (and perhaps more), so this doesn't
require any special treatment.

Mark Snyder wrote:
> Hello,
>
>     I'm wondering what the correct terminology is for the extra functions that we define with monads.  For instance, State has get and put, Reader has ask and local, etc.  Is there a good name for these?  I've been calling them the "non-proper morphisms" (as opposed to the "proper" morphisms unit/return and bind).  But I don't know if others call them that.  Is there any accepted phrase for them?
>
> Thanks,
> ~Mark Snyder
>
>
>       
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>   


-- 
Tony Morris
http://tmorris.net/




More information about the Haskell mailing list