🧬 [TIL] common-lisp defmacro와 forward-declaration
의외로 단순한건데, 컴파일한 sbcl image에서 runtime에 unbound variable 컨디션을 발생시킬 수 있음.
1 2 3 4 5 6 7 8 9 10 11 12...
🐖 CommonLisp (w/o LOOP-macro) / LeetCode "1614. max nesting depth of the parentheses"
어제 작성한 LOOP매크로을 이용한 구현 을 풀어서, 만약 LOOP매크로가 없었더라면 어떻게 짰을지 작성해봤다.
1 2 3 4 5 6 7 8 9 10 11 12 (defun...
🫛 CommonLisp / LeetCode "1614. max nesting depth of the parentheses"
문제 https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/
작성한 코드 1 2 3 4 5 6 7 8...
👨🦱 Ping 11/Oct/2020
어째서 더 잘 그럴 수 있을까 무엇인가를 만드는 일은 사실 두 가지 단계로 발전하는 것 같다.
단지 목적한 그것만을 만드는 일과, 또는 그것을 반복적으로 생산하고 또 더 나은 방...