A library to add prefixes to records' labels.
foo :: { bar :: Int, baz :: Boolean }
foo = { bar: 1, baz: true }
bar :: { prebar :: Int, prebaz :: Boolean }
bar = addPrefix (SProxy :: SProxy "pre") foo
A library to add prefixes to records' labels.
foo :: { bar :: Int, baz :: Boolean }
foo = { bar: 1, baz: true }
bar :: { prebar :: Int, prebaz :: Boolean }
bar = addPrefix (SProxy :: SProxy "pre") foo
Pursuit v0.9.9