Skip to content

The arguments for startsWith are back-to-front. #1

@robertmassaioli

Description

@robertmassaioli

Just try and read these two statements:

> "hello" `startsWith` "hello world"
true

And:

> "hello world" `startsWith` "hello"
false

I would expect the opposite results. It seems to break the standard pattern in Haskell and Purescript whereby the infix notation should read legibly as a sentence.

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