Changeset 4173 for src/Pugs/Types
- Timestamp:
- 05/30/05 19:00:46 (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
r2559 r4173 21 21 scalar_iType = const $ mkType "Scalar::Lazy" 22 22 scalar_fetch = return . maybe undef id 23 scalar_store _ v = retConstError v23 scalar_store d s = 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 _ v = retConstError v40 scalar_store d s = retConstError d 41 41 scalar_const = Just 42 42
