FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Bindable should not be a public api · Issue #5 · fp4php/fp4php · GitHub

/ fp4php Public

Bindable should not be a public api #5

Description

return pipe(
    Option\bindable(),
    Option\bind(num: fn() => Option\some(42)),
    // Should be warning here. With `object` typehint should not.
    Option\map(fn (Bindable $i) => $i->num),
);

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL