Copyright | (C) Frank Staals |
---|---|
License | see the LICENSE file |
Maintainer | Frank Staals |
Safe Haskell | None |
Language | Haskell2010 |
Defines some generic geometric properties e.g. Dimensions, NumType, and Intersection types.
Synopsis
- module Data.Intersection
- type family Dimension t :: Nat
- type family NumType t :: *
Documentation
module Data.Intersection
type family Dimension t :: Nat Source #
A type family for types that are associated with a dimension. The dimension is the dimension of the geometry they are embedded in.
Instances
type family NumType t :: * Source #
A type family for types that have an associated numeric type.