new files
This commit is contained in:
parent
3af7344581
commit
86c034bb8b
1364 changed files with 21352 additions and 0 deletions
|
|
@ -0,0 +1,7 @@
|
|||
(defn numeric? [s]
|
||||
(if-let [s (seq s)]
|
||||
(let [s (if (= (first s) \-) (next s) s)
|
||||
s (drop-while #(Character/isDigit %) s)
|
||||
s (if (= (first s) \.) (next s) s)
|
||||
s (drop-while #(Character/isDigit %) s)]
|
||||
(empty? s))))
|
||||
|
|
@ -0,0 +1 @@
|
|||
(numeric? [\1 \2 \3]) ;; yields logical true
|
||||
Loading…
Add table
Add a link
Reference in a new issue