summaryrefslogtreecommitdiff
path: root/tests/typ
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2021-03-03 18:15:33 +0100
committerLaurenz <laurmaedje@gmail.com>2021-03-03 18:15:33 +0100
commit1cfc3c72b59f96d1cef3f2e6e488b645648c36ab (patch)
tree11bceb52a84d6cc17f0b14d39d5b5b291393b3e9 /tests/typ
parentc94a18833f23d2b57de1b87971458fd54b56d088 (diff)
Show name of user-defined functions in representation 🦋
Diffstat (limited to 'tests/typ')
-rw-r--r--tests/typ/repr.typ8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/typ/repr.typ b/tests/typ/repr.typ
index 666db428..6eead75e 100644
--- a/tests/typ/repr.typ
+++ b/tests/typ/repr.typ
@@ -48,3 +48,11 @@
---
// Templates.
{[*{"H" + "i"} there*]}
+
+---
+// Functions
+#let f(x) = x
+
+{box} \
+{f} \
+{() => none} \