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

As part of delivering an e-commerce solution in Scheme, I wrote a module which allowed for SQL queries to be written in s-expression syntax. You could unquote Scheme variables or expressions into the queries and it would do the right thing wrt quoting, so no connection.prepareStatement("INSERT INTO CUSTOMERS (NAME, ADDRESS) VALUES (?, ?)", a, b) type madness. Wanky, you bet. But oh so, so convenient.


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

Search: