It's not always feasible to write the entire spec inside the >defn, since the assertion predicates might be fairly involved and can end up being as big as the function itself.
Attempts to move it a little further from the definition via >fdef leads to it no longer being checked by ghostwheel.
It would be great if >fdef or something like it would be checked on (g/check).
It's not always feasible to write the entire spec inside the
>defn, since the assertion predicates might be fairly involved and can end up being as big as the function itself.Attempts to move it a little further from the definition via
>fdefleads to it no longer being checked by ghostwheel.It would be great if
>fdefor something like it would be checked on(g/check).