Changeset 12461 for src/Pugs/Val
- Timestamp:
- 08/19/06 15:41:50 (2 years ago)
- Location:
- src/Pugs/Val
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Val/Base.hs
r12459 r12461 24 24 asNum x = fail $ "coerce fail: " ++ (show $ typeOf x) ++ " to PureNum" 25 25 asStr :: a -> m PureStr 26 asStr x= return (cast "<opaque>") -- XXX wrong26 asStr _ = return (cast "<opaque>") -- XXX wrong 27 27 -- "$item = VAL" 28 28 asItem :: a -> Maybe (m Val) -
src/Pugs/Val/Code.hs
r12459 r12461 1 {- hopefully, in 6.6, this can be a first-class compilation unit. For now, 2 - it's #included from Pugs.Val. 3 {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 1 {- 2 - {-# OPTIONS_GHC -fglasgow-exts -fallow-overlapping-instances #-} 4 3 module Pugs.Val.Code where 5 4 import Pugs.Internals … … 143 142 144 143 -- | Runtime Capture with dynamic Exp for leaves 145 type ExpCapt = Capt Exp144 --type ExpCapt = Capt Exp 146 145 -- | Static Capture with Val for leaves 147 146 type ValCapt = Capt Val 148 147 149 type Exp = () -- XXX bogus
