Show
Ignore:
Timestamp:
06/27/05 20:43:21 (3 years ago)
Author:
autrijus
svk:copy_cache_prev:
6880
Message:

* $hashref.does(Hash) now returns true
* more test cleanups

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Prim/Match.hs

    r5026 r5027  
    153153op2Match (VType typ) (VType t) = do 
    154154    typs <- pkgParents (showType typ) 
    155     return . VBool $ showType t `elem` typs 
     155    return . VBool $ showType t `elem` (showType typ:typs) 
    156156 
    157157op2Match x y@(VType _) = do 
     
    159159    op2Match (VType typ) y 
    160160 
    161 {- 
    162161op2Match (VRef x) y = do 
    163162    x' <- readRef x 
    164163    op2Match x' y 
    165 -} 
    166164 
    167165op2Match x y = do