Sha256: fe3349d6be0e2fd2f9d7626afb0cd86b2851bd4f24c936e371eaf0de8b2edee3

Contents?: true

Size: 268 Bytes

Versions: 101

Compression:

Stored size: 268 Bytes

Contents

(ns say
    (:require [clojure.pprint :as pp]
              [clojure.string :as s]))

(defn number [input]
  (if
    (or (< input 0) (> input 999999999999))
    (throw (IllegalArgumentException. "Out of range"))
    (s/replace (pp/cl-format nil "~R" input) #"," "")))

Version data entries

101 entries across 101 versions & 1 rubygems

Version Path
trackler-2.2.1.180 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.179 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.178 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.177 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.176 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.175 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.174 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.173 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.172 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.171 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.170 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.169 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.167 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.166 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.165 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.164 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.163 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.162 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.161 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.160 tracks/clojure/exercises/say/src/example.clj