[Haskell-cafe] Creating an alias for a function
michael rice
nowgate at yahoo.com
Wed Oct 7 08:58:01 EDT 2009
Actually I used it to fake the Pascal ord(x) function:
ord = fromEnum
Problem?
Michael
--- On Wed, 10/7/09, Bulat Ziganshin <bulat.ziganshin at gmail.com> wrote:
From: Bulat Ziganshin <bulat.ziganshin at gmail.com>
Subject: Re[4]: [Haskell-cafe] Creating an alias for a function
To: "Luke Palmer" <lrpalmer at gmail.com>
Cc: "Bulat Ziganshin" <Bulat.Ziganshin at gmail.com>, haskell-cafe at 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 at gmail.com
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091007/e2b7b107/attachment.html
More information about the Haskell-Cafe
mailing list