Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
foldExpr :: (String -> t -> t) -> (t -> t -> t) -> (t -> t -> t) -> (t -> t -> t) -> (t -> t -> t) -> Expr t -> t Source #
evalFractionalExpr :: (Eq a, Fractional a, MonadError String m) => Expr a -> m a Source #
evalIntegralExpr :: (Integral a, MonadError String m) => Expr a -> m a Source #
showDouble :: Double -> ShowS Source #
summarizeRollsOver :: Num a => Int -> [a] -> [a] Source #
parseExpr :: (Integral a, UniformRange a) => String -> String -> Either ParseError (Expr (RVar [a])) Source #
diceLang :: TokenParser st Source #
expr :: (Integral a, UniformRange a) => CharParser Bool (Expr (RVar [a])) Source #
term :: (Integral a, UniformRange a) => CharParser Bool (Expr (RVar [a])) Source #
primExp :: (Integral a, UniformRange a) => CharParser Bool (Expr (RVar [a])) Source #
dieExp :: (Integral a, UniformRange a) => CharParser Bool (Expr (RVar [a])) Source #
positiveNumber :: CharParser st (String, Integer) Source #