Commit 6a43840c authored by pcapriotti's avatar pcapriotti

Refactor PrelRules and add more rules (#7014)

Ported various rules for numeric types from GHC.Base. Added new rules
for bitwise operations, shifts and word comparisons.
parent c9733e26
...@@ -749,7 +749,7 @@ mkPrimOpId prim_op ...@@ -749,7 +749,7 @@ mkPrimOpId prim_op
id = mkGlobalId (PrimOpId prim_op) name ty info id = mkGlobalId (PrimOpId prim_op) name ty info
info = noCafIdInfo info = noCafIdInfo
`setSpecInfo` mkSpecInfo (primOpRules prim_op name) `setSpecInfo` mkSpecInfo (primOpRules name prim_op)
`setArityInfo` arity `setArityInfo` arity
`setStrictnessInfo` Just strict_sig `setStrictnessInfo` Just strict_sig
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment