Measure-0.0.2: A library for units of measurement

Data.Measure.ConvertDouble

Description

A measurement that is represented by a floating-point value that can be converted by differing units.

Documentation

class ConvertDouble u v | u -> v whereSource

Methods

(..>)Source

Arguments

:: Double 
-> u 
-> v

Convert to a unit of measurement.

(<..)Source

Arguments

:: v 
-> u 
-> Double

Convert from a unit of measurement.