From: robert miller
Subject: pattern recognition
Date:
Message-ID: <2850@ucrmath.UCR.EDU>
I am a novice lisp programmer, with access to both the Emacs lisp-interaction
and Xlisp. I am having a problem with pattern recognition. I am trying to
write a program that will recognize patterns that are inputted, outputting
the next couple of logical repetitions. I'm hoping it will work something
like this:
(defun pattern_rec (x)
( <<< CODE HERE >>> ))
pattern_rec
(pattern_rec '(a b a c a d a e))
(a b a c a d a e a f)
I have everything figured out except for the 'CODE HERE' part. :-)
If anyone can give me a bit of help, just even a push in the right direction,
I would be greatly appreciative. I will be monitoring this group, so either
post or send mail. Thanks.