Skip to content

Special functions (pure, bind): namespaced #2

@Janiczek

Description

@Janiczek

Instead of

module Logger {
  pure(a: a): Logger[a] = ...
}

we should make these special syntax (not names usually available to users), without making them reserved words.

Eg.

module Logger {
  Cara.pure(a: a): Logger[a] = ...
}

or

module Logger {
  `pure`(a: a): Logger[a] = ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions