blob: 93bc2bb3efeeafee91d8a7275d56ddbb547a42cc (
plain)
1
2
3
4
5
6
|
<interactive>:3:5: error:
• Non type-variable argument in the constraint: HasField "name" r a
(Use FlexibleContexts to permit this)
• When checking the inferred type
foo :: forall r a. HasField "name" r a => r -> a
|