summaryrefslogtreecommitdiff
path: root/lambda-calcul/haskell/plan.md
diff options
context:
space:
mode:
Diffstat (limited to 'lambda-calcul/haskell/plan.md')
-rw-r--r--lambda-calcul/haskell/plan.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/lambda-calcul/haskell/plan.md b/lambda-calcul/haskell/plan.md
index 724b719..7c5627e 100644
--- a/lambda-calcul/haskell/plan.md
+++ b/lambda-calcul/haskell/plan.md
@@ -83,7 +83,7 @@ self-evaluating value — it needs no reduction. This is the smallest possible e
### What it is
-Depends on Extension 1. Add `+`, `-`, `*`, `/`, `mod`, `=`, `<` as first-class built-in
+Depends on Extension 1. Add `+`, `-`, `*`, `div`, `mod`, `=`, `<` as first-class built-in
functions. The key interpreter challenge beyond the trivial "add a case" is *partial
application*: `(+ 1)` must be a valid value — a closure waiting for its second argument —
rather than an error.
@@ -99,7 +99,7 @@ rather than an error.
reads back as a neutral application.
**`Minilang.Lambda.Parser`**
-- Builtin names (`+`, `-`, `*`, `/`, `mod`, `=`, `<`) are already valid identifiers under
+- Builtin names (`+`, `-`, `*`, `div`, `mod`, `=`, `<`) are already valid identifiers under
the current `extraIdentifierChars` definition, so no parser change is needed beyond
registering them as known names.