Skip to content

Instantly share code, notes, and snippets.

@joelmccracken
Created February 18, 2019 22:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelmccracken/4d31064379d20bf669d173d5afe6ed8a to your computer and use it in GitHub Desktop.
Save joelmccracken/4d31064379d20bf669d173d5afe6ed8a to your computer and use it in GitHub Desktop.
Error found:
in module Main
at src/Main.purs:65:29 - 65:37 (line 65, column 29 - line 65, column 37)
Could not match type
( nextId :: Int
, textVal :: Maybe String
, items :: Array
{ key :: String
, val :: String
}
)
with type
{ nextId :: Int
, textVal :: Maybe String
, items :: Array
{ key :: String
, val :: String
}
}
while trying to match type { nextId :: Int
, textVal :: Maybe String
, items :: Array
{ key :: String
, val :: String
}
}
with type t0
while checking that expression appState
has type { nextId :: Int
, textVal :: Maybe String
, items :: Array
{ key :: String
, val :: String
}
}
in value declaration main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment