concept smart in category functional programming

appears as: smart
Functional Programming with Kotlin

This is an excerpt from Manning's book Functional Programming with Kotlin.

We typically avoid this problem by defining smart constructors, which is what we call a function for constructing a data type that ensures some additional invariant or provides a slightly different signature than the “real” constructors. By convention, smart constructors live in the companion object of the base class and their names typically lowercase the first letter of the corresponding data constructor. Here, our cons smart constructor takes care of memoizing the by-name arguments for the head and tail of the Cons. This is a common trick, and it ensures that our thunk will only do its work once, when forced for the first time. Subsequent forces will return the cached lazy val: