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

Minimal complete definition

add, sub, zero

Methods

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

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

zero :: a Source #

Instances
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