GithubHelp home page GithubHelp logo

ruddy22 / mastering-clojure Goto Github PK

View Code? Open in Web Editor NEW

This project forked from packtpublishing/mastering-clojure

0.0 2.0 0.0 697 KB

Code Repository for Mastering Clojure, published by Packt

License: MIT License

Clojure 95.69% CSS 1.27% HTML 3.04%

mastering-clojure's Introduction

Mastering Clojure

This is the code repository for Mastering Clojure, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

Instructions and Navigation

All of the code is organized into folders. Each folder starts with c followed by the chapter number. For example, src/m_clj/c1/recur.clj is a file from chapter 1, and spec/m_clj/c10/speclj.clj is one from chapter 10.

Similarly, each chapter will have many namespaces. Each namespace starts with m-clj.c followed by the chapter number. For example, m-clj.c1.recur is a namespace from chapter 1.

Run the lein repl command and load the namespaces as follows.

$ lein repl
m-clj.core=> (load-file "src/m_clj/c1/recur.clj")
#'m-clj.c1-recur/factorial-ctco
m-clj.core=> (in-ns 'm-clj.c1.recur)
#<Namespace m-clj.c1-recur>
m-clj.c1-recur=> (fibo 10)

All of the ClojureScript examples can be run through web pages in the resources/html/ folder. Run lein cljsbuild once before you open these pages in a browser.

Related Clojure books

mastering-clojure's People

Contributors

tans30 avatar darth10 avatar vishalmewadapackt avatar

Watchers

James Cloos avatar Aleksey Petrov 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.