Safe Haskell | None |
---|---|
Language | Haskell2010 |
- decimalsToDouble :: Double -> Double
- double :: Double -> Maybe Token
- integer :: Integer -> Maybe Token
- multiply :: Token -> Token -> Maybe Token
- isMultipliable :: Predicate
- isNatural :: Predicate
- isPositive :: Predicate
- divide :: Token -> Token -> Maybe Token
- notOkForAnyTime :: Token -> Maybe Token
- numberBetween :: Double -> Double -> PatternItem
- numberWith :: (NumeralData -> t) -> (t -> Bool) -> PatternItem
- numeralMapEL :: HashMap Text Int
- oneOf :: [Double] -> PatternItem
- parseDouble :: Text -> Maybe Double
- parseInt :: Text -> Maybe Int
- parseInteger :: Text -> Maybe Integer
- withGrain :: Int -> Token -> Maybe Token
- withMultipliable :: Token -> Maybe Token
- parseDecimal :: Bool -> Text -> Maybe Token
Documentation
decimalsToDouble :: Double -> Double Source #
77 -> .77 | Find the first power of ten larger that the actual number | Use it to divide x
numberBetween :: Double -> Double -> PatternItem Source #
numberWith :: (NumeralData -> t) -> (t -> Bool) -> PatternItem Source #
oneOf :: [Double] -> PatternItem Source #