Package

purescript-record-prefix

Repository
dariooddenino/purescript-record-prefix
License
MIT
Uploaded by
dariooddenino
Published on
2018-09-13

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