uom-plugin-0.3.0.0: Units of measure as a GHC typechecker plugin

Safe HaskellNone
LanguageHaskell2010

Data.UnitsOfMeasure.Plugin

Description

This module defines a typechecker plugin that solves equations involving units of measure. To use it, add

{-# OPTIONS_GHC -fplugin Data.UnitsOfMeasure.Plugin #-}

above the module header of your source files, or in the ghc-options field of your .cabal file. You do not need to import this module.

Synopsis

Documentation

plugin :: Plugin Source #

The plugin that GHC will load when this module is used with the -fplugin option.