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