Changes between Version 2 and Version 3 of FlexibleContexts
- Timestamp:
- 12/12/05 07:18:07 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FlexibleContexts
v2 v3 14 14 }}} 15 15 (Similar relaxation of `instance` declarations leads to UndecidableInstances.) 16 17 == References == 18 * [http://www.haskell.org/onlinereport/decls.html#sect4.1.3 Syntax of Class Assertions and Contexts] in the Haskell 98 Report 19 * [http://research.microsoft.com/Users/simonpj/Papers/type-class-design-space/ Type classes: exploring the design space] by Simon Peyton Jones, Mark Jones and Erik Meijer, Haskell Workshop 1997. 20 * [http://www.haskell.org/ghc/docs/latest/html/users_guide/type-extensions.html#type-restrictions Type signatures] in the GHC User's Guide 16 21 17 22 == Context reduction == … … 46 51 * is required by OverlappingInstances 47 52 48 == References ==49 * [http://www.haskell.org/onlinereport/decls.html#sect4.1.3 Syntax of Class Assertions and Contexts] in the Haskell 98 Report50 * [http://research.microsoft.com/Users/simonpj/Papers/type-class-design-space/ Type classes: exploring the design space] by Simon Peyton Jones, Mark Jones and Erik Meijer, Haskell Workshop 1997.51 * [http://www.haskell.org/ghc/docs/latest/html/users_guide/type-extensions.html#type-restrictions Type signatures] in the GHC User's Guide52 53 == Pros == 53 * Pro 54 * Pro 54 * useful with FlexibleInstances 55 55 56 56 == Cons == 57 * Co n58 * Con57 * Complicated context reduction story 58 * Deferred error checking
