bhauman / rebel-readline

Terminal readline library for Clojure dialects
Eclipse Public License 1.0
680 stars 37 forks source link

Consider Spec integration #135

Open borkdude opened 6 years ago

borkdude commented 6 years ago
boot.user=> (defn foo [a b c] (+ a b c))
boot.user=> (foo 1 2 3)
boot.user=> (require '[clojure.spec.alpha :as s])
boot.user=> (s/fdef foo :args (s/cat :a number? :b number? :c number?))

Could rebel-readline somehow leverage the fdef for foo while typing (foo 1 ...)?

bhauman commented 6 years ago

That would be intensely difficult :)