# Common Lisp Scoping, Lexical Binding, and Closures

DevFeed: [Common Lisp Scoping, Lexical Binding, and Closures](<https://devfeed.tech/articles/lost-in-scope-34489.md>)

Original publisher: [Read original article](<https://tapoueh.org/blog/2013/01/lost-in-scope/>)

Author: Dimitri Fontaine PostgreSQL Major Contributor; Author

Published: 2013-01-09T10:07:00Z

Content type: tutorial

Language: en

Sources: [Dimitri Fontaine](<https://devfeed.tech/sources/dimitri-fontaine.md>)

Topics: [Common Lisp](<https://devfeed.tech/topics/common-lisp.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [function](<https://devfeed.tech/topics/function.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [blog](<https://devfeed.tech/tags/blog.md>), [function](<https://devfeed.tech/tags/function.md>), [functional-programming](<https://devfeed.tech/tags/functional-programming.md>), [lisp](<https://devfeed.tech/tags/lisp.md>), [shadowing](<https://devfeed.tech/tags/shadowing.md>), [simple](<https://devfeed.tech/tags/simple.md>)

## AI overview

An article demonstrates Common Lisp scoping through examples involving lexical binding, variable shadowing, generalized booleans, closures, and REPL-based experimentation.

## Source excerpt

Thanks to Mickael on twitter I got to read an article about loosing scope with some common programming languages. As the blog article Lost in scope references functional programming languages and plays with both Javascript and Erlang, I though I had to try it out with Common Lisp too. So, here we go with a simple Common Lisp attempt. The Lost in scope article begins with defining a very simple function returning a boolean value, only true when it's not monday.