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.''
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to