Commit | Line | Data |
---|---|---|
ea81a808 JM |
1 | (def! core_ns |
2 | [["=" =] | |
3 | ["throw" throw] | |
4 | ["nil?" nil?] | |
5 | ["true?" true?] | |
6 | ["false?" false?] | |
ee7cd585 | 7 | ["symbol" symbol] |
ea81a808 | 8 | ["symbol?" symbol?] |
b8ee29b2 JM |
9 | ["keyword" keyword] |
10 | ["keyword?" keyword?] | |
8cb5cda4 | 11 | |
ea81a808 JM |
12 | ["pr-str" pr-str] |
13 | ["str" str] | |
14 | ["prn" prn] | |
15 | ["println" println] | |
8cb5cda4 JM |
16 | ["readline" readline] |
17 | ["read-string" read-string] | |
18 | ["slurp" slurp] | |
ea81a808 JM |
19 | ["<" <] |
20 | ["<=" <=] | |
21 | [">" >] | |
22 | [">=" >=] | |
23 | ["+" +] | |
24 | ["-" -] | |
25 | ["*" *] | |
26 | ["/" /] | |
27 | ||
28 | ["list" list] | |
29 | ["list?" list?] | |
30 | ["vector" vector] | |
31 | ["vector?" vector?] | |
32 | ["hash-map" hash-map] | |
33 | ["map?" map?] | |
34 | ["assoc" assoc] | |
35 | ["dissoc" dissoc] | |
36 | ["get" get] | |
37 | ["contains?" contains?] | |
38 | ["keys" keys] | |
39 | ["vals" vals] | |
40 | ||
41 | ["sequential?" sequential?] | |
42 | ["cons" cons] | |
43 | ["concat" concat] | |
44 | ["nth" nth] | |
45 | ["first" first] | |
46 | ["rest" rest] | |
47 | ["empty?" empty?] | |
48 | ["count" count] | |
49 | ["conj" conj] | |
50 | ["apply" apply] | |
51 | ["map" map] | |
52 | ||
53 | ["with-meta" with-meta] | |
54 | ["meta" meta] | |
55 | ["atom" atom] | |
56 | ["atom?" atom?] | |
57 | ["deref" deref] | |
58 | ["reset!" reset!] | |
59 | ["swap!" swap!]]) |