clara

http://www.clara-rules.org/
bartuka 2019-11-26T20:23:07.073600Z

hi, @ethanc thanks for the answer

bartuka 2019-11-26T20:23:58.074600Z

I was out of work these days. I just tried your approach, but the problem is to pass a list of symbols to mk-session, I am not able to use apply because this is a macro

bartuka 2019-11-26T20:24:06.074800Z

how are you handling this?

2019-11-26T20:39:14.075200Z

@iagwanderson clara.rules.compiler/mk-session can be used

2019-11-26T20:39:25.075500Z

it’s the underlying fn - just have to deal with some boilerplate with quotes etc

2019-11-26T20:39:47.075700Z

it’s signature is slightly different

2019-11-26T20:40:13.076Z

takes sequence of sources-and-options

2019-11-26T20:40:18.076200Z

sources expected to come first

2019-11-26T20:40:34.076500Z

then keyword options

2019-11-26T20:40:48.076800Z

example ['my.ns.name :my-option :foo]

bartuka 2019-11-26T20:42:42.077100Z

oh, cool. let me try out! thanks

bartuka 2019-11-26T20:43:21.077300Z

worked just fine o/

2019-11-26T20:51:49.077500Z

nice