[Haskell-cafe] Const vs Constant types

Denis Moskvin dmoskvin at gmail.com
Sat Nov 19 21:35:09 CET 2011

Is there any rationale for coexistence of

newtype Const a b = Const { getConst :: a }

from Control.Applicative and

newtype Constant a b = Constant { getConstant :: a }

from Data.Functor.Constant (transformers package)?

Denis Moskvin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20111119/e19e2ace/attachment.htm>

More information about the Haskell-Cafe mailing list