Clojure

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers. →

 Clojure

Apresentando Clojure hoje no encontro do GuruPI

Samuel Flores

November 29, 2014

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

44 slides
  1. (doc +) clojure.core/+ ([] [x] [x y] [x y &

    more]) Returns the sum of nums. (+) returns 0. Does not auto-promote longs, will throw on overflow. See also: +'
  2. def fn #() if do let quote ‘() var #’()

    loop recur throw try formas especiais
  3. alias and BEGIN begin break case class def defined? do

    else elsif END end ensure for if in module next not or redo rescue retry return self super then undef unless until when while yield Ruby
  4. assert break class const continue default do double else enum

    extends final finally float for goto if implements import instanceof int interface long native new package private protected public return short static strictfp super switch synchronized this throw throws transient try void volatile while Java
  5. (def l '(1 2 3)) (def v [1 2 3])

    (def m {:a 1 :b 2}) (def s #{:x :y :z}) data types

More Decks by Samuel Flores

Other Decks in Programming