github purescript/purescript v0.6.5

latest releases: v0.15.16-1, v0.15.16-0, v0.15.15...
9 years ago

Enhancements

  • Lightweight record constructors are now supported (@garyb):

    person :: Maybe String -> Maybe Number -> Maybe Address -> Maybe Person
    person = { name: _, age: _, location: _ } <$> name <*> age <*> location
  • Field accessor sections are now supported (@garyb):

    getPersonName :: Maybe String
    getPersonName = (.name) <$> getPersonInfo
  • Syntactic sugar has been introduced for object update functions:

    updateName :: Person -> String -> Person
    updateName person = person { name = _ }
  • Operator sections are now supported (@garyb)

Bug Fixes

  • Some command line options were fixed in psc-make (@paulyoung)
  • Some module import errors were fixed (@garyb)
  • A typechecker bug related to row synonyms was fixed (#795, @paf31)

Don't miss a new purescript release

NewReleases is sending notifications on new releases.