Sha256: d15469b45ef6d4495736b035ac64d1817df4d378b06e84405b28c6a1dc13bf02

Contents?: true

Size: 249 Bytes

Versions: 5

Compression:

Stored size: 249 Bytes

Contents

(ns beer-song)

(defn verse
 "Returns the nth verse of the song."
 [num])

(defn sing
  "Given a start and an optional end, returns all verses in this interval. If
  end is not given, the whole song from start is sung."
  ([start])
  ([start end]))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/clojure/exercises/beer-song/src/beer_song.clj
trackler-2.2.1.179 tracks/clojure/exercises/beer-song/src/beer_song.clj
trackler-2.2.1.178 tracks/clojure/exercises/beer-song/src/beer_song.clj
trackler-2.2.1.177 tracks/clojure/exercises/beer-song/src/beer_song.clj
trackler-2.2.1.176 tracks/clojure/exercises/beer-song/src/beer_song.clj