 (defn fn->action
   "Coerce a plain clojure function into
   ratpacks's Action interface."
-  ^Action [callable]
+  [callable]
   (reify Action
     (^void execute [_ x]
       (callable x))))

(defn fn->block
  "Coerce a plain clojure function into
  ratpacks's Block interface."
  ^Block [callable]
  (reify Block
    (execute [_]
      (callable))))

(defn fn->function
  "Coerce a plain clojure function into
  ratpacks's Function interface."
  [callable]
  (reify Function
    (apply [_ x]
      (callable x))))
