repo
stringlengths
7
63
file_url
stringlengths
81
284
file_path
stringlengths
5
200
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:02:33
2026-01-05 05:24:06
truncated
bool
2 classes
mohamedsabil83/filament-forms-tinyeditor
https://github.com/mohamedsabil83/filament-forms-tinyeditor/blob/a3af2c30d99e4c6e5ce5c1605f769ca4ed108195/tests/ExampleTest.php
tests/ExampleTest.php
<?php it('can test', function () { expect(true)->toBeTrue(); });
php
MIT
a3af2c30d99e4c6e5ce5c1605f769ca4ed108195
2026-01-05T02:19:15.856192Z
false
mohamedsabil83/filament-forms-tinyeditor
https://github.com/mohamedsabil83/filament-forms-tinyeditor/blob/a3af2c30d99e4c6e5ce5c1605f769ca4ed108195/config/filament-forms-tinyeditor.php
config/filament-forms-tinyeditor.php
<?php return [ /* |-------------------------------------------------------------------------- | Profiles |-------------------------------------------------------------------------- | | You can add as many as you want of profiles to use it in your application. | */ 'profiles' => [ ...
php
MIT
a3af2c30d99e4c6e5ce5c1605f769ca4ed108195
2026-01-05T02:19:15.856192Z
false
mohamedsabil83/filament-forms-tinyeditor
https://github.com/mohamedsabil83/filament-forms-tinyeditor/blob/a3af2c30d99e4c6e5ce5c1605f769ca4ed108195/resources/views/tiny-editor.blade.php
resources/views/tiny-editor.blade.php
<x-dynamic-component :component="$getFieldWrapperView()" :field="$field" class="relative z-0" > <div x-data="{ state: $wire.entangle('{{ $getStatePath() }}'), initialized: false }" x-load-js="[@js(\Filament\Support\Facades\FilamentAsset::getScriptSrc($getLanguageId(), 'mohamedsabil83/fil...
php
MIT
a3af2c30d99e4c6e5ce5c1605f769ca4ed108195
2026-01-05T02:19:15.856192Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/linker.php
linker.php
<?php declare(strict_types=1); use Doc\DocLinker; require_once 'vendor/autoload.php'; $linker = new DocLinker(); $linker->link(__DIR__ . '/src/Doc/Md/*/'); return 0;
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Assertion.php
src/Fp/Functional/Assertion.php
<?php declare(strict_types=1); namespace Fp\Functional; /** * @template T */ interface Assertion { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/WithExtensions.php
src/Fp/Functional/WithExtensions.php
<?php namespace Fp\Functional; use Closure; use Error; trait WithExtensions { /** @var array<non-empty-string, (Closure(object, mixed...): mixed)> */ private static array $instanceExtensions = []; /** @var array<non-empty-string, (Closure(mixed...): mixed)> */ private static array $staticExtensions ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Unit.php
src/Fp/Functional/Unit.php
<?php declare(strict_types=1); namespace Fp\Functional; final class Unit { private static ?Unit $instance = null; private function __construct() { } public static function getInstance(): Unit { return null === self::$instance ? self::$instance = new Unit() : ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Separated/SeparatedExtensions.php
src/Fp/Functional/Separated/SeparatedExtensions.php
<?php declare(strict_types=1); namespace Fp\Functional\Separated; use Fp\Functional\WithExtensions; /** * @template-covariant L * @template-covariant R */ final class SeparatedExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Separated/Separated.php
src/Fp/Functional/Separated/Separated.php
<?php declare(strict_types=1); namespace Fp\Functional\Separated; use Fp\Collections\Collection; use Fp\Functional\Either\Either; use Fp\Operations\ToStringOperation; use Fp\Psalm\Hook\MethodReturnTypeProvider\SeparatedToEitherMethodReturnTypeProvider; /** * @template-covariant L * @template-covariant R * * @ps...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Option/None.php
src/Fp/Functional/Option/None.php
<?php declare(strict_types=1); namespace Fp\Functional\Option; /** * @extends Option<never> */ final class None extends Option { private static ?None $instance = null; public static function getInstance(): None { return null === self::$instance ? self::$instance = new None() : self::$instance;...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Option/OptionExtensions.php
src/Fp/Functional/Option/OptionExtensions.php
<?php declare(strict_types=1); namespace Fp\Functional\Option; use Fp\Functional\WithExtensions; /** * @template-covariant A */ final class OptionExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Option/Option.php
src/Fp/Functional/Option/Option.php
<?php declare(strict_types=1); namespace Fp\Functional\Option; use Closure; use Error; use Fp\Collections\ArrayList; use Fp\Functional\Either\Either; use Fp\Functional\Either\Left; use Fp\Functional\Either\Right; use Fp\Operations\ToStringOperation; use Fp\Psalm\Hook\MethodReturnTypeProvider\MapTapNMethodReturnTypeP...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Option/Some.php
src/Fp/Functional/Option/Some.php
<?php declare(strict_types=1); namespace Fp\Functional\Option; /** * @template-covariant A * @extends Option<A> * * @psalm-suppress InvalidTemplateParam */ final class Some extends Option { /** * @param A $value */ public function __construct( private readonly mixed $value, ) {} ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Either/EitherExtensions.php
src/Fp/Functional/Either/EitherExtensions.php
<?php declare(strict_types=1); namespace Fp\Functional\Either; use Fp\Functional\WithExtensions; /** * @template-covariant L * @template-covariant R */ final class EitherExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Either/Right.php
src/Fp/Functional/Either/Right.php
<?php declare(strict_types=1); namespace Fp\Functional\Either; /** * @template-covariant R * @extends Either<never, R> * * @psalm-suppress InvalidTemplateParam */ final class Right extends Either { /** * @param R $value */ public function __construct( private readonly mixed $value, ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Either/Either.php
src/Fp/Functional/Either/Either.php
<?php declare(strict_types=1); namespace Fp\Functional\Either; use Closure; use Throwable; use Generator; use Fp\Collections\ArrayList; use Fp\Functional\Option\Option; use Fp\Operations\ToStringOperation; use Fp\Psalm\Hook\MethodReturnTypeProvider\EitherGetReturnTypeProvider; use Fp\Psalm\Hook\MethodReturnTypeProvi...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Functional/Either/Left.php
src/Fp/Functional/Either/Left.php
<?php declare(strict_types=1); namespace Fp\Functional\Either; /** * @template-covariant L * @extends Either<L, never> * * @psalm-suppress InvalidTemplateParam */ final class Left extends Either { /** * @param L $value */ public function __construct( private readonly mixed $value, ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/Nil.php
src/Fp/Collections/Nil.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @extends LinkedList<empty> */ final class Nil extends LinkedList { private static ?Nil $instance = null; public static function getInstance(): Nil { return null === self::$instance ? self::$instance = new Nil() : self::$instance; ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyLinkedListExtensions.php
src/Fp/Collections/NonEmptyLinkedListExtensions.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\WithExtensions; /** * @template-covariant TV */ final class NonEmptyLinkedListExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/Collection.php
src/Fp/Collections/Collection.php
<?php declare(strict_types=1); namespace Fp\Collections; use Countable; use IteratorAggregate; /** * @template-covariant TK * @template-covariant TV * @extends IteratorAggregate<TK, TV> */ interface Collection extends IteratorAggregate, Countable { public function toString(): string; public function __...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySetOps.php
src/Fp/Collections/NonEmptySetOps.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV * @extends NonEmptySetChainableOps<TV> * @extends NonEmptySetTerminalOps<TV> * @extends NonEmptySetCastableOps<TV> */ interface NonEmptySetOps extends NonEmptySetChainableOps, NonEmptySetTerminalOps, NonEmptySetCastableOps { ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyHashSet.php
src/Fp/Collections/NonEmptyHashSet.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations as Ops; use Fp\Operations\FoldOperation; use Fp\Streams\Stream; use Iterator; use function Fp\Callable\dropFirstArg; /** * @template-co...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SeqTerminalOps.php
src/Fp/Collections/SeqTerminalOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations\FoldOperation; use Fp\Psalm\Hook\MethodReturnTypeProvider\FoldMethodReturnTypeProvider; use Fp\Psalm\Hook\MethodReturnTypeProvider\MapTap...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SeqChainableOps.php
src/Fp/Collections/SeqChainableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; use Fp\Psalm\Hook\MethodReturnTypeProvider\CollectionFilterMethodReturnTypeProvider; use Fp\Psalm\Hook\MethodReturnTypeProvider\MapTapNMethodReturnTypeProvider; /** * @template-covariant TV * * @psalm-suppress InvalidTempla...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySeqCollector.php
src/Fp/Collections/NonEmptySeqCollector.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; /** * @template-covariant TV */ interface NonEmptySeqCollector { /** * ```php * >>> NonEmptyArrayList::collect([1, 2]); * => Some(NonEmptyArrayList(1, 2)) * * >>> NonEmptyArrayList::collect([]); ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/HashComparator.php
src/Fp/Collections/HashComparator.php
<?php declare(strict_types=1); namespace Fp\Collections; use UnitEnum; use BackedEnum; use Fp\Functional\Option\Option; use function Fp\Util\jsonEncode; use function Fp\Collection\map; use function Fp\Evidence\proveOf; /** * @internal */ final class HashComparator { public static function hashEquals(mixed $l...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SeqCastableOps.php
src/Fp/Collections/SeqCastableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; use Fp\Streams\Stream; /** * @template-covariant TV */ interface SeqCastableOps { /** * ```php * >>> ArrayList::collect([1, 2])->toList(); * => [1, 2] * ``` * * @return list<TV> */ ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/LinkedListIterator.php
src/Fp/Collections/LinkedListIterator.php
<?php declare(strict_types=1); namespace Fp\Collections; use Iterator; /** * @internal * @template TV * @implements Iterator<int, TV> */ final class LinkedListIterator implements Iterator { private LinkedList $originalList; private LinkedList $list; private int $idx; /** * @param LinkedLis...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyArrayList.php
src/Fp/Collections/NonEmptyArrayList.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations as Ops; use Fp\Operations\FoldOperation; use Fp\Streams\Stream; use Iterator; use function Fp\Callable\dropFirstArg; /** * @template-co...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SeqOps.php
src/Fp/Collections/SeqOps.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV * @extends SeqChainableOps<TV> * @extends SeqTerminalOps<TV> * @extends SeqCastableOps<TV> */ interface SeqOps extends SeqChainableOps, SeqTerminalOps, SeqCastableOps { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SetChainableOps.php
src/Fp/Collections/SetChainableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; use Fp\Psalm\Hook\MethodReturnTypeProvider\CollectionFilterMethodReturnTypeProvider; use Fp\Psalm\Hook\MethodReturnTypeProvider\MapTapNMethodReturnTypeProvider; /** * @template-covariant TV * * @psalm-suppress InvalidTempla...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/HashSet.php
src/Fp/Collections/HashSet.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Separated\Separated; use Fp\Operations as Ops; use Fp\Functional\Option\Option; use Fp\Streams\Stream; use Iterator; use function Fp\Callable\dropFirstArg; use function Fp\Callable\toSafeClosure; use function...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/LinkedListBuffer.php
src/Fp/Collections/LinkedListBuffer.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * Provides constant time append to list * * @template TV */ final class LinkedListBuffer { /** * @var LinkedList<TV> */ private LinkedList $first; /** * @var null|Cons<TV> */ private ?Cons $last; private int $l...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/Set.php
src/Fp/Collections/Set.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV * @extends Collection<int, TV> * @extends SetOps<TV> * @extends SetCollector<TV> */ interface Set extends Collection, SetOps, SetCollector { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/ArrayList.php
src/Fp/Collections/ArrayList.php
<?php declare(strict_types=1); namespace Fp\Collections; use ArrayIterator; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations as Ops; use Fp\Operations\FoldOperation; use Fp\Streams\Stream; use Iterator; use function Fp\Callable\dropFirstArg; ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/LinkedList.php
src/Fp/Collections/LinkedList.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Separated\Separated; use Fp\Operations as Ops; use Fp\Functional\Option\Option; use Fp\Operations\FoldOperation; use Fp\Streams\Stream; use Iterator; use function Fp\Callable\dropFirstArg; use function Fp\Cal...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/MapChainableOps.php
src/Fp/Collections/MapChainableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; use Fp\Psalm\Hook\MethodReturnTypeProvider\CollectionFilterMethodReturnTypeProvider; use Fp\Psalm\Hook\MethodReturnTypeProvider\MapTapNMethodReturnTypeProvider; /** * @template-covariant TK * @template-covariant TV * * @ps...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySeqOps.php
src/Fp/Collections/NonEmptySeqOps.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV * @extends NonEmptySeqChainableOps<TV> * @extends NonEmptySeqTerminalOps<TV> * @extends NonEmptySeqCastableOps<TV> */ interface NonEmptySeqOps extends NonEmptySeqChainableOps, NonEmptySeqTerminalOps, NonEmptySeqCastableOps { ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyMap.php
src/Fp/Collections/NonEmptyMap.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TK * @template-covariant TV * @extends NonEmptyCollection<TK, TV> * @extends NonEmptyMapOps<TK, TV> * @extends NonEmptyMapCollector<TK, TV> */ interface NonEmptyMap extends NonEmptyCollection, NonEmptyMapOps, NonEmptyMapCollecto...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyLinkedList.php
src/Fp/Collections/NonEmptyLinkedList.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations as Ops; use Fp\Operations\FoldOperation; use Fp\Streams\Stream; use Iterator; use function Fp\Callable\dropFirstArg; /** * @template-co...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/ArrayListExtensions.php
src/Fp/Collections/ArrayListExtensions.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\WithExtensions; /** * @template-covariant TV */ final class ArrayListExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SetOps.php
src/Fp/Collections/SetOps.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV * @extends SetChainableOps<TV> * @extends SetTerminalOps<TV> * @extends SetCastableOps<TV> */ interface SetOps extends SetChainableOps, SetTerminalOps, SetCastableOps { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/MapOps.php
src/Fp/Collections/MapOps.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TK * @template-covariant TV * @extends MapChainableOps<TK, TV> * @extends MapTerminalOps<TK, TV> * @extends MapCastableOps<TK, TV> */ interface MapOps extends MapChainableOps, MapTerminalOps, MapCastableOps { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySeqTerminalOps.php
src/Fp/Collections/NonEmptySeqTerminalOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations\FoldOperation; use Fp\Psalm\Hook\MethodReturnTypeProvider\FoldMethodReturnTypeProvider; /** * @template-covariant TV * * @psalm-suppr...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/HashContract.php
src/Fp/Collections/HashContract.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * ```php * class Foo implements HashContract * { * public function __construct(public int $a, public bool $b = true, public bool $c = true) * { * } * * public function equals(mixed $that): bool * { * return $that insta...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/MapCastableOps.php
src/Fp/Collections/MapCastableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; use Fp\Streams\Stream; /** * @template-covariant TK * @template-covariant TV */ interface MapCastableOps { /** * ```php * >>> HashMap::collect(['a' => 1, 'b' => 2])->toList(); * => [['a', 1], ['b', 2]] ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/MapCollector.php
src/Fp/Collections/MapCollector.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TK * @template-covariant TV */ interface MapCollector { /** * ```php * >>> HashMap::empty()->toList(); * => [] * ``` * * @return HashMap<empty, empty> */ public static function empty(): Ha...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyArrayListExtensions.php
src/Fp/Collections/NonEmptyArrayListExtensions.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\WithExtensions; /** * @template-covariant TV */ final class NonEmptyArrayListExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/HashTable.php
src/Fp/Collections/HashTable.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; use Generator; /** * @internal * * @template TK * @template TV * * @psalm-type hash = string */ final class HashTable { /** * @var array<hash, list<array{TK, TV}>> */ public array $table = []; pub...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyMapChainableOps.php
src/Fp/Collections/NonEmptyMapChainableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Psalm\Hook\MethodReturnTypeProvider\MapTapNMethodReturnTypeProvider; /** * @template-covariant TK * @template-covariant TV * * @psalm-suppress InvalidTemplateParam */ interface NonEmptyMapChainableOps { /** * Produces new collection with ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/LinkedListExtensions.php
src/Fp/Collections/LinkedListExtensions.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\WithExtensions; /** * @template-covariant TV */ final class LinkedListExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SeqCollector.php
src/Fp/Collections/SeqCollector.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV */ interface SeqCollector { /** * ```php * >>> LinkedList::collect([1, 2]); * => LinkedList(1, 2) * ``` * * @template TVI * * @param (iterable<mixed, TVI>|Collection<mixed, TVI>) $sourc...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyMapTerminalOps.php
src/Fp/Collections/NonEmptyMapTerminalOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations\FoldOperation; use Fp\Psalm\Hook\MethodReturnTypeProvider\FoldMethodReturnTypeProvider; /** * @template-covariant TK * @template-covar...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SetTerminalOps.php
src/Fp/Collections/SetTerminalOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations\FoldOperation; use Fp\Psalm\Hook\MethodReturnTypeProvider\FoldMethodReturnTypeProvider; /** * @template-covariant TV * * @psalm-suppr...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySetTerminalOps.php
src/Fp/Collections/NonEmptySetTerminalOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations\FoldOperation; use Fp\Psalm\Hook\MethodReturnTypeProvider\FoldMethodReturnTypeProvider; /** * @template-covariant TV * * @psalm-suppr...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySetCollector.php
src/Fp/Collections/NonEmptySetCollector.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; /** * @template-covariant TV */ interface NonEmptySetCollector { /** * @template TVI * * @param (iterable<mixed, TVI>|Collection<mixed, TVI>) $source * @return Option<NonEmptySet<TVI>> */ pub...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/HashContractGlobal.php
src/Fp/Collections/HashContractGlobal.php
<?php declare(strict_types=1); namespace Fp\Collections; use Closure; use Fp\Functional\Option\Option; use function Fp\Collection\at; use function Fp\Evidence\proveObject; final class HashContractGlobal implements HashContract { /** * @var array<class-string, array{ * equals: Closure(object, mixed...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/HashMap.php
src/Fp/Collections/HashMap.php
<?php declare(strict_types=1); namespace Fp\Collections; use Generator; use Fp\Operations as Ops; use Fp\Functional\Option\Option; use Fp\Functional\Either\Either; use Fp\Functional\Separated\Separated; use Fp\Streams\Stream; use function Fp\Callable\toSafeClosure; use function Fp\Cast\asList; use function Fp\Cast\...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyMapCollector.php
src/Fp/Collections/NonEmptyMapCollector.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; /** * @template-covariant TK * @template-covariant TV */ interface NonEmptyMapCollector { /** * ```php * >>> NonEmptyHashMap::collect(['a' => 1, 'b' => 2]); * => NonEmptyHashMap('a' -> 1, 'b' -> 2) ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySeqChainableOps.php
src/Fp/Collections/NonEmptySeqChainableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Psalm\Hook\MethodReturnTypeProvider\MapTapNMethodReturnTypeProvider; /** * @template-covariant TV * * @psalm-suppress InvalidTemplateParam */ interface NonEmptySeqChainableOps { /** * Add element to the collection end * * ```php ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySetChainableOps.php
src/Fp/Collections/NonEmptySetChainableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Psalm\Hook\MethodReturnTypeProvider\MapTapNMethodReturnTypeProvider; /** * @template-covariant TV * * @psalm-suppress InvalidTemplateParam */ interface NonEmptySetChainableOps { /** * Produces new set with given element included * ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/Map.php
src/Fp/Collections/Map.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TK * @template-covariant TV * @extends Collection<TK, TV> * @extends MapOps<TK, TV> * @extends MapCollector<TK, TV> */ interface Map extends Collection, MapOps, MapCollector { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySetCastableOps.php
src/Fp/Collections/NonEmptySetCastableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Streams\Stream; /** * @template-covariant TV */ interface NonEmptySetCastableOps { /** * ```php * >>> NonEmptyHashSet::collectNonEmpty([1, 2, 2])->toList(); * => [1, 2] * ``` * * @return list<TV> */ public f...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyMapOps.php
src/Fp/Collections/NonEmptyMapOps.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TK * @template-covariant TV * @extends NonEmptyMapChainableOps<TK, TV> * @extends NonEmptyMapTerminalOps<TK, TV> * @extends NonEmptyMapCastableOps<TK, TV> */ interface NonEmptyMapOps extends NonEmptyMapChainableOps, NonEmptyMapT...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySeqCastableOps.php
src/Fp/Collections/NonEmptySeqCastableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Streams\Stream; /** * @template-covariant TV */ interface NonEmptySeqCastableOps { /** * ```php * >>> NonEmptyArrayList::collectNonEmpty([1, 2])->toList(); * => [1, 2] * ``` * * @return list<TV> */ public fu...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySeq.php
src/Fp/Collections/NonEmptySeq.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV * @extends NonEmptyCollection<int, TV> * @extends NonEmptySeqOps<TV> * @extends NonEmptySeqCollector<TV> */ interface NonEmptySeq extends NonEmptyCollection, NonEmptySeqOps, NonEmptySeqCollector { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyHashMap.php
src/Fp/Collections/NonEmptyHashMap.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations as Ops; use Fp\Operations\FoldOperation; use Fp\Streams\Stream; use Generator; use function Fp\Callable\dropFirstArg; use function Fp\Ca...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/Cons.php
src/Fp/Collections/Cons.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV * @extends LinkedList<TV> */ final class Cons extends LinkedList { /** * @param TV $head * @param LinkedList<TV> $tail */ public function __construct(public mixed $head, public LinkedList $tail) { ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyCollection.php
src/Fp/Collections/NonEmptyCollection.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TK * @template-covariant TV * @extends Collection<TK, TV> */ interface NonEmptyCollection extends Collection { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/Seq.php
src/Fp/Collections/Seq.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * Ordered list of elements * * @template-covariant TV * @extends Collection<int, TV> * @extends SeqOps<TV> * @extends SeqCollector<TV> */ interface Seq extends Collection, SeqOps, SeqCollector { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/HashMapExtensions.php
src/Fp/Collections/HashMapExtensions.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\WithExtensions; /** * @template TK * @template-covariant TV */ final class HashMapExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SetCastableOps.php
src/Fp/Collections/SetCastableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Option\Option; use Fp\Streams\Stream; /** * @template-covariant TV */ interface SetCastableOps { /** * ```php * >>> HashSet::collect([1, 2, 2])->toList(); * => [1, 2] * ``` * * @return list<TV> */ ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyMapCastableOps.php
src/Fp/Collections/NonEmptyMapCastableOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Streams\Stream; /** * @template-covariant TK * @template-covariant TV */ interface NonEmptyMapCastableOps { /** * ```php * >>> NonEmptyHashMap::collectNonEmpty(['a' => 1, 'b' => 2])->toList(); * => [['a', 1], ['b', 2]] * ``` ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyHashMapExtensions.php
src/Fp/Collections/NonEmptyHashMapExtensions.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\WithExtensions; /** * @template TK * @template-covariant TV */ final class NonEmptyHashMapExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/SetCollector.php
src/Fp/Collections/SetCollector.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV */ interface SetCollector { /** * ```php * >>> HashSet::collect([1, 2]); * => HashSet(1, 2) * ``` * * @template TVI * * @param (iterable<mixed, TVI>|Collection<mixed, TVI>) $source ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptyHashSetExtensions.php
src/Fp/Collections/NonEmptyHashSetExtensions.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\WithExtensions; /** * @template-covariant TV */ final class NonEmptyHashSetExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/NonEmptySet.php
src/Fp/Collections/NonEmptySet.php
<?php declare(strict_types=1); namespace Fp\Collections; /** * @template-covariant TV * @extends NonEmptyCollection<int, TV> * @extends NonEmptySetOps<TV> * @extends NonEmptySetCollector<TV> */ interface NonEmptySet extends NonEmptyCollection, NonEmptySetOps, NonEmptySetCollector { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/MapTerminalOps.php
src/Fp/Collections/MapTerminalOps.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\Either\Either; use Fp\Functional\Option\Option; use Fp\Functional\Separated\Separated; use Fp\Operations\FoldOperation; use Fp\Psalm\Hook\MethodReturnTypeProvider\FoldMethodReturnTypeProvider; /** * @template-covariant TK * @template-covar...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Collections/HashSetExtensions.php
src/Fp/Collections/HashSetExtensions.php
<?php declare(strict_types=1); namespace Fp\Collections; use Fp\Functional\WithExtensions; /** * @template-covariant TV */ final class HashSetExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Streams/StreamChainableOps.php
src/Fp/Streams/StreamChainableOps.php
<?php declare(strict_types=1); namespace Fp\Streams; use Fp\Collections\Collection; use Fp\Collections\Seq; use Fp\Functional\Option\Option; /** * @template-covariant TV * * @psalm-suppress InvalidTemplateParam */ interface StreamChainableOps { /** * Add element to the stream end * * ```php ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Streams/Stream.php
src/Fp/Streams/Stream.php
<?php declare(strict_types=1); namespace Fp\Streams; use Fp\Collections\ArrayList; use Fp\Collections\Collection; use Fp\Collections\HashMap; use Fp\Collections\HashSet; use Fp\Collections\LinkedList; use Fp\Collections\NonEmptyArrayList; use Fp\Collections\NonEmptyHashMap; use Fp\Collections\NonEmptyHashSet; use Fp...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Streams/StreamTerminalOps.php
src/Fp/Streams/StreamTerminalOps.php
<?php declare(strict_types=1); namespace Fp\Streams; use Fp\Collections\Map; use Fp\Functional\Option\Option; use Fp\Operations\FoldOperation; /** * @template-covariant TV * * @psalm-suppress InvalidTemplateParam */ interface StreamTerminalOps { /** * Returns true if every stream element satisfy the co...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Streams/StreamExtensions.php
src/Fp/Streams/StreamExtensions.php
<?php declare(strict_types=1); namespace Fp\Streams; use Fp\Functional\WithExtensions; /** * @template-covariant TV */ final class StreamExtensions { use WithExtensions; }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Streams/StreamEmitter.php
src/Fp/Streams/StreamEmitter.php
<?php declare(strict_types=1); namespace Fp\Streams; use Fp\Collections\Collection; use Fp\Functional\Unit; /** * @template-covariant TV * * @psalm-suppress InvalidTemplateParam */ interface StreamEmitter { /** * Create singleton stream with one element * * ```php * >>> Stream::emit(1)->...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Streams/StreamOps.php
src/Fp/Streams/StreamOps.php
<?php declare(strict_types=1); namespace Fp\Streams; /** * @template-covariant TV * @extends StreamChainableOps<TV> * @extends StreamTerminalOps<TV> * @extends StreamCastableOps<TV> */ interface StreamOps extends StreamChainableOps, StreamTerminalOps, StreamCastableOps { }
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Streams/StreamCastableOps.php
src/Fp/Streams/StreamCastableOps.php
<?php declare(strict_types=1); namespace Fp\Streams; use Fp\Collections\ArrayList; use Fp\Collections\HashMap; use Fp\Collections\HashSet; use Fp\Collections\LinkedList; use Fp\Collections\NonEmptyArrayList; use Fp\Collections\NonEmptyHashMap; use Fp\Collections\NonEmptyHashSet; use Fp\Collections\NonEmptyLinkedList...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/RepeatNOperation.php
src/Fp/Operations/RepeatNOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Fp\Collections\ArrayList; use Generator; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class RepeatNOperation extends AbstractOperation { /** * @return Generator<int, TV> */ public function __invok...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/PartitionOperation.php
src/Fp/Operations/PartitionOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Fp\Functional\Separated\Separated; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class PartitionOperation extends AbstractOperation { /** * @param callable(TK, TV): bool $predicate * @return Separated<...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/ExistsOperation.php
src/Fp/Operations/ExistsOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class ExistsOperation extends AbstractOperation { /** * @param callable(TK, TV): bool $f */ public function __invoke(callable $f): bool { $exist...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/TailOperation.php
src/Fp/Operations/TailOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Generator; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class TailOperation extends AbstractOperation { /** * @return Generator<TK, TV> */ public function __invoke(): Generator { $isFi...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/MaxElementOperation.php
src/Fp/Operations/MaxElementOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Fp\Functional\Option\Option; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class MaxElementOperation extends AbstractOperation { /** * @return Option<TV> */ public function __invoke(): Option {...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/FoldOperation.php
src/Fp/Operations/FoldOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; /** * @template A * @template TInit */ final class FoldOperation { /** * @param iterable<A> $iterator * @param TInit $init */ public function __construct( public iterable $iterator, public mixed $init, ) {} /**...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/FlatMapOperation.php
src/Fp/Operations/FlatMapOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Generator; use Fp\Collections\Collection; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class FlatMapOperation extends AbstractOperation { /** * @template TKO * @template TVO * * @param calla...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/LastMapOperation.php
src/Fp/Operations/LastMapOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Fp\Functional\Option\Option; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class LastMapOperation extends AbstractOperation { /** * @template TVO * * @param callable(TK, TV): Option<TVO> $f *...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/TraverseEitherMergedOperation.php
src/Fp/Operations/TraverseEitherMergedOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Closure; use Fp\Collections\HashTable; use Fp\Functional\Either\Either; use Generator; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class TraverseEitherMergedOperation extends AbstractOperation { /** * @te...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/PartitionMapOperation.php
src/Fp/Operations/PartitionMapOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Fp\Functional\Either\Either; use Fp\Functional\Separated\Separated; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class PartitionMapOperation extends AbstractOperation { /** * @template L * @template R...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/HeadOperation.php
src/Fp/Operations/HeadOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Fp\Functional\Option\Option; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class HeadOperation extends AbstractOperation { /** * @return Option<TV> */ public function __invoke(): Option { ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/FilterMapOperation.php
src/Fp/Operations/FilterMapOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Fp\Functional\Option\Option; use Generator; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class FilterMapOperation extends AbstractOperation { /** * @template TVO * * @param callable(TK, TV): Opti...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/FirstOperation.php
src/Fp/Operations/FirstOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Fp\Functional\Option\Option; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class FirstOperation extends AbstractOperation { /** * @param null|callable(TK, TV): bool $f * @return Option<TV> */ ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false
fp4php/functional
https://github.com/fp4php/functional/blob/93eee663d7cd50400fa3a440553fd67fbcd4d47f/src/Fp/Operations/DropWhileOperation.php
src/Fp/Operations/DropWhileOperation.php
<?php declare(strict_types=1); namespace Fp\Operations; use Generator; /** * @template TK * @template TV * * @extends AbstractOperation<TK, TV> */ final class DropWhileOperation extends AbstractOperation { /** * @template TKO * * @param callable(TK, TV): bool $f * @return Generator<TK, ...
php
MIT
93eee663d7cd50400fa3a440553fd67fbcd4d47f
2026-01-05T02:19:24.532501Z
false