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

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

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