Git Product home page Git Product logo

lj-macro-workspace's Introduction

macro-workshop-playground

Welcome to the LambdaJam macro workshop. Install leiningen (http://leiningen.org/) and clone this repository.

If everything's working properly, you should be able to run:

lein test

at your terminal within this repo and see the following output:

lein test user

Ran 0 tests containing 0 assertions.
0 failures, 0 errors.

Exercises

Empty function and macro shells for the exercises can be found in src/macro_workshop_playground/core.clj and commented out test cases for each can be found in test/macro_workshop_playground/core_test.clj

If you're new to Clojure development and/or leinengen open two terminals and in one run lein repl and save the other for running lein test.

To test-drive your work run uncomment a test case(s) for an exercise in test/macro_workshop_playground/core_test.clj and run lein test to see it fail, update the corresponding function or macro shell in src/macro_workshop_playground/core.clj and run lein test again to see if it passes.

You should also use the repl to experiment with Clojure functions and your macros - using macroexpand-1, for example. If you want to reload your source file from the repl call (use :reload-all 'macro-workshop-playground.core) or type quit and lein repl to restart it.

References

cheatsheet.pdf includes most of the basic clojure functions you'll need for the exercises.

handout.pdf contains the workshop content.

For a more in-depth resource, see the ClojureDocs quick reference.

License

Copyright © 2013 Atomic Object

Distributed under the Eclipse Public License, the same as Clojure.

lj-macro-workspace's People

Contributors

davelnewton avatar dcolthorp avatar micahalles avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.