Skip to content

Instantly share code, notes, and snippets.

View yanateras's full-sized avatar
🪄
Turning the whole world into degrees of fucking around~

Yana Teras yanateras

🪄
Turning the whole world into degrees of fucking around~
View GitHub Profile
@yanateras
yanateras / threading-macro.lisp
Created February 26, 2024 07:11
Threading macro for Common Lisp
(defmacro -> (&rest forms)
(reduce #'(lambda (xs x) (append x (list xs))) forms))
@yanateras
yanateras / threading-macro.el
Created February 26, 2024 07:09
Threading macro for Emacs Lisp
(defmacro -> (&rest forms)
(cl-reduce #'(lambda (xs x) (append x (list xs))) forms))
@yanateras
yanateras / perl666.pl
Created February 26, 2024 07:05
Never ever ever
use v6.6.6;
@yanateras
yanateras / koan.lisp
Created February 26, 2024 07:00
A koan is is A koan
(defmacro defmacro (&rest koan)
`(defmacro defmacro (&rest koan)
`(defmacro ,,@koan
`(defmacro ,,@koan))))