교하는 예일 뿐이다. 다음 예제는 패턴 매칭이 명확하고 간결하며 효율적인 코드를 만드는 데
어떻게 도움이 되는지 보여 준다.
2
.
6
.
1
인터프리터에서 시퀀스의 패턴 매칭
스탠퍼드 대학교
Stanford
University
의 피터 노빅
Peter
Norvig
교수는
lis.py
(
https://fpy.li/2-11
)
를 작성했다. 리스프
Lisp
프로그래밍 언어의 방언인 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.