Skip to content
This repository was archived by the owner on Jun 6, 2021. It is now read-only.
This repository was archived by the owner on Jun 6, 2021. It is now read-only.

Exploration of predicates #9

@sudojunior

Description

@sudojunior

Making refererence to Ramda with their own implementations, it may be possible to forcefully extend from the current architecture to allow for argument recall attempts to be made before going ahead with running the protocol. Though this may prove tricky for type definitions.

Predicates can be declared and assigned after the function has been acknowledged by the runtime...

function validate(origin, args) {}
validate.predicate = curry(2, validate.bind(this));

Would advise caution on dangers of looping code.

compose or pipe would not serve much functionality in this library alone, but may be useful when linking conditions together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationminorSemver minor release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions