Resyntax currently rewrites (-> any/c boolean?) to predicate/c. This was based on my understanding that predicate/c offers improved performance over (-> any/c boolean?) for struct predicates. But that's not the case, -> is smart enough to include the same optimizations that predicate/c provides. The -> form is more readable than predicate/c, and predicate/c is basically obsolete. Resyntax should suggest just writing (-> any/c boolean?) instead of predicate/c. See this discussion for more context.
Resyntax currently rewrites
(-> any/c boolean?)
topredicate/c
. This was based on my understanding thatpredicate/c
offers improved performance over(-> any/c boolean?)
for struct predicates. But that's not the case,->
is smart enough to include the same optimizations thatpredicate/c
provides. The->
form is more readable thanpredicate/c
, andpredicate/c
is basically obsolete. Resyntax should suggest just writing(-> any/c boolean?)
instead ofpredicate/c
. See this discussion for more context.