Repository navigation
v0.8.1
Pre-release
Pre-release
General improvements
- added
joker.core/dotomacro - added some Clojure 1.9 functions:
boolean?,any?,int?,pos-int?,neg-int?,nat-int?,double?,simple-ident?,qualified-ident?,simple-symbol?,qualified-symbol?,simple-keyword?,qualified-keyword?,seqable?,indexed?,bounded-count,
Linter improvements
- warning on
ifwithoutelsebranch. See #9. The warning is off by default. To enable it, add:if-without-elserule in.jokerfile:
{:known-macros [...]
:rules {:if-without-else true}}
- added
:ignored-unused-namespacesoption in.jokerfile to hide a warning on an unused namespace (thanks @joelash for this contribution). If you want Joker to ignore some unused namespaces (i.e. if they are required for their side effects), you can list them in:ignored-unused-namespacesvector. For example:
{:known-macros [...]
:rules {...}
:ignored-unused-namespaces [foo.bar]}
- more warnings on invalid function calls (i.e.
("oops")will now result in a warning)
Fixes
- fixed unused binding warning in desctructured maps
- fixed
recurintry,catchandfinally