[Haskell] Boxing (Day) Question
John Meacham
john at repetae.net
Mon Dec 26 14:16:15 EST 2005
On Mon, Dec 26, 2005 at 06:45:09PM +0100, Niklas Sorensson wrote:
> That's what I thought. But I'm still curious when it is used, and why
> it isn't a suitable solution for unboxed polymorhic functions in most
> cases.
I always thought A nice extension would be to allow polymorphic
functions that are {-# INLINE #-}'d for which all polymorphic functions
called by it are also inlined to be applied to unboxed arguments.
a $ b = a b
id x = x
f . g = \x -> f (g x)
being particularly useful instances of this
John
--
John Meacham - ⑆repetae.net⑆john⑈
More information about the Haskell
mailing list