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)