Skip to content

Instantly share code, notes, and snippets.

@munro
Created October 17, 2014 17:56
Show Gist options
  • Select an option

  • Save munro/016486db78202f32be80 to your computer and use it in GitHub Desktop.

Select an option

Save munro/016486db78202f32be80 to your computer and use it in GitHub Desktop.
myFunction :: Record -> Record -> a
foobar = myFunction Record { meow = "face" }
Record { meow = "face" }
-- vs --
myFunction :: (Record, Record) -> a
foobar = myFunction(
Record { meow = "face" },
Record { meow = "face" }
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment