Changeset 13744 for src/Pugs/Prim/Match.hs
- Timestamp:
- 09/30/06 11:25:30 (2 years ago)
- Files:
-
- 1 modified
-
src/Pugs/Prim/Match.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Prim/Match.hs
r13718 r13744 201 201 if not (matchOk match) then return [] else do 202 202 let ret x = return $ if hasSubpatterns 203 then (matchSubPos match)++ x203 then [ m | m@(VMatch MkMatch{ matchOk = True }) <- matchSubPos match ] ++ x 204 204 else (VMatch match):x 205 205 case (matchTo match, matchFrom match) of
