Skip to content
GitLab
Explore
Sign in
Register
Glasgow Haskell Compiler
GHC
Wiki
view patterns
view patterns
· Changes
Page history
make names consistent
authored
Dec 05, 2008
by
FSalad
Hide whitespace changes
Inline
Side-by-side
view-patterns.md
View page @
507bb4fc
...
@@ -16,7 +16,7 @@ View patterns are a convenient way of pattern-matching against values of abstrac
...
@@ -16,7 +16,7 @@ View patterns are a convenient way of pattern-matching against values of abstrac
data TypView = Unit
data TypView = Unit
| Arrow Typ Typ
| Arrow Typ Typ
view :: Typ
e
-> Typ
e
View
view :: Typ -> TypView
-- additional operations for constructing Typ's ...
-- additional operations for constructing Typ's ...
```
```
...
...