技術書典7 Egison Journal vol.2「Egisonで項書き換え系」のレポジトリです
src-egi
: Egison implementation of Knuth-Bendix completionsrc-hs
: Haskell implementation of Knuth-Bendix completion
Requirement: Egison v4.0.0
$ cd src-egi
$ egison
> loadFile "completion.egi"
> showEquations (complete ["e", "*", "i"] axiomsOfGroup) ; takes about 5 minutes
$ cd src-hs
$ ghci
> :l Completion.hs
> complete ["e", "*", "i"] axiomsOfGroup
Part of the egison program was authored by Yuichi Nishiwaki.