Created
June 6, 2016 13:03
-
-
Save bcambel/2ce1d41b65829e203942e451a3fd86a9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| (defmulti transformer-func | |
| (fn[structure] | |
| (:f structure))) | |
| (defmethod transformer-func :url | |
| [structure] | |
| ((:url transformators) (:data structure))) | |
| (defmethod transformer-func :data | |
| [structure] | |
| ((:data transformators) (:data structure))) | |
| (defmethod transformer-func :ip | |
| [structure] | |
| ((:ip transformators) (:data structure))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment