Actually I used it to fake the Pascal ord(x) function:

ord = fromEnum

Problem?

Michael


--- On Wed, 10/7/09, Bulat Ziganshin <bulat.ziganshin@gmail.com> wrote:

From: Bulat Ziganshin <bulat.ziganshin@gmail.com>
Subject: Re[4]: [Haskell-cafe] Creating an alias for a function
To: "Luke Palmer" <lrpalmer@gmail.com>
Cc: "Bulat Ziganshin" <Bulat.Ziganshin@gmail.com>, haskell-cafe@haskell.org
Date: Wednesday, October 7, 2009, 3:41 AM

Hello Luke,

Wednesday, October 7, 2009, 11:35:47 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.

oh, i don't known this. but anyway michael may have such
functions about those you need to alias


--
Best regards,
Bulat                            mailto:Bulat.Ziganshin@gmail.com

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe