Join Slack
Powered by
<https://softwareengineering.stackexchange.com/que...
# mathematics
b
breandan
08/22/2020, 6:17 AM
https://softwareengineering.stackexchange.com/questions/316969/why-do-most-mainstream-languages-not-support-x-y-z-syntax-for-3-way-boolea
breandan
08/22/2020, 6:18 AM
This should be possible in a Kotlin DSL, I made a little demo here:
https://gist.github.com/breandan/31c968e15e37670ddafc13e486942aec
a
altavir
08/22/2020, 6:31 AM
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
7
Views
Open in Slack
Previous
Next