no-role-annots

Role annotations without -XRoleAnnotations https://github.com/goldfirere/no-role-annots

Latest on Hackage:1.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed and maintained by Richard Eisenberg

no-role-annots

Build Status

This package is intended to ease the transition from GHC 7.6.3- to GHC 7.8+ by providing a backward-compatible role annotation syntax. The module Language.Haskell.RoleAnnots exports backward-compatible declarations usable to assign stricter roles to declarations. Proper role annotations are preferred, but these work, too.

The module Language.Haskell.RoleAnnots.Check provides a way to check that a datatype has a set of desired roles. This might be suitable for use in a testsuite.

See the module documentation for details.

Changes

no-role-annots changelog

Version 1.1

  • Update documentation to reflect role inference in datatype contexts.

  • Deprecate roleAnnot.

Version 1.0

  • Initial release.
Used by 1 package:
comments powered byDisqus