Portability | portable |
---|---|
Stability | alpha |
Maintainer | Krzysztof Langner <klangner@gmail.com> |
Safe Haskell | Safe-Inferred |
This module contains Periodic Table with information about all known elements.
- data Element
- atomicNumber :: Element -> Int
- atomWeight :: Element -> Double
- electroNegativity :: Element -> Double
- ionizationEnergy :: Element -> Double
- electronConfig :: Element -> [Int]
- element :: Int -> Element
- elementBySymbol :: String -> Element
- valanceElectrons :: Element -> Int
- covalentBounds :: Element -> Int
Documentation
atomicNumber :: Element -> IntSource
atomWeight :: Element -> DoubleSource
electroNegativity :: Element -> DoubleSource
ionizationEnergy :: Element -> DoubleSource
electronConfig :: Element -> [Int]Source
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]
elementBySymbol :: String -> ElementSource
Find element by its symbol
atomicNumber (elementBySymbol "O") == 8
valanceElectrons :: Element -> IntSource
Number of valance electrons
let e = element 8 valanceElectrons e == 6
covalentBounds :: Element -> IntSource
Number of covalent bounds in element
let e = element 8 covalentBounds e == 2