Created
May 28, 2010 21:43
-
-
Save pcwalton/417796 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
let deps = [ | |
("a", []), ("b", []), ("c", [ "a", "b" ]), ("d", [ "b" ]), ("e", [ "d" ]) | |
] in | |
let data = List.map (fun r -> r, new mock_package (fst r) (snd r)) deps in | |
let pkgs = Core_hashtbl.of_alist data in | |
let [ a, b, c, d, e ] = List.map snd data in | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment