Implementation of chebyshev polynomial representation of functions
Install the stack
build tool, then:
stack build
and then one of:
stack run
stack exec [executable name] -- [command line arguments to executable]
To load the project into an interactive environment, one of:
stack ghci
stack ghci --no-load --ghci-options=[command line arguments to ghci]
Using Homebrew on macOS:
brew install llvm-hs/llvm/llvm-8
For Debian/Ubuntu based Linux distributions, the LLVM.org website provides binary distribution packages. Check apt.llvm.org for instructions for adding the correct package database for your OS version; for example:
echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial main" | sudo tee -a /etc/apt/sources.list
echo "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
And then:
apt-get install llvm-8-dev