Advertisement
Guest User

Untitled

a guest
Nov 25th, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. The type annotation for `leftJoin` does not match its definition.
  2.  
  3. 10│ leftJoin : Stream comparable v1 -> Stream comparable v2 -> Stream comparable (v1, Maybe v2)
  4. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  5. The type annotation is saying:
  6.  
  7. Signal ( comparable, a )
  8. -> Signal ( comparable, b )
  9. -> Signal ( comparable, ( a, Maybe b ) )
  10.  
  11. But I am inferring that the definition has this type:
  12.  
  13. Signal ( comparable, a )
  14. -> Signal ( comparable, a )
  15. -> Signal ( comparable, ( a, Maybe b ) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement