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 the purescript-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 as gShow, gEq and gCompare, 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.