A starter leiningen project for Dunaj
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/dunaj_starter
.gitignore
README.adoc
boot
boot.properties
build.boot
epl-v10.html
project.clj

README.adoc

dunaj-starter

A starter leiningen and boot project for Dunaj

Requirements

  • Oracle JDK 8

  • Leiningen or Boot (2.1.3 or later. Custom built Boot for linux is included until 2.1.3 is released)

  • Git

Usage

  1. Clone this repository with git clone https://github.com/dunaj-project/dunaj-starter.git

  2. Run REPL with lein repl or ./boot repl

  3. In REPL, eval (dunaj!) to start working with Dunaj

To use Dunaj in your sources, use :api ns declaration:

(ns dunaj-starter.core
  "See http://www.dunaj.org for documentation and examples."
  (:api dunaj))

(defn bar :- String
  [s :- String]
  (str (print "Hello %s!" s)))

(defn foo :- nil
  [s :- String]
  (println! (bar s))
  nil)

(foo "World")

See Dunaj homepage for documentation and examples.

License

Copyright © 2013, 2015, Jozef Wagner.

The use and distribution terms for this software are covered by the [Eclipse Public License 1.0](http://opensource.org/licenses/eclipse-1.0.php) which can be found in the file epl-v10.html at the root of this distribution.

By using this software in any fashion, you are agreeing to be bound by the terms of this license.

You must not remove this notice, or any other, from this software.