<https://softwareengineering.stackexchange.com/que...
# mathematics
This should be possible in a Kotlin DSL, I made a little demo here: https://gist.github.com/breandan/31c968e15e37670ddafc13e486942aec
a
Yes, it seems to be working. The only concern is tha leaking of those extensions ouside of the expression. Probably should be a special inline class on top of boolean to avoid that