Show
Ignore:
Timestamp:
05/09/05 23:48:13 (4 years ago)
Author:
bsmith
svk:copy_cache_prev:
4437
Message:

Fixed the build: compensated for getEnv's new Maybe signature through the use
of fmaps, >>=s and fromMaybe's.

Files:
1 modified

Legend:

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

    r2441 r2907  
    8181    hash_fetchVal _ key = tryIO undef $ do 
    8282        str <- getEnv key 
    83         return $ VStr str 
     83        return $ fromMaybe VUndef (fmap VStr str) 
    8484    hash_storeVal _ key val = do 
    8585        str <- fromVal val