dimensional-0.13.0.2: Statically checked physical dimensions.

Copyright | Copyright (C) 2006-2013 Bjorn Buckwalter
License | BSD3
Maintainer | bjorn.buckwalter@gmail.com
Stability | Experimental
Portability | GHC only?
Safe Haskell | None
Language | Haskell98

Numeric.Units.Dimensional.Extensible

Description

Please refer to the literate Haskell code for documentation of both API and implementation.

# Documentation

data DExt a n d Source

Instances

(Div n x n', Root d x d') => Root (DExt a n d) x (DExt a n' d') Source |
(Mul n x n', Pow d x d') => Pow (DExt a n d) x (DExt a n' d') Source |
(Sum n'' n' n, Div d d' d'', DropZero (DExt a n'' d'') d''') => Div (DExt a n d) (DExt a n' d') d''' Source |
(Sum n n' n'', Mul d d' d'', DropZero (DExt a n'' d'') d''') => Mul (DExt a n d) (DExt a n' d') d''' Source |
Div d (Dim l m t i th n j) d' => Div (DExt a x d) (Dim l m t i th n j) (DExt a x d') Source |
Mul d (Dim l m t i th n j) d' => Mul (DExt a x d) (Dim l m t i th n j) (DExt a x d') Source |
(Div (Dim l m t i th n j) d d', Negate x x') => Div (Dim l m t i th n j) (DExt a x d) (DExt a x' d') Source |
Mul (Dim l m t i th n j) d d' => Mul (Dim l m t i th n j) (DExt a x d) (DExt a x d') Source |

showDExt :: forall a n d. (NumType n, Show d) => String -> DExt a n d -> String Source