diff options
Diffstat (limited to 'examples/impure-concept.lisp')
| -rw-r--r-- | examples/impure-concept.lisp | 12 |
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))) |
