Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. src/Main.hs:34:12: error:
  2. • Couldn't match expected type ‘Turtle.Shell.FoldShell
  3. (Either Turtle.Line.Line Turtle.Line.Line) r0
  4. -> IO r0’
  5. with actual type ‘Either (Shell Turtle.Line.Line) b0’
  6. • In the pattern: Left line
  7. In the pattern: Shell (Left line)
  8. In a case alternative: Shell (Left line) -> line
  9. |
  10. 34 | Shell (Left line) -> line
  11. | ^^^^^^^^^
  12.  
  13. src/Main.hs:35:12: error:
  14. • Couldn't match expected type ‘Turtle.Shell.FoldShell
  15. (Either Turtle.Line.Line Turtle.Line.Line) r1
  16. -> IO r1’
  17. with actual type ‘Either a0 (Shell Turtle.Line.Line)’
  18. • In the pattern: Right line
  19. In the pattern: Shell (Right line)
  20. In a case alternative: Shell (Right line) -> line
  21. |
  22. 35 | Shell (Right line) -> line
  23. | ^^^^^^^^^^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement