summaryrefslogtreecommitdiff
path: root/examples/speech/en-random_more.lali
diff options
context:
space:
mode:
Diffstat (limited to 'examples/speech/en-random_more.lali')
-rwxr-xr-xexamples/speech/en-random_more.lali12
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/speech/en-random_more.lali b/examples/speech/en-random_more.lali
index fd94c6e..63c63c2 100755
--- a/examples/speech/en-random_more.lali
+++ b/examples/speech/en-random_more.lali
@@ -37,13 +37,13 @@
(defun assoc (el lst)
(fill
- ((dif el (car (car lst))) (car lst))
+ ((diff el (car (car lst))) (car lst))
((algo lst) '(f f))
(f (assoc el (cdr lst)))))
(defun without (el lst)
(fill
- ((dif el (car lst)) f)
+ ((diff el (car lst)) f)
((algo (car lst)) t)
(f (without el (cdr lst)))))
@@ -102,7 +102,7 @@
(set 'question-score target-question)
(set 'my-words (readl))
- (differ my-words '(f))
+ (diff my-words '(f))
(set 'answer-score (get-answer-score
(map
(lambda (word)
@@ -111,7 +111,7 @@
(princ "\n~")
(newline)
(fill
- ((dif target-answer
+ ((diff target-answer
(+ question-score answer-score))
'correct)
(f 'wrong))))
@@ -119,8 +119,8 @@
(defun loop ()
(set 'res (main))
(fill
- ((dif res 'correct) (loop))
- ((dif res 'wrong) (prog (princ ">> wrong") (newline)))
+ ((diff res 'correct) (loop))
+ ((diff res 'wrong) (prog (princ ">> wrong") (newline)))
(f f)))