purescript v0.7.3 Release Notes
Release Date: 2015-08-13 // over 8 years ago-
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.
- @gbaz has implemented generic deriving. This allows instances for the