5 ms·
https://github.com/zio/zio-quill https://github.com/zio/zio-quill This library does exactly what you prescribe. Pretty sure under the hood it's using macros w
by 89vision 3y ago
https://github.com/zio/zio-quill https://github.com/zio/zio-quill
This library does exactly what you prescribe. Pretty sure under the hood it's using macros with string templates
- alexchantavy 3y agoVery cool, thank you. Anything in Python?
- 89vision 3y agoI tried searching for something similar in python but didn't find much
- noelwelsh 3y agoScala macros and quasiquote templates do have some notable differences to pure strings. The two main ones are: - the value that's constructed has to be valid code - macro "hygiene" is maintained