How to do Pattern Matching in Common Lisp

后端 未结 3 518
故里飘歌
故里飘歌 2021-01-31 12:03

I have no idea if there exists a pattern matching function for Common Lisp, nevertheless I have to make my own function. I have no idea about Lisp. Can somebody give heads-up on

3条回答
  •  故里飘歌
    2021-01-31 12:38

    I don't want to short circuit any learning you need to do for school (if that is the context in which this project is necessitated), but you could study the cl-ppcre library, http://weitz.de/cl-ppcre/, to see how an experienced Lisper does it. You could download the source and study it to understand. I would also second the book by Norvig, http://norvig.com/paip.html, mentioned above. You can learn so much from that book.

提交回复
热议问题