Guest User

Untitled

a guest
Oct 17th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. praxis5.hs:86:28:
  2. Couldn't match expected type `Production v t w i'
  3. with actual type `[Production v0 t w0 i0]'
  4. Expected type: [Production v t w i]
  5. Actual type: [[Production v0 t w0 i0]]
  6. In the second argument of `wcfg', namely `productions'
  7. In the expression: wcfg startsymbol productions
  8.  
  9. praxis5.hs:96:23:
  10. Couldn't match type `t' with `v'
  11. `t' is a rigid type variable bound by
  12. the type signature for
  13. getProductionsFromTree :: T.Tree t -> [Production v t w i]
  14. at praxis5.hs:93:1
  15. `v' is a rigid type variable bound by
  16. the type signature for
  17. getProductionsFromTree :: T.Tree t -> [Production v t w i]
  18. at praxis5.hs:93:1
  19. In the first argument of `production', namely `lhs'
  20. In the expression: production lhs rhs 0 0
  21. In the expression: [production lhs rhs 0 0]
  22.  
  23. praxis5.hs:100:42:
  24. Couldn't match type `t' with `v'
  25. `t' is a rigid type variable bound by
  26. the type signature for determine :: T.Tree t -> Either v t
  27. at praxis5.hs:99:1
  28. `v' is a rigid type variable bound by
  29. the type signature for determine :: T.Tree t -> Either v t
  30. at praxis5.hs:99:1
  31. Expected type: T.Tree v
  32. Actual type: T.Tree t
  33. In the first argument of `T.rootLabel', namely `tree'
  34. In the first argument of `Left', namely `(T.rootLabel tree)'
Add Comment
Please, Sign In to add comment