Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *Main> (&&) True _
- <interactive>:53:11: error:
- * Found hole: _ :: Bool
- * In the second argument of `(&&)', namely `_'
- In the expression: (&&) True _
- In an equation for `it': it = (&&) True _
- * Relevant bindings include
- it :: Bool (bound at <interactive>:53:1)
- Valid hole fits include
- otherwise :: Bool
- (imported from `Prelude' at hello.hs:1:1
- (and originally defined in `GHC.Base'))
- False :: Bool
- (imported from `Prelude' at hello.hs:1:1
- (and originally defined in `GHC.Types'))
- True :: Bool
- (imported from `Prelude' at hello.hs:1:1
- (and originally defined in `GHC.Types'))
- maxBound :: forall a. Bounded a => a
- with maxBound @Bool
- (imported from `Prelude' at hello.hs:1:1
- (and originally defined in `GHC.Enum'))
- minBound :: forall a. Bounded a => a
- with minBound @Bool
- (imported from `Prelude' at hello.hs:1:1
- (and originally defined in `GHC.Enum'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement