jord-0.1.0.0: Geographic position calculations on Great Circles

Copyright(c) 2018 Cedric Liegeois
LicenseBSD3
MaintainerCedric Liegeois <ofmooseandmen@yahoo.fr>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Data.Geo.Jord.Quantity

Description

Defines the class Quantity for something that can be added or subtracted.

Synopsis

Documentation

class Quantity a where Source #

Something that can be added or subtracted.

Minimal complete definition

add, sub

Methods

add :: a -> a -> a Source #

sub :: a -> a -> a Source #

Instances
Quantity NVector Source #

Add and subtract NVectors.

Instance details

Defined in Data.Geo.Jord.NVector

Quantity Length Source #

Add/Subtract Length.

Instance details

Defined in Data.Geo.Jord.Length

Quantity Angle Source #

Add/Subtract Angle.

Instance details

Defined in Data.Geo.Jord.Angle

Methods

add :: Angle -> Angle -> Angle Source #

sub :: Angle -> Angle -> Angle Source #