Skip to content

Consider renaming/deprecating of 'ForEach' into 'Apply'? #11

@Miragecoder

Description

@Miragecoder

I am aware of the benefits of having the 'Option'-type implement IEnumerable. However, is there a specific reason why the 'ForEach'-method is titled as such? In a codebase I'm currently working in it unfortunately conflicts with a 'roll-your-own'-implementation of a LINQ-style 'ForEach'-extension method.

My opinion is obviously subjective and biased, but I was wondering why the name 'ForEach' was settled. I could not find 'ForEach' being used in F# either. 'Apply' feels like the better choice.

I love this library though; it's awesome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions