Changeset 3097 for src/Pugs/Types/Hash.hs
- Timestamp:
- 05/12/05 17:36:24 (4 years ago)
- svk:copy_cache_prev:
- 4536
- Files:
-
- 1 modified
-
src/Pugs/Types/Hash.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Types/Hash.hs
r3082 r3097 87 87 hash_existsElem _ key = tryIO False $ do 88 88 str <- getEnv key 89 return $ isJust str 89 return $ case str of 90 Just (_:_) -> True 91 _ -> False 90 92 hash_deleteElem _ key = do 91 93 liftIO $ unsetEnv key
