Advertisement
Guest User

Untitled

a guest
Jun 26th, 2021
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <interactive>:2:1: error:
  2.     • Ambiguous type variable ‘a0’ arising from a use ofprint
  3.       prevents the constraint ‘(Show a0)’ from being solved.
  4.       Probable fix: use a type annotation to specify what ‘a0’ should be.
  5.       These potential instances exist:
  6.         instance Show Ordering -- Defined in ‘GHC.Show’
  7.         instance Show Integer -- Defined in ‘GHC.Show’
  8.         instance Show a => Show (Maybe a) -- Defined in ‘GHC.Show’
  9.         ...plus 22 others
  10.         ...plus 19 instances involving out-of-scope types
  11.         (use -fprint-potential-instances to see them all)
  12.     • In a stmt of an interactive GHCi command: print it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement