-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Chemistry -- @package radium @version 0.4 -- | Module Radium.Element Copyright : Copyright (C) 2014 Krzysztof Langner -- License : BSD3 -- -- Maintainer : Krzysztof Langner klangner@gmail.com Stability : -- alpha Portability : portable -- -- This module contains Periodic Table with information about all known -- elements. module Radium.Element data Element atomicNumber :: Element -> Int atomWeight :: Element -> Double electroNegativity :: Element -> Double ionizationEnergy :: Element -> Double -- | Show number of electrons in each shell For elements which are -- exception to Aufbau principle configuration is given manually Is it -- possible to calculate it for all elements based only on atom -- properties? -- --
-- let e = element 8 -- shellElectrons e == [2, 6] --electronConfig :: Element -> [Int] -- | Find element by its atomic number -- --
-- atomicNumber (element 8) == 8 --element :: Int -> Element -- | Find element by its symbol -- --
-- atomicNumber (elementBySymbol "O") == 8 --elementBySymbol :: String -> Element -- | Number of valance electrons -- --
-- let e = element 8 -- valanceElectrons e == 6 --valanceElectrons :: Element -> Int -- | Number of covalent bounds in element -- --
-- let e = element 8 -- covalentBounds e == 2 --covalentBounds :: Element -> Int instance Eq Element instance Show Element