Changeset 9256 for src/Pugs/Compile.hs
- Timestamp:
- 03/03/06 15:52:56 (3 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Compile.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Compile.hs
r8774 r9256 404 404 {-| Compiles a 'Val' to a 'PIL_Literal'. -} 405 405 instance Compile Val PIL_Literal where 406 compile (VList vs) = return $ PVal (VList (filter isSimple vs)) 407 where 408 isSimple (VRef _) = False 409 isSimple _ = True 410 compile (VRef _) = return $ PVal VUndef 406 411 compile val = return $ PVal val 407 412
