[Haskell-cafe] Implicit newtype unwrapping
Tony Morris
tonymorris at gmail.com
Wed Dec 2 19:19:52 EST 2009
Isn't that the point of type-classes?
Martijn van Steenbergen wrote:
> So here's a totally wild idea Sjoerd and I came up with.
>
> What if newtypes were unwrapped implicitly?
>
> What advantages and disadvantages would it have?
> In what cases would this lead to ambiguous code?
>
> Thanks,
>
> Martijn.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
--
Tony Morris
http://tmorris.net/
More information about the Haskell-Cafe
mailing list