4e48d14dc01d29b8a482d7d051106d098d235370
[matthijs/master-project/cλash.git] / clash / Data / Param / Integer.hs
1 module Data.Param.Integer
2   ( Signed(..)
3   , Unsigned(..)
4   , Index (..)
5   ) where
6
7 import Types
8
9 newtype (NaturalT nT) => Signed nT = Signed Integer
10
11 newtype (NaturalT nT) => Unsigned nT = Unsigned Integer
12
13 newtype (PositiveT upper) => Index upper = Index Integer