Commit 6a43840c authored by pcapriotti's avatar pcapriotti
Browse files

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
id = mkGlobalId (PrimOpId prim_op) name ty info
info = noCafIdInfo
`setSpecInfo` mkSpecInfo (primOpRules prim_op name)
`setSpecInfo` mkSpecInfo (primOpRules name prim_op)
`setArityInfo` arity
`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