Skip to content

Instantly share code, notes, and snippets.

@selfsame
Created October 12, 2015 11:03
Show Gist options
  • Select an option

  • Save selfsame/289b143de59ad2a4471c to your computer and use it in GitHub Desktop.

Select an option

Save selfsame/289b143de59ad2a4471c to your computer and use it in GitHub Desktop.
(require 'cljs.analyzer)
nil
cljs.user=> (dir cljs.analyzer)
*allow-redef*
*analyze-deps*
*cljs-dep-set*
*cljs-file*
*cljs-macros-is-classpath*
*cljs-macros-path*
*cljs-ns*
*cljs-static-fns*
*cljs-warning-handlers*
*cljs-warnings*
*file-defs*
*load-macros*
*load-tests*
*loop-lets*
*macro-infer*
*passes*
*recur-frames*
*reload-macros*
*verbose*
->t_cljs$analyzer25778
-cljs-macros-loaded
ANY_SYM
BOOLEAN_OR_SEQ
BOOLEAN_SYM
CLJS_CORE_MACROS_SYM
CLJS_CORE_SYM
CLJ_NIL_SYM
DOT_SYM
IGNORE_SYM
JS_STAR_SYM
NEW_SYM
NOT_NATIVE
NUMBER_SYM
NUMERIC_SET
SENTINEL
STRING_SYM
analysis-error?
analyze
analyze*
analyze-deps
analyze-do-statements
analyze-do-statements*
analyze-dot
analyze-file
analyze-fn-method-body
analyze-fn-method-param
analyze-fn-methods-pass2
analyze-fn-methods-pass2*
analyze-form
analyze-js-star
analyze-js-star*
analyze-js-value
analyze-keyword
analyze-let
analyze-let-binding-init
analyze-let-bindings
analyze-let-bindings*
analyze-let-body
analyze-let-body*
analyze-list
analyze-map
analyze-seq
analyze-seq*
analyze-seq*-wrap
analyze-set
analyze-symbol
analyze-vector
analyze-wrap-meta
ast?
basic-validate-ns-spec
build-dot-form
check-use-macros
check-uses
cljs-map?
cljs-seq?
cljs-set?
cljs-vector?
confirm-bindings
confirm-ns
confirm-var-exist-warning
confirm-var-exists
confirm-var-exists-throw
core-name?
default-namespaces
default-warning-handler
desugar-ns-specs
elide-reader-meta
empty-env
error
error-message
excluded?
find-def-clash
find-matching-method
fn-name-var
foreign-dep?
gen-constant-id
get-col
get-expander
get-expander*
get-expander-ns
get-js-tag
get-let-tag
get-line
get-namespace
get-tag
gets
implicit-import?
implicit-nses
infer-if
infer-invoke
infer-tag
infer-type
intern-macros
js-reserved
js-star-interp
js-star-seg
loaded-js-ns?
macro-autoload-ns?
macro-ns-name
macroexpand-1
macroexpand-1*
message
munge-path
namespaces
ns->relpath
ns-dependents
numeric-type?
parse
parse-import-spec
parse-invoke
parse-invoke*
parse-ns
parse-ns-error-msg
parse-ns-excludes
parse-require-spec
parse-type
resolve-existing-var
resolve-macro-ns-alias
resolve-macro-var
resolve-ns-alias
resolve-symbol
resolve-var
source-info
specials
t_cljs$analyzer25778
topo-sort
type?
use->require
used?
warning
nil
@selfsame

Copy link
Copy Markdown
Author

cljs.user=> (dir cljs.core)
*
1
*2
*3
*assert

clojurescript-version
e
*flush-on-newline

loaded-libs
main-cli-fn
ns
out
print-dup
print-err-fn
print-fn
print-length
print-level
print-meta
print-newline
print-readably
target
unchecked-if

+

->
->>
->ArrayChunk
->ArrayIter
->ArrayList
->ArrayNode
->ArrayNodeIterator
->ArrayNodeSeq
->Atom
->BitmapIndexedNode
->BlackNode
->Box
->ChunkBuffer
->ChunkedCons
->ChunkedSeq
->Cons
->Delay
->ES6EntriesIterator
->ES6Iterator
->ES6IteratorSeq
->ES6SetEntriesIterator
->Eduction
->EmptyList
->HashCollisionNode
->HashMapIter
->HashSetIter
->IndexedSeq
->IndexedSeqIterator
->KeySeq
->Keyword
->LazySeq
->LazyTransformer
->List
->MetaFn
->MultiFn
->MultiStepper
->Namespace
->NeverEquiv
->NodeIterator
->NodeSeq
->ObjMap
->PersistentArrayMap
->PersistentArrayMapIterator
->PersistentArrayMapSeq
->PersistentHashMap
->PersistentHashSet
->PersistentQueue
->PersistentQueueIter
->PersistentQueueSeq
->PersistentTreeMap
->PersistentTreeMapSeq
->PersistentTreeSet
->PersistentVector
->RSeq
->Range
->RangeIterator
->RangedIterator
->RecordIter
->RedNode
->Reduced
->SeqIter
->Stepper
->StringBufferWriter
->StringIter
->Subvec
->Symbol
->TaggedLiteral
->TransientArrayMap
->TransientHashMap
->TransientHashSet
->TransientVector
->UUID
->ValSeq
->Var
->VectorNode
->Volatile
->t_cljs$core17827
->t_cljs$core17830
-add-method
-add-watch
-as-transient
-assoc
-assoc!
-assoc-n
-assoc-n!
-chunked-first
-chunked-next
-chunked-rest
-clj->js
-clone
-comparator
-compare
-conj
-conj!
-contains-key?
-count
-default-dispatch-val
-deref
-deref-with-timeout
-disjoin
-disjoin!
-dispatch-fn
-dissoc
-dissoc!
-drop-first
-empty
-entry-key
-equiv
-first
-flush
-get-method
-hash
-invoke
-iterator
-js->clj
-key
-key->js
-kv-reduce
-lookup
-meta
-methods
-name
-namespace
-next
-notify-watches
-nth
-peek
-persistent!
-pop
-pop!
-pr-writer
-prefer-method
-prefers
-realized?
-reduce
-remove-method
-remove-watch
-reset
-reset!
-rest
-rseq
-seq
-sorted-seq
-sorted-seq-from
-swap!
-val
-vreset!
-with-meta
-write
..
/
<

<=

ASeq
ArrayChunk
ArrayIter
ArrayList
ArrayNode
ArrayNodeIterator
ArrayNodeSeq
Atom
BitmapIndexedNode
BlackNode
Box
CHAR_MAP
ChunkBuffer
ChunkedCons
ChunkedSeq
Cons
DEMUNGE_MAP
DEMUNGE_PATTERN
Delay
ES6EntriesIterator
ES6Iterator
ES6IteratorSeq
ES6SetEntriesIterator
Eduction
EmptyList
ExceptionInfo
Fn
HashCollisionNode
HashMapIter
HashSetIter
IAssociative
IAtom
IChunk
IChunkedNext
IChunkedSeq
ICloneable
ICollection
IComparable
ICounted
IDeref
IDerefWithTimeout
IEditableCollection
IEmptyableCollection
IEncodeClojure
IEncodeJS
IEquiv
IFn
IHash
IIndexed
IIterable
IKVReduce
IList
ILookup
IMap
IMapEntry
IMeta
IMultiFn
INIT
INamed
INext
IPending
IPrintWithWriter
IRecord
IReduce
IReset
IReversible
ISeq
ISeqable
ISequential
ISet
ISorted
IStack
ISwap
ITER_SYMBOL
ITransientAssociative
ITransientCollection
ITransientMap
ITransientSet
ITransientVector
IVector
IVolatile
IWatchable
IWithMeta
IWriter
IndexedSeq
IndexedSeqIterator
KeySeq
Keyword
LazySeq
LazyTransformer
List
MetaFn
MultiFn
MultiStepper
NS_CACHE
Namespace
NeverEquiv
NodeIterator
NodeSeq
ObjMap
PersistentArrayMap
PersistentArrayMapIterator
PersistentArrayMapSeq
PersistentHashMap
PersistentHashSet
PersistentQueue
PersistentQueueIter
PersistentQueueSeq
PersistentTreeMap
PersistentTreeMapSeq
PersistentTreeSet
PersistentVector
RSeq
Range
RangeIterator
RangedIterator
RecordIter
RedNode
Reduced
START
SeqIter
Stepper
StringBufferWriter
StringIter
Subvec
Symbol
TaggedLiteral
TransientArrayMap
TransientHashMap
TransientHashSet
TransientVector
UUID
ValSeq
Var
VectorNode
Volatile
aclone
add-to-string-hash-cache
add-watch
aget
alength
alter-meta!
amap
ancestors
and
apply
apply-to
areduce
array
array-chunk
array-index-of
array-iter
array-list
array-map
array-seq
array?
as->
aset
assert
assoc
assoc!
assoc-in
associative?
atom
binding
bit-and
bit-and-not
bit-clear
bit-count
bit-flip
bit-not
bit-or
bit-set
bit-shift-left
bit-shift-right
bit-shift-right-zero-fill
bit-test
bit-xor
boolean
booleans
butlast
byte
bytes
caching-hash
case
cat
char
char?
chars
chunk
chunk-append
chunk-buffer
chunk-cons
chunk-first
chunk-next
chunk-rest
chunked-seq
chunked-seq?
clj->js
clone
cloneable?
coercive-=
coercive-boolean
coercive-not
coercive-not=
coll?
comment
comp
comparator
compare
compare-and-set!
complement
completing
concat
cond
cond->
cond->>
condp
conj
conj!
cons
constantly
contains?
copy-arguments
count
counted?
create-ns
cycle
dec
declare
dedupe
default-dispatch-val
defmacro
defmethod
defmulti
defn
defn-
defonce
defprotocol
defrecord
deftype
delay
delay?
demunge
deref
derive
descendants
disj
disj!
dispatch-fn
dissoc
dissoc!
distinct
distinct?
divide
doall
dorun
doseq
dotimes
doto
double
double-array
doubles
drop
drop-last
drop-while
eduction
empty
empty?
enable-console-print!
ensure-reduced
es6-entries-iterator
es6-iterable
es6-iterator
es6-iterator-seq
es6-set-entries-iterator
even?
every-pred
every?
ex-cause
ex-data
ex-info
ex-message
exists?
extend-protocol
extend-type
false?
ffirst
filter
filterv
find
find-macros-ns
find-ns
find-ns-obj
first
fixture1
fixture2
flatten
float
floats
flush
fn
fn?
fnext
fnil
for
force
frequencies
gen-apply-to
gensym
gensym_counter
get
get-in
get-method
get-validator
goog-define
group-by
hash
hash-combine
hash-keyword
hash-map
hash-ordered-coll
hash-set
hash-string
hash-string*
hash-unordered-coll
identical?
identity
if-let
if-not
if-some
ifn?
implements?
import-macros
imul
inc
indexed?
instance?
int
int-array
int-rotate-left
integer?
interleave
interpose
into
into-array
ints
is_proto_
isa?
iter
iterable?
iterate
js->clj
js-arguments
js-comment
js-debugger
js-delete
js-in
js-inline-comment
js-invoke
js-keys
js-mod
js-obj
js-reserved
js-str
juxt
keep
keep-indexed
key
key->js
key-test
keys
keyword
keyword-identical?
keyword?
last
lazy-cat
lazy-seq
lazy-transformer
let
letfn
list
list*
list?
load-file
load-file*
long
long-array
longs
loop
m3-C1
m3-C2
m3-fmix
m3-hash-int
m3-hash-unencoded-chars
m3-mix-H1
m3-mix-K1
m3-seed
macroexpand
macroexpand-1
make-array
make-hierarchy
map
map-indexed
map?
mapcat
mapv
max
max-key
memfn
memoize
merge
merge-with
meta
methods
min
min-key
missing-protocol
mix-collection-hash
mk-bound-fn
mod
multi-stepper
munge
name
namespace
native-satisfies?
neg?
newline
next
nfirst
nil-iter
nil?
nnext
not
not-any?
not-empty
not-every?
not-native
not=
ns-interns
ns-interns*
ns-name
ns-unmap
nth
nthnext
nthrest
number?
obj-map
object-array
object?
odd?
or
parents
partial
partition
partition-all
partition-by
peek
persistent!
persistent-array-map-seq
pop
pop!
pos?
pr
pr-seq-writer
pr-sequential-writer
pr-str
pr-str*
pr-str-with-opts
prefer-method
prefers
prim-seq
print
print-map
print-meta?
print-str
println
println-str
prn
prn-str
prn-str-with-opts
quot
rand
rand-int
rand-nth
random-sample
random-uuid
range
ranged-iterator
re-find
re-matches
re-pattern
re-seq
realized?
record?
reduce
reduce-kv
reduceable?
reduced
reduced?
reductions
regexp?
reify
rem
remove
remove-all-methods
remove-method
remove-watch
repeat
repeatedly
replace
replicate
reset!
reset-meta!
rest
reverse
reversible?
rseq
rsubseq
run!
satisfies?
second
select-keys
seq
seq-iter
seq?
seqable?
sequence
sequential?
set
set-from-indexed-seq
set-print-err-fn!
set-print-fn!
set-validator!
set?
short
shorts
shuffle
simple-benchmark
some
some->
some->>
some-fn
some?
sort
sort-by
sorted-map
sorted-map-by
sorted-set
sorted-set-by
sorted?
special-symbol?
specify
specify!
split-at
split-with
spread
stepper
str
string-hash-cache
string-hash-cache-count
string-iter
string-print
string?
subs
subseq
subvec
swap!
symbol
symbol-identical?
symbol?
t_cljs$core17827
t_cljs$core17830
tagged-literal
tagged-literal?
take
take-last
take-nth
take-while
test
this-as
time
to-array
to-array-2d
trampoline
transduce
transient
tree-seq
true?
truth_
type
type->str
unchecked-add
unchecked-add-int
unchecked-byte
unchecked-char
unchecked-dec
unchecked-dec-int
unchecked-divide-int
unchecked-double
unchecked-float
unchecked-inc
unchecked-inc-int
unchecked-int
unchecked-long
unchecked-multiply
unchecked-multiply-int
unchecked-negate
unchecked-negate-int
unchecked-remainder-int
unchecked-short
unchecked-subtract
unchecked-subtract-int
undefined?
underive
unreduced
unsafe-bit-and
unsafe-cast
unsigned-bit-shift-right
update
update-in
uuid
val
vals
var?
vary-meta
vec
vector
vector?
volatile!
volatile?
vreset!
vswap!
when
when-first
when-let
when-not
when-some
while
with-meta
with-out-str
with-redefs
write-all
zero?
zipmap
nil

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment