import { nil } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { init } = nil;
benchmarkscontribexamplesscriptstestingapplicablearrayasyncasync_eitherasync_iterablebimappablebooleancombinablecomparablecomposabledecodereitherfailablefilterableflatmappablefnfn_eitherfoldableidentityinitializableiterablejson_schemamapmappablenewtypenilnumberopticoptionpairpredicatepremappablepromiserefinementschemablesetshowablesortablestatestringsyncsync_eitherthesetraversabletreewrappableKindArrayAnyArrayAnyNonEmptyArrayNonEmptyArrayTypeOfApplicableArraybindbindToFilterableArrayFlatmappableArrayFoldableArrayMappableArraytapTraversableArrayWrappableArray_unsafeAppend_unsafeDeleteAt_unsafeInsertAt_unsafeJoin_unsafePrepend_unsafePush_unsafeUpdateAtaltappendapplyarraybinarySearchcombinedeleteAtfilterfilterMapflatmapfoldgetCombinableArraygetComparableArraygetInitializableArraygetShowableArraygetSortableArrayinitinsertinsertAtisEmptyisNonEmptyisOutOfBoundsjoinlookupmapmodifymodifyAtorderedInsertpartitionpartitionMapprependrangesequencesorttraverseupdateupdateAtwrapzipKindAsyncEitherAsyncEitherApplicableAsyncEitherBimappableAsyncEitherbindbindToFailableAsyncEitherParallelFailableAsyncEitherSequentialFlatmappableAsyncEitherParallelFlatmappableAsyncEitherSequentialMappableAsyncEithertapWrappableAsyncEitheraltapplyapplySequentialfailflatmapflatmapFirstfromAsyncfromEithergetCombinableAsyncEithergetInitializableAsyncEitherleftmapmapSecondmatchrecoverrighttryCatchwrapKindAsyncIterableApplicableAsyncIterablebindbindToFilterableAsyncIterableFlatmappableAsyncIterableMappableAsyncIterabletapWrappableAsyncIterableapplyasyncIterableclonecollectdelayfilterfilterMapflatmapfoldforEachfromIterablemappartitionpartitionMaprangerepeatscantaketakeUntiltakeWhilewrapKindAsyncAsyncApplicableAsyncbindbindToFlatmappableAsyncMappableAsynctapWrappableAsyncapplyapplySequentialdelayflatmapfromSyncgetCombinableAsyncgetInitializableAsyncmaptryCatchwrapCombinableBooleanAllCombinableBooleanAnyComparableBooleanconstFalseconstTrueInitializableBooleanAllInitializableBooleanAnyShowableBooleanSortableBooleanandcompareisBooleanmatchnotorsortCombinableAnyCombinableCombineTypeOfconstantdualfirstfromCombinegetCombineAllintercalcatelastmaxminstructtupleComparableKindComparableKindContraComparableCompareTypeOfbooleannumberSchemableComparablestringunknownarrayfromCompareintersectlazyliteralmethodnullablepartialpremapreadonlyrecordstructthunktupleundefinableunionKindDatumDatumInitialLoadingNonePendingRefreshRepleteSomeApplicableDatumbindbindToFilterableDatumFlatmappableDatuminitialMappableDatumpendingtapTraversableDatumWrappableDatumaltapplyconstInitialconstPendingexistsfilterfilterMapflatmapfoldfromNullablegetCombinableDatumgetComparableDatumgetInitializableDatumgetOrElsegetShowableDatumgetSortableDatumisInitialisLoadingisNoneisPendingisRefreshisRepleteisSomemapmatchpartitionpartitionMaprefreshrepletetoLoadingtraversetryCatchwrapKindDecodedKindDecoderKindUnknownDecoderAnyDecoderDecodedDecodeErrorDecoderIndexIntersectionKeyLeafManyPropertyUnionWrap_null_undefinedApplicableDecoderbindbindTobooleanCombinableDecodeErrorComposableDecoderFlatmappableDecodedFlatmappableDecoderMappableDecodernumberoptionalPremappableDecoderrequiredSchemableDecoderstringtapunknownWrappableDecoderaltannotateapplyarrayarrayNcombinecomposedatedimapdrawfailureflatmapfromDecodeErrorfromPredicateidindexErrinitintersectintersectionErrisIndexisIntersectionisKeyisLeafisManyisUnionisWrapjsonkeyErrlazyleafErrliteralmanyErrmapmatchnullablepartialpremaprecordrefinestructsuccesstupleundefinableunionunionErrunwrapwrapwrapErrKindEitherKindRightEitherEitherLeftRightApplicableEitherBimappableEitherbindbindToFailableEitherFlatmappableEitherFoldableEitherMappableEithertapTraversableEitherWrappableEitheraltapplybimapfailflatmapflatmapFirstfoldfromNullablefromPredicategetCombinableEithergetComparableEithergetFilterableEithergetFlatmappableRightgetInitializableEithergetLeftgetOrElsegetRightgetShowableEithergetSortableEitherisLeftisRightleftmapmapSecondmatchrecoverrightswaptraversetryCatchwrapKindFnEitherKindRightFnEitherAnyFnEitherFnEitherApplicableFnEitherBimappableFnEitherbindbindToComposableFnEitherFailableFnEitherFlatmappableFnEitherMappableFnEitherPremappableFnEithertapWrappableFnEitheraltapplybimapcomposedimapfailflatmapfromEitherfromFnfromPredicategetRightFlatmappableididLeftjoinleftmapmapSecondpremaprecoverrighttryCatchwrapKindFnAnyFnFnApplicableFnbindbindToComposableFnFlatmappableFnMappableFnPremappableFntapWrappableFnapplycomposeconstantcurry2dimapflatmapflowhandleThrowididentitymapmemoizeoverpipepremaptodotryCatchtryThunkunaryuncurry2unsafeCoercewrapKindIdentityIdentityApplicableIdentityFlatmappableIdentityMappableIdentityWrappableIdentityapplyflatmapmapwrapInitializableAnyInitializableTypeOfconstantdualgetCombineAllintercalcatestructtupleKindIterableApplicableIterablebindbindToFilterableIterableFlatmappableIterableFoldableIterableMappableIterabletapWrappableIterableapplyclonecollectcombinefilterfilterMapflatmapfoldforEachgetCombinablegetInitializablegetShowableinititerablemappartitionpartitionMaprangerepeatscantaketakeUntiltakeWhilewrapKindJsonBuilderJsonBuilderJsonSchemaJsonSchemaAllOfJsonSchemaAnyOfJsonSchemaArrayJsonSchemaBooleanJsonSchemaDateJsonSchemaDefinitionsJsonSchemaEnumJsonSchemaNullJsonSchemaNumberJsonSchemaObjectJsonSchemaOneOfJsonSchemaRefJsonSchemaStringJsonSchemaUnknownTypeOfapplyflatmapFlatmappableJsonBuildermapSchemableJsonBuildersequenceArraysequenceRecordwraparraybooleandateintersectlazyliteralnullablenumberpartialprintrecordstringstructtupleundefinableunionunknownKindKeyedReadonlyMapKindReadonlyMapKeyOfTypeOfBimappableMapFoldableMapMappableMapbimapcollectdeleteAtelementriesfoldgetCombinablegetComparablegetFlatmappableReadonlyMapgetShowableinitinsertinsertAtisEmptyisSubmapkeyslookuplookupWithKeymapmapSecondmembermodifymodifyAtpopreadonlyMapsingletonsizeupdateupdateAtvaluesAnyNewtypeNewtypeToValuegetCombinablegetComparablegetInitializablegetSortableisoprismKindNilNilApplicableNilbindbindToFilterableNilFlatmappableNilFoldableNilMappableNiltapTraversableNilWrappableNilaltapplyexistsfailfilterfilterMapflatmapfoldfromOptionfromPredicategetCombinableNilgetComparableNilgetInitializableNilgetOrElsegetShowableNilgetSortableNilinitisNilisNotNilmapmatchnilpartitionpartitionMaptoNulltoUndefinedtraversetryCatchwrapCombinableNumberMaxCombinableNumberMinCombinableNumberProductCombinableNumberSumComparableNumberInitializableNumberMaxInitializableNumberMinInitializableNumberProductInitializableNumberSumShowableNumberSortableNumberaddcomparedividesinitNegInfinitOneinitPosInfinitZeroltemodmultiplysortModifierOpticReviewerViewerAffineFoldAffineTagFoldFoldTagIsoLensLensTagPrismRefoldTagarrayfirstleftnilrecordrightsecondsetsometree_unsafeCastaffineFoldatKeyatMapcombineAllcomposecomposeReviewerfilterfoldfromPredicateidimapindexisokeylensmodifiermodifyopticprismproppropsrefoldreplacereviewreviewertraverseviewviewerwrapKindOptionNoneOptionSomeApplicableOptionbindbindToFilterableOptionFlatmappableOptionFoldableOptionMappableOptionnonetapTraversableOptionWrappableOptionaltapplyconstNoneexistsfailfilterfilterMapflatmapfoldfromNullablefromPredicategetCombinableOptiongetComparableOptiongetInitializableOptiongetOrElsegetShowableOptiongetSortableOptioninitisNoneisSomemapmapNullablematchpartitionpartitionMapsometoNulltoUndefinedtraversetryCatchwrapKindPairKindRightPairPairBimappablePairFoldablePairMappablePairTraversablePairbimapdupfirstfoldgetCombinablePairgetComparablePairgetFirstgetInitializablePairgetRightFlatmappablegetSecondgetShowablePairgetSortablePairmapmapSecondmergemergeSecondpairsecondswaptraverseunwrapKindPredicatePredicateandgetCombinableAllgetCombinableAnygetInitializableAllgetInitializableAnynotorpremapKindPromiseAnyPromiseDeferredTypeOfApplicablePromisebindbindToFlatmappablePromiseMappablePromisetapWrappablePromiseabortableallapplycatchErrordeferreddelayfailflatmapgetCombinablePromisegetInitializablePromisemapracerejectresolvethentryCatchwaitwrapKindReadonlyRecordAnyReadonlyRecordNonEmptyRecordReadonlyRecordTypeOfFilterableRecordFoldableRecordMappableRecordTraversableRecordcollapsecollectdeleteAtdeleteAtWithValueentriesfilterfilterMapfoldgetCombinableRecordgetComparableRecordgetInitializableRecordgetShowableRecordinsertinsertAtisSubrecordkeyslookupAtlookupWithKeymapmodifymodifyAtomitpartitionpartitionMappicksequencetraverseupdateupdateAtKindRefinementKindUnknownRefinementAnyRefinementRefinementToInToOutSchemableRefinementandarraybooleancomposefromEitherfromOptionidintersectisArrayisArrayNisRecordlazyliteralnullablenumberorpartialrecordstringstructtupleundefinableunionunknownArraySchemableBooleanSchemableIntersectSchemableLazySchemableLiteralSchemableNullableSchemableNumberSchemablePartialSchemableRecordSchemableSchemableStringSchemableStructSchemableTupleSchemableUndefinableSchemableUnionSchemableUnknownSchemableLiteralSchemaTypeOfschemaKindReadonlySetTypeOfApplicableSetbindbindToFilterableSetFlatmappableSetFoldableSetMappableSettapTraversableSetWrappableSetapplycompactcopyelemelemOfeveryfilterfilterMapflatmapfoldgetCombinableSetgetComparableSetgetInitializableSetgetShowableSetinitintersectionisSubsetjoinmappartitionpartitionMapsetsometraverseunionwrapKindSortableSortableOrderingSortbetweenclampfromCurriedSortfromSortgtgteltltemaxminpremapreversesignstructtrivialtupleKindStateStateApplicableStatebindbindToFlatmappableStateMappableStatetapWrappableStateapplyevaluateexecuteflatmapgetCombinableStategetInitializableStategetsidmapmodifyputstatewrapCombinableStringComparableStringInitializableStringShowableStringSortableStringcombinecompareendsWithincludesinitisEmptyisStringlengthmatchpluralreplaceslicesortsplitstartsWithtesttoLowerCasetoUpperCasetrimtrimEndtrimStartKindSyncEitherKindSyncRightSyncEitherApplicableSyncEitherBimappableSyncEitherbindbindToFailableSyncEitherFlatmappableSyncEitherFoldableSyncEitherMappableSyncEithertapWrappableSyncEitheraltapplyfailflatmapfoldfromEitherfromSyncgetCombinableSyncEithergetFlatmappableSyncRightgetInitializableSyncEitherleftmapmapSecondrecoverrighttryCatchwrapKindSyncSyncApplicableSyncbindbindToFlatmappableSyncFoldableSyncMappableSynctapTraversableSyncWrappableSyncapplyflatmapfoldgetCombinableSyncgetInitializableSyncmaptraversewrapKindRightTheseKindTheseBothLeftRightTheseBimappableTheseFoldableTheseMappableTheseTraversableThesebothfailfoldgetCombinableThesegetFlatmappableRightgetInitializableThesegetShowableTheseisBothisLeftisRightleftmapmapSecondmatchrighttraversewrap
mod.ts (default module)
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
array.ts
I
T
T
T
T
v
v
v
v
v
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
async_either.ts
I
T
v
v
v
v
v
v
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
async_iterable.ts
I
v
v
v
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
async.ts
I
T
v
v
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
boolean.ts
v
v
v
v
v
v
v
v
v
f
f
f
f
f
f
f
combinable.ts
I
T
T
T
f
f
f
f
f
f
f
f
f
f
f
comparable.ts
I
I
I
T
T
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
datum.ts
I
T
T
T
T
T
T
T
T
v
v
v
v
v
v
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
decoder.ts
I
I
I
T
T
T
T
T
T
T
T
T
T
T
T
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
v
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f
f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