packages feed

aviation-units-0.0.2: src/Data/Aviation/Units/USGallons.hs

{-# LANGUAGE NoImplicitPrelude #-}
{-# LANGUAGE FlexibleInstances #-}

module Data.Aviation.Units.USGallons(
  USGallons(usgallons)
) where

import Control.Category(id)
import Control.Lens(Iso')
import Prelude(Rational)

class USGallons a where
  usgallons ::
    Iso' Rational a

instance USGallons Rational where
  usgallons =
    id