Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Function that returns an error can be pure #40

Description

@SHND

Instead of

A function that returns errors or throws exceptions is an example of a partial function.

Maybe we should remove the returns error part:

A function that throws exceptions is an example of a partial function.

If a function returns an error it may still be pure.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions