[Haskell] Expecting more inlining for bit shifting
roconnor at theorem.ca
roconnor at theorem.ca
Wed Oct 11 07:00:57 EDT 2006
On Wed, 11 Oct 2006, Simon Peyton-Jones wrote:
> The constant-folding rules for the primops are all in
> prelude/PrelRules.lhs
> in function primOpRules. Please add more rules. For example, I see
> that
> x +# 0 = x
> is not in there!
It is in libraries/base/GHC/Base.lhs
"x# +# 0#" forall x#. x# +# 0# = x#
--
Russell O'Connor <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''
More information about the Glasgow-haskell-users
mailing list