th-cas: Compile-time CAS(Computer Algebra System)

[ library, math, mit, numeric ] [ Propose Tags ]

Compile-time CAS(Computer Algebra System)

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1.0
Change log
Dependencies base (>=4 && <5), template-haskell [details]
License MIT
Author Junji Hashimoto
Category Math, Numeric
Home page https://github/junjihashimoto/th-cas
Bug tracker
Source repo head: git clone
Uploaded by junjihashimoto at 2015-11-16T01:20:34Z
Distributions NixOS:0.1.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 917 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2015-11-16 [all 2 reports]

Readme for th-cas-0.1.0

[back to package description]

th-cas : Compile-time CAS(Computer Algebra System)

Hackage version Build Status

CAS(Computer Algebra System) operations like diff are done at compile-time. (integrate-function is under development.)


Write diff function var with Quotes of TemplateHaskell. diff makes a diffirential of the function at compile-time. So there is no overhead at execution-time.

A example is below.

import Algebra.CAS.TH

myfunc x = $(diff [|x*x+2*x+1|] [|x|])