Welcome! Please see the About page for a little more info on how this works.

+1 vote
in tools.analyzer by

Nearly nine years ago, when making tools.analyzer cross-platform (JVM/CLR), we did not yet have reader conditionalization. Leading to this bit of inelegance:


The commit actually has the comment "until we have feature expressions".

(- Since there needs to be question -): Isn't time to get rid ourselves of the affliction of throwing an exception to detect the platform and convert to reader conditionalization?

If there is Jira issue, I can submit a patch.

1 Answer

0 votes

If you want to make a ticket in jira in https://clojure.atlassian.net/browse/TANAL and drop a patch, happy to take a look and merge

I will do so. Thanks.
Wouldn't a `regex?` predicate in core be an alternative?
It is an alternative, but implementing a new core function common to multiple platforms is going to take a lot longer.