Advertisement
Guest User

Untitled

a guest
Sep 21st, 2019
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. *Main> (&&) True _
  2.  
  3. <interactive>:53:11: error:
  4. * Found hole: _ :: Bool
  5. * In the second argument of `(&&)', namely `_'
  6. In the expression: (&&) True _
  7. In an equation for `it': it = (&&) True _
  8. * Relevant bindings include
  9. it :: Bool (bound at <interactive>:53:1)
  10. Valid hole fits include
  11. otherwise :: Bool
  12. (imported from `Prelude' at hello.hs:1:1
  13. (and originally defined in `GHC.Base'))
  14. False :: Bool
  15. (imported from `Prelude' at hello.hs:1:1
  16. (and originally defined in `GHC.Types'))
  17. True :: Bool
  18. (imported from `Prelude' at hello.hs:1:1
  19. (and originally defined in `GHC.Types'))
  20. maxBound :: forall a. Bounded a => a
  21. with maxBound @Bool
  22. (imported from `Prelude' at hello.hs:1:1
  23. (and originally defined in `GHC.Enum'))
  24. minBound :: forall a. Bounded a => a
  25. with minBound @Bool
  26. (imported from `Prelude' at hello.hs:1:1
  27. (and originally defined in `GHC.Enum'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement