I was able to build PureScript to run on a Raspberry Pi 3B. Here is how I was able to install the result of the build on a fresh install of Raspbian Stretch:
npm
$HOME/.local/bin
if you don’t already have one.$HOME/.profile
to add these lines at line 18:
if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi
purs
.purs
file to $HOME/.local/bin
sudo npm install -g pulp bower
After these steps, I was able to:
pulp init
, pulp build
, pulp run
on a minimal project.pulp psci
and define simple variables and functions.bower install purescript-math --save
):
import Math pythagoras :: Num -> Num -> Num pythagoras a b = sqrt(a * a + b * b)
You can contact me by email, but this is more of a proof-of-concept at the moment than a full-time project, so I may not be able to assist you with fixing bugs.