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

Allow bind call without closure · Issue #2 · fp4php/fp4php · GitHub

/ fp4php Public

Allow bind call without closure #2

Description

This should be possible:

<?php

declare(strict_types=1);

use Fp4\PHP\ArrayList;
use function Fp4\PHP\Combinator\pipe;

$listA = [
    'i1', 'i2', 'i3',
];

$listB = [
    'f1', 'f2',
];

pipe(
    ArrayList\bindable(),
    ArrayList\bind(
        a: $listA,
        b: $listB,
    ),
);

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