Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Database.Postgis.Trivial.Cast
Synopsis
- type family Cast p
- class (Typeable p, PointND (Cast p)) => Castable p where
- toPointND :: p -> Cast p
- fromPointND :: Cast p -> p
- class (Castable p, Traversable t, Typeable t) => Trans t p where
- class (Traversable t, Typeable t) => Repl t b where
- class Traversable t => GeoChain t where
Documentation
'Type cast' type family
Instances
type Cast P2DS Source # | |
Defined in Database.Postgis.Trivial.Storable.PointND | |
type Cast P3DMS Source # | |
Defined in Database.Postgis.Trivial.Storable.PointND | |
type Cast P3DZS Source # | |
Defined in Database.Postgis.Trivial.Storable.PointND | |
type Cast P4DS Source # | |
Defined in Database.Postgis.Trivial.Storable.PointND | |
type Cast P2D Source # | |
Defined in Database.Postgis.Trivial.Traversable.PointND | |
type Cast P3DM Source # | |
Defined in Database.Postgis.Trivial.Traversable.PointND | |
type Cast P3DZ Source # | |
Defined in Database.Postgis.Trivial.Traversable.PointND | |
type Cast P4D Source # | |
Defined in Database.Postgis.Trivial.Traversable.PointND | |
type Cast P2DU Source # | |
Defined in Database.Postgis.Trivial.Unboxed.PointND | |
type Cast P3DMU Source # | |
Defined in Database.Postgis.Trivial.Unboxed.PointND | |
type Cast P3DZU Source # | |
Defined in Database.Postgis.Trivial.Unboxed.PointND | |
type Cast P4DU Source # | |
Defined in Database.Postgis.Trivial.Unboxed.PointND |
class (Typeable p, PointND (Cast p)) => Castable p where Source #
'Type cast' procedures
class (Castable p, Traversable t, Typeable t) => Trans t p where Source #
Translator of Traversables
Minimal complete definition
Nothing
class (Traversable t, Typeable t) => Repl t b where Source #
Replication procedure for different Traversables
class Traversable t => GeoChain t where Source #
Point chain is a base structural component of geometries
Methods
putChain :: PointND a => Putter (t a) Source #
getChain :: (Traversable t, PointND a) => HeaderGetter (t a) Source #