summaryrefslogtreecommitdiff
path: root/examples/mandelbrot.lali
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mandelbrot.lali')
-rw-r--r--examples/mandelbrot.lali2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mandelbrot.lali b/examples/mandelbrot.lali
index c07b07d..0268deb 100644
--- a/examples/mandelbrot.lali
+++ b/examples/mandelbrot.lali
@@ -6,7 +6,7 @@
"2" "3" "4" "5" "6" "7" "8" "9" "%" "*" "&" "$" "@" "#"))
(defun mandelbrot-iter (x y x0 y0 i)
- (fill ((dif i +28) " ")
+ (fill ((diff i +28) " ")
((not (> (+ (* x0 x0) (* y0 y0)) +4)) (nth i mandelbrot-chars))
(f (mandelbrot-iter x y
(+ (- (* x0 x0) (* y0 y0)) x) (+ (* +2 x0 y0) y)