Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- expandDevice :: Device -> Device
- expandCluster :: Cluster -> [Cluster]
- expandField :: Field -> [Field]
- expandRegister :: Register -> [Register]
Documentation
expandDevice :: Device -> Device Source #
Expand all dimensions and clusters
In order - Expand and eliminate each cluster - Expand fields of each register - Expand each register
For testing
expandCluster :: Cluster -> [Cluster] Source #
Expand Cluster
into multiple cluster if it has a Dimension
return just the cluster if not
expandField :: Field -> [Field] Source #
Expand Field
into multiple fields if it has a Dimension
return just the field if not
expandRegister :: Register -> [Register] Source #
Expand Register
into multiple registers if it has a Dimension
return just the register if not