Purescript is a purely-functional language that inspired by Haskell and Javascript or ECMAScript.
W3Resource is a website that teach and test ones ability regarding syntax, understanding of the fundamental of programming, and algorithms.
And in this repository contains my way of solving problems that provided by W3Resource titled C Basic Algorithm: Exercise, Practice, Solution using purely-funtional language purescript.
Before you can run Purescript, you need to make sure that you have nodejs installed on your local machine.
After that you can follow this instruction to run purescript.
For testing purpose you also need to install pulp and bower then you need to add all dependencies, to do so just follow these simple steps:
- Install
pulpusingnpm install -g pulp - Then install
bowerusingnpm install -g bower - After that you can install dependencies using
bower install - And finally you can build using
pulp buildor run the tests unit usingpulp test