Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. # 게으름 표현의 평가를 가능한 최대로 늦추는 기법인 게으른 평가는 함수형 프로그래밍 언어에서 많이 볼 수 있는 기능이다. ### 클로저를 사용한 회문 찾기 <code> (defn palindrom? [s] (let [sl (.toLowerCase s)] (= sl (apply str (reverse sl)))) ) (defn find-palindromes [s] (filter palindrome? (clojure.string/split s #" "))) </code> open/게으름.txt Last modified: 2024/10/05 06:15by 127.0.0.1