aboutsummaryrefslogtreecommitdiffstats
path: root/examples/impure-concept.lisp
diff options
context:
space:
mode:
authorJan Tuomi <jans.tuomi@gmail.com>2022-12-05 14:19:12 +0200
committerJan Tuomi <jans.tuomi@gmail.com>2022-12-05 14:21:53 +0200
commit4002b8988c799a904ef1f359d4267ef4ad80cba3 (patch)
treedbb67560f3a44c57df4b0e960861f60605ceb45f /examples/impure-concept.lisp
parentbba047ae945ae7d7899d6e2c1610923bcedb0442 (diff)
Rename project to Milch
Diffstat (limited to 'examples/impure-concept.lisp')
-rw-r--r--examples/impure-concept.lisp12
1 files changed, 0 insertions, 12 deletions
diff --git a/examples/impure-concept.lisp b/examples/impure-concept.lisp
deleted file mode 100644
index 893b29e..0000000
--- a/examples/impure-concept.lisp
+++ /dev/null
@@ -1,12 +0,0 @@
-; What color is your function?
-; Impure functions are functions that can call both pure and impure functions.
-; Pure functions can only call pure functions.
-; Impure function names end in an exclamation mark (!) by convention.
-; The top-level context is impure but has special rules
-; related to `import!`, `let!`, and other builtins.
-
-; pure function
-(let! f (\[x] x))
-
-; impure function
-(let! g! (\![x] (print! x)))