Changeset 3708 for src/Pugs/Prim/Match.hs
- Timestamp:
- 05/23/05 04:23:41 (4 years ago)
- svk:copy_cache_prev:
- 5201
- Files:
-
- 1 modified
-
src/Pugs/Prim/Match.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/Match.hs
r3372 r3708 78 78 op2Match x y' 79 79 80 op2Match x (VType t) = do 81 typ <- evalValType x 80 op2Match (VType typ) (VType t) = do 82 81 cls <- asks envClasses 83 82 return $ VBool (isaType cls (showType t) typ) 83 84 op2Match x y@(VType _) = do 85 typ <- evalValType x 86 op2Match (VType typ) y 84 87 85 88 op2Match x (VSubst (rx, subst)) | rxGlobal rx = do
