projects
/
matthijs
/
master-project
/
cλash.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add higherordercpu and matrix multiplication examples
[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