How to do Pattern Matching in Common Lisp

后端 未结 3 551
故里飘歌
故里飘歌 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条回答
  •  萌比男神i
    2021-01-31 12:41

    Simple pattern matching functionality is explained in various Lisp books.

    • Lisp, 3rd edition, Winston/Horn

    • Paradigms of Artificial Intelligence Programming, Case Studies in Common Lisp, Peter Norvig

    and others.

    Above books explain implementing pattern matching in Lisp very well.

    Libraries exist, for example trivia, cl-match, and various others.

提交回复
热议问题