This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- * Introducing type variables in class constraint, using ConstraintKinds. | |
-- * (Using ghc-7.6.3) | |
{-# LANGUAGE ConstraintKinds, GADTs, TypeFamilies #-} | |
module ConstraintCategory where | |
import GHC.Exts (Constraint) | |
-- Version of Category that can put constraints on the i/o of the category. |