Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

add more compat cast stuff. update corelib.org

  • Loading branch information...
commit 82973af1b279796a8912732b6eaa83faec1f9ea7 1 parent 2000f54
@swannodette swannodette authored
Showing with 26 additions and 17 deletions.
  1. +17 −17 devnotes/corelib.org
  2. +9 −0 src/cljs/cljs/core.cljs
View
34 devnotes/corelib.org
@@ -109,14 +109,14 @@ does what?
* DONE bit-xor
* DONE boolean
* boolean-array
-* booleans
+* DONE booleans
* bound-fn
* bound-fn*
* bound?
* DONE butlast
* DONE byte
* byte-array
-* bytes
+* DONE bytes
* DONE case
* cast
* DONE char
@@ -124,15 +124,15 @@ does what?
* char-escape-string
* char-name-string
* char?
-* chars
-* chunk
-* chunk-append
-* chunk-buffer
-* chunk-cons
-* chunk-first
-* chunk-next
-* chunk-rest
-* chunked-seq?
+* DONE chars
+* DONE chunk
+* DONE chunk-append
+* DONE chunk-buffer
+* DONE chunk-cons
+* DONE chunk-first
+* DONE chunk-next
+* DONE chunk-rest
+* DONE chunked-seq?
* class
* class?
* clear-agent-errors
@@ -199,7 +199,7 @@ For macros only, uses clojure.core version
* DONE doto
* DONE double
* DONE double-array
-* TODO doubles
+* DONE doubles
* DONE drop
* DONE drop-last
* DONE drop-while
@@ -235,7 +235,7 @@ macro currently expands into extend call
* DONE float
* float-array
* float?
-* floats
+* DONE floats
* flush
* DONE fn
* DONE fn?
@@ -285,7 +285,7 @@ does what?
* DONE interpose
* DONE into
* DONE into-array
-* ints
+* DONE ints
* io!
* DONE isa?
does what?
@@ -316,7 +316,7 @@ does what?
* locking
* DONE long
* DONE long-array
-* TODO longs
+* DONE longs
* DONE loop
* macroexpand
* macroexpand-1
@@ -481,8 +481,8 @@ as macro
* DONE set?
* DONE short
* short-array
-* shorts
-* TODO shuffle
+* DONE shorts
+* DONE shuffle
* shutdown-agents
* slurp
* DONE some
View
9 src/cljs/cljs/core.cljs
@@ -1470,6 +1470,15 @@ reduces them without incurring seq initialization"
[x]
(fix x))
+(defn booleans [x] x)
+(defn bytes [x] x)
+(defn chars [x] x)
+(defn shorts [x] x)
+(defn ints [x] x)
+(defn floats [x] x)
+(defn doubles [x] x)
+(defn longs [x] x)
+
(defn js-mod
"Modulus of num and div with original javascript behavior. i.e. bug for negative numbers"
[n d]
Please sign in to comment.
Something went wrong with that request. Please try again.