-
-
Save metamorph/e1eb70ae65f5451aeefc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defn func-info-handler [input] | |
(if (= "FuncInfo" (:type input)) | |
(if-let [[_ c] (re-matches (re-pattern "([^:]+):.*") (:data input))] | |
(assoc input :func-class c) | |
input) | |
input)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment