👀
[😀, 😄, 😂, 😍] -> [ 😺, 😸, 😹, 😻 ]
👀
Learning functional programming has many steep learning curves. One of them is learning to see list transformations as declarative instead of imperative.
This application visualizes some of the fundamental higher order functions used to transform lists.
-
map
-
filter
-
reduce
The app is written in Elm and visualizes the operations using JavaScript syntax.
To get your machine and this code friendly and acquainted:
Clone this repository using your preferred method and cd
into it. If you're not sure, I
recommend the SSH route:
git clone [email protected]:tmikeschu/see-fp.git
npm i -g create-elm-app gh-pages
cd see-fp
elm-app start
First things first: get a dopamine hit from a verdant test suite! Run the tests with:
elm-test
Then read the tests to get oriented with the application.
What fun is setting up and running tests if you can't do some of your own stuff?
Local server:
elm-app start
Create production build:
elm-app build
Deploy to github pages:
Let Travis handle it!
Languages: Elm
DevOps: Github Pages
Tools:
CI: Travis
Elm Style!
Interested in helping out?
-
Reach out to me and say hello! I'd love to hear about what you're interested in.
-
Once we've confirmed what you can work on, fork this repo and work on your masterpiece.
-
Once your work is done, squash your work to a single commit, and open a PR from your feature branch to this repo's master branch.