Created
October 17, 2017 00:39
-
-
Save nberger/26c3da4a488a8f85c960cdc2c23ea48c 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
;; Example Machfile (https://github.com/juxt/mach) | |
;; Install: npm install -g @juxt/mach | |
;; Run: mach hibye | |
;; I'd like it to print hallo then bye, but it prints bye then hallo. | |
;; This is because it does a reverse topological sort. It would be | |
;; nice if it does a stable reverse topological sort instead, where | |
;; {depends [hallo bye]} would give a hint that the user wants hallo | |
;; to come before bye, even though there is no explicit dependency | |
{ | |
hallo (println "Hola ClojureBA") | |
bye (println "Chau ClojureBA") | |
hibye {depends [hallo bye]} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment