{-# LANGUAGE NoImplicitPrelude #-} {-# LANGUAGE FlexibleInstances #-} module Data.Aviation.Units.Centimetres( Centimetres(centimetres) ) where import Control.Category(id) import Control.Lens(Iso') import Prelude(Rational) class Centimetres a where centimetres :: Iso' Rational a instance Centimetres Rational where centimetres :: p Rational (f Rational) -> p Rational (f Rational) centimetres = p Rational (f Rational) -> p Rational (f Rational) forall k (cat :: k -> k -> *) (a :: k). Category cat => cat a a id