Last active 1731123007

emojified.lisp Raw
1(ql:quickload 'serapeum)
2(ql:quickload 'nytpu.lisp-utils)
3
4(defmacro πŸ“Œ (name macro)
5 `(progn
6 (setf (macro-function ',name)
7 (macro-function ',macro))))
8(defmacro βš™οΈ (name function)
9 `(serapeum:defalias ,name #',function))
10
11(πŸ“Œ πŸ₯Ί defmethod)
12(πŸ“Œ 😎 defun)
13(πŸ“Œ πŸ’­ serapeum:defconst)
14(πŸ“Œ πŸ€“ defclass)
15(πŸ“Œ πŸ”© defstruct)
16(πŸ“Œ πŸ“ deftype)
17(πŸ“Œ πŸ“‹ nytpu.lisp-utils.bind:bind)
18(πŸ“Œ πŸ‘“ with-accessors)
19(βš™οΈ πŸ““ list)
20(βš™οΈ βž• +)
21(βš™οΈ βœ–οΈ *)
22(βš™οΈ βž– -)
23(βš™οΈ πŸ”§ make-instance)
24(πŸ’­ 0️⃣ 0.0)
25(πŸ’­ πŸŒ› 0.5)
26(πŸ’­ 1️⃣ 1.0)
27(πŸ’­ 2️⃣ 2.0)
28
29(πŸ“ πŸ”’ () 'real)
30
31(πŸ”© πŸ”΅
32 (πŸ‘‰ 0️⃣ :type πŸ”’)
33 (πŸ‘† 0️⃣ :type πŸ”’))
34(βš™οΈ 🎯 make-πŸ”΅)
35
36(πŸ€“ 〰️ ()
37 ((πŸŒ“ :initarg :πŸŒ“
38 :accessor πŸŒ“
39 :type πŸ”’)
40 (πŸŒ’ :initarg :πŸŒ’
41 :accessor πŸŒ’
42 :type πŸ”’)
43 (πŸŒ‘ :initarg :πŸŒ‘
44 :accessor πŸŒ‘
45 :type πŸ”’)))
46
47(😎 〰️ (πŸŒ“ πŸŒ’ πŸŒ‘)
48 (πŸ”§ '〰️ :πŸŒ“ πŸŒ“ :πŸŒ’ πŸŒ’ :πŸŒ‘ πŸŒ‘))
49
50(πŸ₯Ί πŸ“ˆ ((〰️ 〰️) ⏳)
51 (πŸ‘“ ((πŸ‡¦ πŸŒ“)
52 (πŸ‡§ πŸŒ’)
53 (πŸ‡¨ πŸŒ‘))
54 〰️
55 (πŸ“‹ ((βŒ› (βž– 1️⃣ ⏳)))
56 (βž• (βœ–οΈ πŸ‡¦ (βœ–οΈ βŒ› βŒ›))
57 (βœ–οΈ πŸ‡§ (βœ–οΈ ⏳ 2️⃣) βŒ›)
58 (βœ–οΈ πŸ‡¨ (βœ–οΈ ⏳ ⏳))))))
59
60(πŸ₯Ί πŸŽ€ ((〰️ 〰️))
61 (πŸ‘“ ((πŸ‡¦ πŸŒ“)
62 (πŸ‡§ πŸŒ’)
63 (πŸ‡¨ πŸŒ‘))
64 〰️
65 (πŸ““ (🎯 :πŸ‘‰ 0️⃣ :πŸ‘† πŸ‡¦)
66 (🎯 :πŸ‘‰ πŸŒ› :πŸ‘† πŸ‡§)
67 (🎯 :πŸ‘‰ 1️⃣ :πŸ‘† πŸ‡¨))))
68
69(πŸ“‹ ((πŸ’‘ (〰️ 1️⃣ 0️⃣ 2️⃣)))
70 (πŸ““ (πŸ“ˆ πŸ’‘ πŸŒ›)
71 (πŸŽ€ πŸ’‘)))
72