Guest User

Untitled

a guest
Aug 13th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {-# LANGUAGE ConstraintKinds, TypeFamilies #-}
  2. type family Typ a b :: Constraint
  3. type instance Typ Int  b = Show b
  4. type instance Typ Bool b = Num b
Add Comment
Please, Sign In to add comment