backup commit

This commit is contained in:
2022-10-24 03:16:04 +01:00
parent fbbd6ed256
commit 778c87db77
43 changed files with 1156 additions and 174 deletions

View File

@@ -1,18 +0,0 @@
# Anatomy of a code file
```orchid
import std::io::(println, out) -- imports
-- single word substitution (alias)
greet == \name. printf out "Hello {}!\n" [name]
-- multi-word exported substitution with nonzero priority
export (...$pre ;) $a ...$post) =200=> (...$pre (greet $a) ...$post)
-- single-word exported substitution
export main == (
print "What is your name? >>
readln >>= \name.
greet name
)
```