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.119 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.118 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.117 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.116 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.115 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.114 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.113 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.111 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.110 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.109 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.108 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.107 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.106 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.105 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.104 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.103 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.102 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.101 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.100 tracks/clojure/exercises/say/src/example.clj
trackler-2.2.1.99 tracks/clojure/exercises/say/src/example.clj