Skip to content

Commit

Permalink
simplify fix for hedgehogqa#317
Browse files Browse the repository at this point in the history
  • Loading branch information
TysonMN committed Sep 12, 2021
1 parent 736def4 commit 64b5c44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Hedgehog/Linq/Property.fs
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,12 @@ type PropertyExtensions private () =
[<Extension>]
static member Select (property : Property<'T>, mapper : Func<'T, 'TResult>) : Property<'TResult> =
property
|> Property.bind (Property.ofThrowing mapper.Invoke)
|> Property.map mapper.Invoke

[<Extension>]
static member Select (property : Property<'T>, mapper : Action<'T>) : Property =
property
|> Property.bind (Property.ofThrowing mapper.Invoke)
|> Property.map mapper.Invoke
|> Property

[<Extension>]
Expand Down

0 comments on commit 64b5c44

Please sign in to comment.