jord-0.2.0.0: Geographical Position Calculations

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, sub :: a -> a -> a Source #

Instances

Quantity NVector Source #

Add and subtract NVectors.

Quantity Length Source #

Add/Subtract Length.

Quantity Angle Source #

Add/Subtract Angle.

Methods

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

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