summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2018-08-07 15:34:57 -0700
committerBen Sima <ben@bsima.me>2018-08-07 15:34:57 -0700
commitb75fae17e1f887ddb7950410844ac2a819b7cca7 (patch)
treef0ccf0fffee7886b6278029c6bf6cb6b5acedb12
parent64e41c64f49b640b73e1de3628731f9346640e14 (diff)
Another typo
-rwxr-xr-xski.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ski.hs b/ski.hs
index b0ea4d8..a462afe 100755
--- a/ski.hs
+++ b/ski.hs
@@ -43,8 +43,8 @@ eval (Ap I x) = eval x
-- (Ap (Ap _ _) _)
--
-- so we just define that by recursing onto each branch of the Expr tree. But
--- first we check for branch equality, to avoid infinite recursion:
---
+-- first we check for equality, to avoid infinite recursion:
+
eval (Ap a b) =
if a == a' && b == b'
then (Ap a b)