Advertisement
Guest User

Untitled

a guest
Aug 25th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. nishio:godfat caasi$ stack runghc ./trans5.hs
  2. Run from outside a project, using implicit global project config
  3. Using resolver: lts-5.10 from implicit global project's config file: /Users/caasi/.stack/global-project/stack.yaml
  4.  
  5. trans5.hs:2:1: Warning:
  6. Module ‘Control.Monad.Error’ is deprecated:
  7. Use Control.Monad.Except instead
  8.  
  9. trans5.hs:20:46: Warning:
  10. In the use of type constructor or class ‘ErrorT’
  11. (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error):
  12. Deprecated: "Use Control.Monad.Trans.Except instead"
  13.  
  14. trans5.hs:42:20: Warning:
  15. In the use of ‘runErrorT’
  16. (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error):
  17. Deprecated: "Use Control.Monad.Trans.Except instead"
  18. Right (Num 0,1)
  19. Looking for x...
  20. Right (Num 1,2)
  21. Adding 1 and 1
  22. Right (Num 2,1)
  23. Looking for x...
  24. Adding 1 and 2
  25. Right (Num 3,2)
  26. Looking for y...
  27. Left "Var y not found."
  28. Looking for x...
  29. Left "Var x not found."
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement