Skip to content

dunaj-project/dunaj-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A starter leiningen project for Dunaj

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages