packages feed

science-constants-0.2.0.2: science-constants.cabal

name: science-constants
version: 0.2.0.2
license: BSD3
license-File: LICENSE
author: Anton Vorontsov <anton@enomsg.org>
maintainer: Anton Vorontsov <anton@enomsg.org>
category: Science, Math, Physics, Chemistry
synopsis: Mathematical/physical/chemical constants
description:
  This package provides constants and conversion factors commonly used in
  mathematics and physical sciences. The motivation is to make it easier
  to use ghci for quick scientific calculations [without the need to
  search for the constant values over the internet.] To make it even
  friendlier, if multiple conventional names of a constant exist, they all
  are provided by this package. Wherever possible, TeX-style named
  constants are also provided.
  .
  This package utilizes untyped values (i.e. untyped in terms of
  @unittyped@, @dimensional@, and similar libraries); and unless otherwise
  specified, the constants are in SI units: mass in kilograms, length in
  meters, etc.
  .
  Due to floating-point calculation errors and to improve accuracy, the
  package internally uses exact values even in cases where constants can
  be mathematically derived one from another.
  .
  Most of the constants values were taken from the Fundamental Constants
  Data Center of the NIST Physical Measurement Laboratory (by Barry N.
  Taylor of the Data Center in close collaboration with Peter J. Mohr of
  the Physical Measurement Laboratory's Atomic Physics Division.)
  <http://physics.nist.gov/cuu/>

build-type: Simple
cabal-version: >=1.10

source-repository head
  type: git
  location: https://github.com/enomsg/science-constants

library
  ghc-options: -Wall
  default-language: Haskell2010
  build-depends: base >=4.6 && <5
  hs-source-dirs: src
  exposed-modules:
    Science.Constants
    Science.Constants.Short