logo
首页技术栈工具库讨论
units

units

The units package provides a mechanism for compile-time dimensional analysis in Haskell programs. It defines an embedded type system based on units-of-measure. The units defined are fully extensible, and need not relate to physical properties. The package supports defining multiple inter-convertible units, such as Meter and Foot. When extracting a number from a dimensioned quantity, the desired unit must be specified, and the value is converted into that unit. If you are looking for specific systems of units (such as SI), please see the units-defs package. The Haddock documentation is insufficient for using the units package. Please see the README file, available from the package home page.
由 
bruceshi2021-01-14 收录
--
推荐
不推荐
更多信息
GitHub icongoldfirere/units82
HACKAGE
carbal install units
查看
标签
根据用户添加的标签生成
暂无标签