Skip to content

Duplicates and naming #325

Description

@Evangelink

Hi,

First of all, thank you for this helpful library.

I'd like to report here a duplication of the same method with 3 names (ofBoolAndValue, fromTryPattern, tryParseWith).
let a = Double.TryParse "2" |> Option.ofBoolAndValue
let b = Option.fromTryPattern Double.TryParse "2"
let c = Option.tryParseWith Double.TryParse "2"

Also, I was wondering if you should not rename the Option.concat to Option.flatten or Option.switch (to look like Observable.switch) because the name is quite misleading and actually doesn't concat some options.

Cheers

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions