https://github.com/optimizely/little-clojurer-public
https://github.com/optimizely/little-clojurer-public
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/optimizely/little-clojurer-public
- Owner: optimizely
- License: mit
- Archived: true
- Created: 2014-10-31T18:59:57.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-25T22:16:12.000Z (over 10 years ago)
- Last Synced: 2025-03-01T12:17:19.315Z (about 1 year ago)
- Language: Shell
- Size: 141 KB
- Stars: 1
- Watchers: 157
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# How to use this repo
Checkout a branch with your name:
```
git checkout [username]
```
Run tests with the `lein` command:
```
./lein test
```
They will fail. Your task is to make them pass.
Function definitions are located under `src/little_clojurer/`. Tests are
located under `test/little_clojurer/`.
We will create a new file in these folders for each chapter of the Little Schemer.
# Chapter 1
For this chapter we will need to define the functions `cdr`, `null?` and `atom?`.
Note how we implment `car` by merely mapping it to `first`. You should be able to
find Clojure primitive functions that map to `cdr` and `null?`. `atom?` is only
slightly more complicated.
# Merging to Master
Send a PR to Mustafa before merging to master. Feel free to push to your branch anytime.
## Leiningen
This repo uses [leiningen](http://leiningen.org/) to manage dependencies and the build process.
Leiningen is packaged with this repo under the file `lein` in the root directory. It's pretty cool.