Closed nixin72 closed 4 months ago
0-arity query topologies were getting transformed incorrectly such that
(<<query-topology x "name" [:> *ret] (identity :x :> *ret))
Was getting transformed into
(fn name [:> *ret] ...)
This was causing a confusing linting error about keywords not being valid binding forms.
This PR just adds special handling for binding forms where :> is the first token in the binding vector, indicating that it only has return values.
:>
Addresses #4
0-arity query topologies were getting transformed incorrectly such that
Was getting transformed into
This was causing a confusing linting error about keywords not being valid binding forms.
This PR just adds special handling for binding forms where
:>
is the first token in the binding vector, indicating that it only has return values.