Changeset 5027 for src/Pugs/Prim/Match.hs
- Timestamp:
- 06/27/05 20:43:21 (3 years ago)
- svk:copy_cache_prev:
- 6880
- Files:
-
- 1 modified
-
src/Pugs/Prim/Match.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/Match.hs
r5026 r5027 153 153 op2Match (VType typ) (VType t) = do 154 154 typs <- pkgParents (showType typ) 155 return . VBool $ showType t `elem` typs155 return . VBool $ showType t `elem` (showType typ:typs) 156 156 157 157 op2Match x y@(VType _) = do … … 159 159 op2Match (VType typ) y 160 160 161 {-162 161 op2Match (VRef x) y = do 163 162 x' <- readRef x 164 163 op2Match x' y 165 -}166 164 167 165 op2Match x y = do
