Changeset 4179 for src/Pugs/Types
- Timestamp:
- 05/31/05 01:43:41 (4 years ago)
- svk:copy_cache_prev:
- 5706
- Files:
-
- 1 modified
-
src/Pugs/Types/Scalar.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Types/Scalar.hs
r4173 r4179 21 21 scalar_iType = const $ mkType "Scalar::Lazy" 22 22 scalar_fetch = return . maybe undef id 23 scalar_store d s= retConstError $ VStr $ show d23 scalar_store d _ = retConstError $ VStr $ show d 24 24 scalar_const = const Nothing 25 25 … … 38 38 scalar_fetch (VRef ref) = readRef ref 39 39 scalar_fetch v = return v 40 scalar_store d s= retConstError d40 scalar_store d _ = retConstError d 41 41 scalar_const = Just 42 42
