I asked here: https://stackoverflow.com/questions/36385548/how-to-programmatically-construct-a-lambda-in-java-8 but I wanted to know if there are alternatives to construct lambdas in clojure.
For the use case, I'm attempting to wrap the rethinkdb library: http://www.rethinkdb.com/api/java/#map
I may be wrong, but in the rethinkdb driver, somehow the lambdas are compiled into ast syntax that are converted to js and sent to the database. I believe I need to somehow explicitly create a lambda. http://www.rethinkdb.com/blog/lambda-functions/ so this quesion How to implement lambda as a function called "lambda" in Clojure? only shows how to use a function, not a lambda.