Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kourzanov committed Nov 12, 2014
1 parent a4c2453 commit c7a0708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recette/memo.scm
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
;; uncomment the (t== Lin (cons 'b temp)) below to make it
;; X=z|b X a
;; the output of the goal is a Peano representation of n in:
;; X=L={a^n b^n|n>=0}
;; X=L={b^n a^n|n>=0}

(define head_75
(lambda (Lin Lout var)
Expand All @@ -79,7 +79,7 @@
(exist (x temp temp1)
(t== var (list 'S x))
; although this could be CFG, can show left-recursion problem
; with a left-regular language (therefore, don't match 'b)
; with a left-regular language too (therefore, don't match 'b)
(t== Lin temp)
;(t== Lin (cons 'b temp))
(X temp temp1 x)
Expand Down

0 comments on commit c7a0708

Please sign in to comment.