Skip to content
GitLab
Explore
Sign in
Register
Glasgow Haskell Compiler
GHC
Wiki
Records
Overloaded record fields
redesign
redesign
· Changes
Page history
Missing type argument
authored
Jan 24, 2015
by
NeilMitchell
Hide whitespace changes
Inline
Side-by-side
records/overloaded-record-fields/redesign.md
View page @
4e64df51
...
@@ -268,7 +268,7 @@ data S = MkS { x :: Bool }
...
@@ -268,7 +268,7 @@ data S = MkS { x :: Bool }
which will generate
which will generate
```
wiki
```
wiki
instance (a ~ Bool) => IV (S -> a) where
instance (a ~ Bool) => IV
"x"
(S -> a) where
iv (MkS x) = x
iv (MkS x) = x
```
```
...
...