egison-4.2.1: Programming language with non-linear pattern-matching against non-free data
LicenseMIT
Safe HaskellNone
LanguageGHC2021

Language.Egison.Math

Description

This module provides the interface of Egison's computer algebra system.

Documentation

newtype PolyExpr Source #

Constructors

Plus [TermExpr] 

Instances

Instances details
Show PolyExpr Source # 
Instance details

Defined in Language.Egison.Math.Expr

Printable PolyExpr Source # 
Instance details

Defined in Language.Egison.Math.Expr

ToMathExpr PolyExpr Source # 
Instance details

Defined in Language.Egison.PrettyMath.AST

Eq PolyExpr Source # 
Instance details

Defined in Language.Egison.Math.Expr

data TermExpr Source #

Constructors

Term Integer Monomial 

Instances

Instances details
Show TermExpr Source # 
Instance details

Defined in Language.Egison.Math.Expr

Printable TermExpr Source # 
Instance details

Defined in Language.Egison.Math.Expr

ToMathExpr TermExpr Source # 
Instance details

Defined in Language.Egison.PrettyMath.AST

Eq TermExpr Source # 
Instance details

Defined in Language.Egison.Math.Expr

Matcher TermM TermExpr Source # 
Instance details

Defined in Language.Egison.Math.Expr

class Printable a where Source #

Methods

isAtom :: a -> Bool Source #

pretty :: a -> String Source #