Suppose `f` doesn't use its first argument. When forming the thunk (or
partial application) `f a`, we don't need to record `a`. What if instead of
arity, we store a bitmap used/absent arguments, terminated by a 1 bit?
Could we then get rid of "stupid thunks" like `(const a) b`?
_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Reply via email to