Safe Haskell | None |
---|---|
Language | Haskell98 |
Data.Random.Dice
Documentation
foldExpr :: (String -> t -> t1) -> (t1 -> t1 -> t1) -> (t1 -> t1 -> t1) -> (t1 -> t1 -> t1) -> (t1 -> t1 -> t1) -> Expr t -> t1 Source
evalExprWithDiv :: (Num a, Monad m) => (a -> a -> m a) -> Expr a -> m a Source
evalFractionalExpr :: (Eq a, Fractional a, Monad m) => Expr a -> m a Source
evalIntegralExpr :: (Integral a, Monad m) => Expr a -> m a Source
fmtSimpleRational :: Expr [Integer] -> String Source
showDouble :: Double -> ShowS Source
summarizeRollsOver :: Num a => Int -> [a] -> [a] Source
diceLang :: TokenParser st Source
number :: CharParser st (String, Integer) Source
positiveNumber :: CharParser st (String, Integer) Source