Created
October 4, 2013 08:30
-
-
Save kjnilsson/6822756 to your computer and use it in GitHub Desktop.
Interop with libraries written in csharp
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 dependencies (package : IPackage) = | |
match package.DependencySets with | |
| null -> [] | |
| sets -> | |
sets | |
|> filterNulls | |
|> Seq.map (fun d -> d.Dependencies) | |
|> filterNulls | |
|> Seq.concat | |
|> filterNulls | |
|> Seq.filter (fun x -> x.VersionSpec <> null) | |
|> Seq.toList |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment