Show
Ignore:
Timestamp:
05/30/05 04:44:55 (3 years ago)
Author:
autrijus
svk:copy_cache_prev:
5706
Message:

* err, juxtaposed commit log. _this_ change was the .keys/.values

fix -- last change was temporarily disabling infix:<-> in Set.pm
during the investigation, and fixing the overloading from method
into multi subs.

Files:
1 modified

Legend:

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

    r4102 r4140  
    1616 
    1717pairsFromVal :: Val -> Eval [Val] 
     18pairsFromVal VUndef = return [] 
    1819pairsFromVal (PerlSV sv) = do 
    1920    keys    <- hash_fetchKeys sv 
     
    2728 
    2829keysFromVal :: Val -> Eval Val 
     30keysFromVal VUndef = return $ VList [] 
    2931keysFromVal (PerlSV sv) = do 
    3032    keys    <- hash_fetchKeys sv 
     
    3739 
    3840valuesFromVal :: Val -> Eval Val 
     41valuesFromVal VUndef = return $ VList [] 
    3942valuesFromVal (VJunc j) = return . VList . Set.elems $ juncSet j 
    4043valuesFromVal v@(VList _) = return v