Copyright | (c) Eric Mertens 2021 |
---|---|
License | ISC |
Maintainer | emertens@gmail.com |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
type family FromNatural (n :: Natural) :: Nat where ... Source #
Covert from GHC type literal syntax to an inductively defined natural
FromNatural 0 = 'Z | |
FromNatural n = 'S (FromNatural (n - 1)) |