Changes between Version 4 and Version 5 of ViewPatternsAlternative
- Timestamp:
- 08/12/11 06:38:16 (22 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ViewPatternsAlternative
v4 v5 66 66 example ((f,_), x | f x == 4) = True 67 67 }}} 68 There is no way to ''localise'' how many variables are brought into scope. For example, consider 69 {{{ 70 f (x | x>=k, let y = x-k) = rhs 71 }}} 72 Here, both `x` and `y` are in scope in `rhs`; and there is no way to say "only bind `y` in this pattern". 68 73 69 74 '''Typing'''
