Skip to content
GitLab
Explore
Sign in
Register
Glasgow Haskell Compiler
GHC
Wiki
Migration
8.8
8.8
· Changes
Page history
Use absurd instead of error in the example of matching a Void
authored
Mar 08, 2019
by
josephcsible
Hide whitespace changes
Inline
Side-by-side
migration/8.8.md
View page @
7117a5ff
...
...
@@ -23,7 +23,7 @@ However, previous versions of GHC did not recognize this fact and flagged `f` as
```
f::Foo->Intf(MkFoo1 i)= i
f(MkFoo2
_)=error"unreachable"
f(MkFoo2
v)= absurd v
```
...
...