A library to add a prefix to a record's labels
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Record export Sep 13, 2018
test export Sep 13, 2018
.gitignore initial commit Sep 13, 2018
README.md Update README.md Sep 13, 2018
bower.json initial commit Sep 13, 2018

README.md

Purescript-Record-Prefix

A library to add prefixes to records' labels.

Example

foo :: { bar :: Int, baz :: Boolean }
foo = { bar: 1, baz: true }


bar :: { prebar :: Int, prebaz :: Boolean }
bar = addPrefix (SProxy :: SProxy "pre") foo