Advertisement
Guest User

Untitled

a guest
Feb 21st, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. Error found:
  2. in module Main
  3. at src/Main.purs:65:29 - 65:37 (line 65, column 29 - line 65, column 37)
  4.  
  5. Could not match type
  6.  
  7. ( nextId :: Int
  8. , textVal :: Maybe String
  9. , items :: Array
  10. { key :: String
  11. , val :: String
  12. }
  13. )
  14.  
  15. with type
  16.  
  17. { nextId :: Int
  18. , textVal :: Maybe String
  19. , items :: Array
  20. { key :: String
  21. , val :: String
  22. }
  23. }
  24.  
  25.  
  26. while trying to match type { nextId :: Int
  27. , textVal :: Maybe String
  28. , items :: Array
  29. { key :: String
  30. , val :: String
  31. }
  32. }
  33. with type t0
  34. while checking that expression appState
  35. has type { nextId :: Int
  36. , textVal :: Maybe String
  37. , items :: Array
  38. { key :: String
  39. , val :: String
  40. }
  41. }
  42. in value declaration main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement