summaryrefslogtreecommitdiff
path: root/src/content/pastebins/2023/07/22
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/pastebins/2023/07/22')
-rw-r--r--src/content/pastebins/2023/07/22/funcallable-amop.adoc20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/content/pastebins/2023/07/22/funcallable-amop.adoc b/src/content/pastebins/2023/07/22/funcallable-amop.adoc
index 37c79fe..47a8089 100644
--- a/src/content/pastebins/2023/07/22/funcallable-amop.adoc
+++ b/src/content/pastebins/2023/07/22/funcallable-amop.adoc
@@ -1,22 +1,10 @@
----
-
-title: Funcallable AMOP
-
-date: 2023-07-22
-
-layout: post
-
-lang: en
-
-ref: funcallable-amop
-
----
-
+= Funcallable AMOP
Using `macrolet` to allow a `funcallable-standard-class` to be invoked without
using `funcall` directly, and let the macroexpansion do that instead:
-```
+[source,lisp]
+----
#!/usr/bin/env li
(asdf:load-system :closer-mop)
@@ -40,4 +28,4 @@ using `funcall` directly, and let the macroexpansion do that instead:
`(funcall c ,@body)))
(funcall c 2)
(c 3)))
-```
+----