Created
January 3, 2019 09:00
-
-
Save zindel/31c889ee348af9830d973b93daad2fcb 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
let resolveDeps = fix (fun recur -> | |
let%bind _js, reqs = File.compute >>> parse in | |
let%bind deps = return reqs ||> resolve in | |
let%bind depsOfDeps = return deps ||> recur in | |
return (deps @ List.flatten depsOfDeps) | |
) in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment