| Copyright | (c) Erich Gut |
|---|---|
| License | BSD3 |
| Maintainer | zerich.gut@gmail.com |
| Safe Haskell | None |
| Language | Haskell2010 |
OAlg.Entity.Definition
Description
definition of entities. All algebraic structures defined here are based on them. They are showable, distinguishable, validable and typeable.
Synopsis
- type Entity a = (Object a, Eq a, Typeable a)
- type Object x = (Show x, Validable x)
- data Ent
- data EntOrd
- type Entity1 (a :: Type -> Type) = (Show1 a, Eq1 a, Validable1 a, Typeable a)
- type Entity2 (h :: Type -> Type -> Type) = (Show2 h, Eq2 h, Validable2 h, Typeable h)
- data EntEmpty
- fromEmpty :: EntEmpty -> x
- data EntEmpty2 a b
- fromEmpty2 :: EntEmpty2 a b -> x
Entity
indexing Entitys.
Instances
| Transformable Abl Ent Source # | |
| Transformable Add Ent Source # | |
| Transformable Dst Ent Source # | |
| Transformable Fbr Ent Source # | |
| Transformable FbrOrt Ent Source # | |
| Transformable Mlt Ent Source # | |
| Transformable Ort Ent Source # | |
| Transformable (Alg k) Ent Source # | |
| Transformable (Vec k) Ent Source # | |
| type Structure Ent x Source # | |
Defined in OAlg.Entity.Definition | |
indexing orderd entities.
Instances
| TransformableG [] EntOrd EntOrd Source # | |
| ApplicativeG Set (Map EntOrd) (->) Source # | |
| FunctorialG Set (Map EntOrd) (->) Source # | |
Defined in OAlg.Entity.Sequence.Set | |
| type Structure EntOrd x Source # | |
Defined in OAlg.Entity.Definition | |
Entity1
type Entity1 (a :: Type -> Type) = (Show1 a, Eq1 a, Validable1 a, Typeable a) Source #
entity for parameterized types.
Entity2
type Entity2 (h :: Type -> Type -> Type) = (Show2 h, Eq2 h, Validable2 h, Typeable h) Source #
entity for two parameterized types.
Basic Entities
Empty
the empty entity.
the empty entity2.
fromEmpty2 :: EntEmpty2 a b -> x Source #
the empty function.