add runtime doc info
This commit is contained in:
parent
1842923fa3
commit
478bc8649e
|
@ -358,8 +358,8 @@
|
||||||
# Depends on: good string representation of patterns
|
# Depends on: good string representation of patterns
|
||||||
# For now, this should be enough to tall the thing
|
# For now, this should be enough to tall the thing
|
||||||
(defn- fnn [ast ctx]
|
(defn- fnn [ast ctx]
|
||||||
(def {:name name :data clauses} ast)
|
(def {:name name :data clauses :doc doc} ast)
|
||||||
(def the-fn @{:name name :^type :fn :body clauses :ctx ctx})
|
(def the-fn @{:name name :^type :fn :body clauses :ctx ctx :doc doc})
|
||||||
(set (ctx name) the-fn))
|
(set (ctx name) the-fn))
|
||||||
|
|
||||||
(defn- is_placeholder [x] (= x :_))
|
(defn- is_placeholder [x] (= x :_))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user