diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-03-03 18:15:33 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-03-03 18:15:33 +0100 |
| commit | 1cfc3c72b59f96d1cef3f2e6e488b645648c36ab (patch) | |
| tree | 11bceb52a84d6cc17f0b14d39d5b5b291393b3e9 /tests | |
| parent | c94a18833f23d2b57de1b87971458fd54b56d088 (diff) | |
Show name of user-defined functions in representation 🦋
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/ref/repr.png | bin | 8695 -> 10420 bytes | |||
| -rw-r--r-- | tests/typ/repr.typ | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/ref/repr.png b/tests/ref/repr.png Binary files differindex 2e7755d3..54a1d240 100644 --- a/tests/ref/repr.png +++ b/tests/ref/repr.png 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} \ |
