Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Scala 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


Very cool, thank you. Anything in Python?


I tried searching for something similar in python but didn't find much




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: