Copyright | (c) Matthew Naylor 2021 |
---|---|
License | MIT |
Maintainer | mattfn@gmail.com |
Stability | experimental |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Blarney.TypeFamilies
Description
This module defines commonly used type families, not available in base.
Documentation
type family Min (x :: Nat) (y :: Nat) :: Nat where ... Source #
Type function for computing the min of two type-level nats
type family Max (a :: Nat) (b :: Nat) :: Nat where ... Source #
Type function for computing the max of two type-level nats