Show
Ignore:
Timestamp:
06/01/05 17:46:40 (4 years ago)
Author:
theorbtwo
svk:copy_cache_prev:
5861
Message:

Hackish Code.body support (presently useless as well, as there aren't any
methods on Code::Exp, but that should change soon).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/Pugs/Types/Array.hs

    r4229 r4270  
    247247    array_fetchVal pv 1    = return . snd =<< readIVar pv 
    248248    array_fetchVal _  _    = return undef 
    249     array_storeVal _ _ _   = retConstError undef 
    250     array_storeElem _ _ _  = retConstError undef 
    251     array_deleteElem _ _   = retConstError undef 
     249    array_storeVal a _ _   = retConstError $ VStr $ show a 
     250    array_storeElem a _ _  = retConstError $ VStr $ show a 
     251    array_deleteElem a _   = retConstError $ VStr $ show a 
    252252 
    253253evalPerl5Sub :: String -> [PerlSV] -> Eval Val