[project @ 2001-04-28 11:20:46 by qrczak]
authorqrczak <unknown>
Sat, 28 Apr 2001 11:20:46 +0000 (11:20 +0000)
committerqrczak <unknown>
Sat, 28 Apr 2001 11:20:46 +0000 (11:20 +0000)
commit9890f85ac0c5d0589329f8f1ea86babeaa009e53
treede390e48404716abaa78b81a8ab9e8001808923b
parent8ea5c86c1424997c7c9f836dbccd87956811bc29
[project @ 2001-04-28 11:20:46 by qrczak]
Fix the bug that source rules of primops shadowed builtin rules: let
extendRuleBase take the old rules from the id passed as the argument
when the id is absent in RuleBase.

I hope this is correct: I don't know what difference can be between
the id passed as extendRuleBase's argument and the id found in RuleBase.

Also use standard isJust, isNothing instead of non-standard
Maybes.maybeToBool.
ghc/compiler/specialise/Rules.lhs