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

Utilize Property.set internally #363

Merged
1 commit merged into from
Sep 21, 2021
Merged

Conversation

TysonMN
Copy link
Member

@TysonMN TysonMN commented Sep 21, 2021

No description provided.

@@ -72,7 +72,7 @@ module Property =
let h = g |> Gen.map |> mapGen
h x

let private set (a: 'a) (property : Property<'b>) : Property<'a> =
let internal set (a: 'a) (property : Property<'b>) : Property<'a> =
property |> map (fun _ -> a)
Copy link

Choose a reason for hiding this comment

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

I never caught this until looking at this diff, but should we be using always here?

Copy link
Member Author

Choose a reason for hiding this comment

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

Can you elaborate? What is always?

@ghost ghost merged commit d7886e0 into hedgehogqa:master Sep 21, 2021
@ghost ghost added this to the 0.11.0 milestone Sep 21, 2021
@TysonMN TysonMN deleted the use_Property.set branch September 22, 2021 01:55
This pull request was closed.
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.

1 participant