-- | -- Module: Data.Geo.Jord.Quantity -- Copyright: (c) 2018 Cedric Liegeois -- License: BSD3 -- Maintainer: Cedric Liegeois -- Stability: experimental -- Portability: portable -- -- Defines the class 'Quantity' for something that can be added or subtracted. -- module Data.Geo.Jord.Quantity ( Quantity(..) ) where -- | Something that can be added or subtracted. class Quantity a where add, sub :: a -> a -> a