Skip to content

Commit 3929873

Browse files
committed
chore: format examples/macros.ark
1 parent ad8dd4a commit 3929873

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

examples/macros.ark

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,23 @@
4545
(last 1 5 6 7 8)
4646

4747
{
48-
(print "Testing macros in scopes and macro shadowing")
48+
(print "Testing macros in scopes and macro shadowing")
4949

50-
($ test (+ 1 2 3))
51-
(print "(global) Reading macro 'test', expected 6, " test)
50+
($ test (+ 1 2 3))
51+
(print "(global) Reading macro 'test', expected 6, " test)
5252

53-
((fun () {
54-
($ test (- 1 2 3))
55-
(print "(sub scope) Reading macro 'test', expected -4, " test) }))
53+
((fun () {
54+
($ test (- 1 2 3))
55+
(print "(sub scope) Reading macro 'test', expected -4, " test) }))
5656

57-
(print "(global) Reading macro 'test', expected 6, " test)
57+
(print "(global) Reading macro 'test', expected 6, " test)
5858

59-
{
60-
($ test 555)
61-
(print "(subscope) Reading macro 'test', expected 555, " test)
62-
($ undef test)
63-
(print "(subscope, undef test) Reading macro 'test', expected 6, " test)
64-
($ undef a) } }
59+
{
60+
($ test 555)
61+
(print "(subscope) Reading macro 'test', expected 555, " test)
62+
($ undef test)
63+
(print "(subscope, undef test) Reading macro 'test', expected 6, " test)
64+
($ undef a) } }
6565
(print "Demonstrating a threading macro")
6666

6767
($ -> (arg fn1 ...fn) {

0 commit comments

Comments
 (0)