Major Features
-
@gbaz has implemented generic deriving. This allows instances for the
Generic
class in thepurescript-generics
package to be derived by the compiler.A
Generic
instance can be derived as follows:data Example = Foo String | Bar Int | Baz Boolean derive instance genericExample :: Generic Example
purescript-generics
provides examples of usage, such asgShow
,gEq
andgCompare
, for printing, equality tests and comparison respectively.See #1138.
-
@garyb has implemented a test for orphan instances which will now cause the build to fail with an error. See #1247
Enhancements
- @mjgpy3 has added a warning when an input glob does not match any files.
Bug Fixes
- The
psc: <<loop>>
has been fixed. This was due to a bug in the error pretty printer. (@paf31) - An issue with unicode characters in string literals was fixed by @michaelficarra.
- Compiler errors are now pretty printed in
psc-publish
(@paf31) - Modules are no longer linted if they are not being rebuilt (@paf31)
- FFI bindings are now reloaded when changed, in PSCi (@paf31)
Other
- @phadej and @zudov have improved our CI process, so that PureScript now compiles against three versions of GHC and two LTS Stackage releases, as well as the nightly stackage releases.
- @phadej and @lukerandall have worked on supporting PureScript in Stackage.