You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed when looking at the implementation of assign that there was a nice docstring for it, but that it gets lost when re-def-ed in statecharts.core. Even for the functions without docstrings my editor provides a nice arglist hint that is pretty useful, which is missing for the statecharts.core vars.
I'm not sure if there's a way to automatically assign the docstrings to another var, but you can do it manually like this:
(defassign ^{:doc"Wrap a function into a context assignment function.":arglists '([f])} impl/assign)
The text was updated successfully, but these errors were encountered:
You can have a look at this code (for cljc support) in conjunction with potemkin. It allows you to import functions into a separate namespace and also pulls in the arglist and doc metadata.
I noticed when looking at the implementation of
assign
that there was a nice docstring for it, but that it gets lost when re-def
-ed instatecharts.core
. Even for the functions without docstrings my editor provides a nice arglist hint that is pretty useful, which is missing for thestatecharts.core
vars.I'm not sure if there's a way to automatically assign the docstrings to another var, but you can do it manually like this:
The text was updated successfully, but these errors were encountered: