lambdaisland 2020-02-11

@adam622 has joined the channel

@borkdude has joined the channel

hey Arne. I was wondering about performance since regexes can usually be constructed at compile time (I think) vs runtime with regal. but when trying out regal I got this:

user=> (require '[lambdaisland.regal :as r])
Syntax error compiling at (lambdaisland/regal/generator.cljc:128:5).
Cyclic load dependency: [ /lambdaisland/regal ]->/lambdaisland/regal/generator->[ /lambdaisland/regal ]

Oops that's from me poking at it with cider and clj-refactor adding requires. Generator is not supposed to depend on regal

Thanks for reporting! I'll fix it soon.

Excluding test.check from the deps seems like a good idea too (seems unnecessary if you're not using the generators)

@leonoel has joined the channel

💡 implementing this as a data reader would probably help dealing with not re-evaluating the regex construction in the body of a function