Skip to content

Instantly share code, notes, and snippets.

@tmountain
Created January 4, 2017 17:19
Show Gist options
  • Save tmountain/122814e158fbb18d747a5ad6b072cdfe to your computer and use it in GitHub Desktop.
Save tmountain/122814e158fbb18d747a5ad6b072cdfe to your computer and use it in GitHub Desktop.
-- TYPE MISMATCH ---------------------------------------------------------------
The argument to function `toFullName` is causing a mismatch.
6│ toFullName { fistName = "Hermann", lastName = "Hesse" }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Function `toFullName` is expecting the argument to be:
{ …, firstName : … }
But it is:
{ …, fistName : … }
Hint: I compared the record fields and found some potential typos.
firstName <-> fistName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment