Changeset 3372 for src/Pugs/AST/Internals.hs
- Timestamp:
- 05/18/05 02:43:25 (4 years ago)
- svk:copy_cache_prev:
- 4945
- Files:
-
- 1 modified
-
src/Pugs/AST/Internals.hs (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/AST/Internals.hs
r3328 r3372 1291 1291 deriving (Show, Eq, Ord, Typeable) 1292 1292 1293 -- | A $/ object, the return of a rx match operation. 1293 1294 data VMatch = MkMatch 1294 1295 { matchOk :: !VBool -- success? … … 1301 1302 deriving (Show, Eq, Ord, Typeable) 1302 1303 1304 -- | An empty failed match 1305 mkMatchFail :: VMatch 1303 1306 mkMatchFail = MkMatch False 0 0 "" [] Map.empty 1307 1308 -- | Makes a successful match 1309 mkMatchOk :: Int -> Int -> VStr -> VList -> VHash -> VMatch 1304 1310 mkMatchOk = MkMatch True 1305 1311
