[Haskell-beginners] can I use "pure" all the time instead of "return" now?
Doug McIlroy
doug at cs.dartmouth.edu
Sun May 15 14:29:34 UTC 2016
> the name [return] "stains" the functional semantics in Monadic code,
> in my opinion
Amusing. For me, the term "pure" stains monads as impure or diluted.
The moral overtones of "pure", as in "purely functional language",
drive out more benign interpretatations such as "unadorned". Not
a felicitous coinage.
Doug McIlroy
More information about the Beginners
mailing list