Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!usc!samsung!caesar.cs.montana.edu!ogccse!ucsd!ucrmath!xcax12 From: xcax12@ucrmath.UCR.EDU (robert miller) Newsgroups: comp.lang.lisp Subject: pattern recognition Keywords: patterns Message-ID: <2850@ucrmath.UCR.EDU> Date: 1 Dec 89 23:34:22 GMT Reply-To: xcax12@ucrmath.UCR.EDU () Organization: University of California, Riverside Lines: 19 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.