blob: 880c9b03ec18b0462d926b51348349a8da3342c2 (
plain)
1
2
3
4
5
6
|
<interactive>:4:5: error: [GHC-80003]
• Non type-variable argument in the constraint: HasField "name" r a
• When checking the inferred type
foo :: forall {r} {a}. HasField "name" r a => r -> a
Suggested fix: Perhaps you intended to use FlexibleContexts
|