Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert FindRefs command to ROP #529

Merged
merged 3 commits into from
Jan 8, 2015
Merged

Conversation

mexx
Copy link
Member

@mexx mexx commented Jan 7, 2015

related to #464

@forki
Copy link
Member

forki commented Jan 8, 2015

LGTM

forki added a commit that referenced this pull request Jan 8, 2015
Convert FindRefs command to ROP
@forki forki merged commit b3619b5 into fsprojects:master Jan 8, 2015
@@ -284,6 284,27 @@ module LockFileParser =
/// Allows to parse and analyze paket.lock files.
type LockFile(fileName:string,options,resolution:PackageResolution,remoteFiles:ResolvedSourceFile list) =

let dependenciesByPackageLazy = lazy (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why lazy? Can't be just a unit -> map function?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Memorization, it only needs to be calculated once.

@theimowski
Copy link
Member

nice 👍

@mexx mexx deleted the rop-find-refs branch January 8, 2015 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants