Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Elisp is not a static language. Commented Jul 31, 2023 at 12:31
  • I just added (require 'cl-macs) ---- it is cl-macs and not cl-lib---as per your suggestion. I still don't get byte compiler errors. Commented Jul 31, 2023 at 12:33
  • 1
    Could you please layout each step in the reasoning from Elisp is not a static language to This is why you don't get compilation errors. Commented Jul 31, 2023 at 12:35
  • cl-flet expands to a let* form which binds a lambda to a symbol. Lisp is so dynamic that it is difficult for the compiler to apply static program analysis. You of course know that it will signal an error, because you are intellectual enough, but the compiler is not. Commented Jul 31, 2023 at 16:08