jord-0.6.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

Classes for working with quantities.

Synopsis

Documentation

class Eq a => Quantity a where Source #

Something that can be added or subtracted.

Methods

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

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

zero :: a Source #

Instances
Quantity Length Source #

Add/Subtract Lengths.

Instance details

Defined in Data.Geo.Jord.Length

Quantity Duration Source #

Add/Subtract Durations.

Instance details

Defined in Data.Geo.Jord.Duration

Quantity Angle Source #

Add/Subtract Angles.

Instance details

Defined in Data.Geo.Jord.Angle

Quantity Speed Source #

Add/Subtract Speed.

Instance details

Defined in Data.Geo.Jord.Speed