A Purely Functional Computer Algebra System Embedded in Haskell
A Purely Functional Computer Algebra System Embedded in Haskell
复制标题
嵌入 Haskell 的纯函数式计算机代数系统
DOI:
10.1007/978-3-319-99639-4_20
复制
发表时间:
2018
期刊:
影响因子:
--
通讯作者:
Ishii Hiromi
中科院分区:
文献类型:
--
作者:
Frias;L.;Frias Liesbeth;Frias Liesbeth;Frias Liesbeth;Frias Liesbeth;Frias L & MacIntosh AJJ.;MacIntosh AJJ & Frias L;Ishii Hiromi
We demonstrate how methods inFunctional Programmingcan be used to implement a computer algebra system. As a proof-of-concept, we present thecomputational-algebrapackage. It is a computer algebra system implemented as an embedded domain-specific language inHaskell, a purely functional programming language. Utilising methods in functional programming and prominent features of Haskell, this library achieves safety, composability, and correctness at the same time. To demonstrate the advantages of our approach, we have implemented advanced Gröbner basis algorithms, such as Faugère’sand, in a composable way.