[Haskell-cafe] Creating an alias for a function

Luke Palmer lrpalmer at gmail.com
Wed Oct 7 03:35:47 EDT 2009


On Wed, Oct 7, 2009 at 1:26 AM, Bulat Ziganshin
<bulat.ziganshin at gmail.com> wrote:
> Hello Ross,
>
> Wednesday, October 7, 2009, 6:02:28 AM, you wrote:
>
>> car = head
>
> unfortunately it doesn't work without -fno-monomorphism-restriction

It should be fine without the monomorphism restriction.  Said
restriction only applies to functions with typeclass constraints, of
which this has none.

Luke


More information about the Haskell-Cafe mailing list