Changeset 4072
- Timestamp:
- 05/28/05 21:15:28 (4 years ago)
- svk:copy_cache_prev:
- 5515
- Location:
- src/Pugs
- Files:
-
- 2 modified
-
Eval.hs (modified) (1 diff)
-
Prim/Match.hs (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Pugs/Eval.hs
r4058 r4072 446 446 vbreak <- fromVal break 447 447 result <- reduce $ case unwrap match of 448 App _ (Just (Var "$_")) _ -> exp448 App _ (Just (Var "$_")) _ -> match 449 449 _ -> App (Var "&infix:~~") Nothing [(Var "$_"), match] 450 450 rb <- fromVal result -
src/Pugs/Prim/Match.hs
r3714 r4072 149 149 150 150 op2Match x y@(VType _) = do 151 typ <- evalValTypex151 typ <- fromVal x 152 152 op2Match (VType typ) y 153 153
