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.159 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.158 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.157 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.156 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.155 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.154 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.153 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.152 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.151 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.150 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.149 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.148 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.147 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.146 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.145 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.144 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.143 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.142 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.141 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.140 tracks/clojure/exercises/say/src/example.clj