@fncts/base 0.0.12 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (734) hide show
  1. package/_cjs/collection/Iterable/api/traverseConc.cjs +16 -21
  2. package/_cjs/collection/Iterable/api/traverseConc.cjs.map +1 -1
  3. package/_cjs/collection/compat/Array/api.cjs +10 -10
  4. package/_cjs/collection/compat/Array/derivations.cjs +96 -0
  5. package/_cjs/collection/compat/Array/derivations.cjs.map +1 -0
  6. package/_cjs/collection/compat/Array.cjs +13 -0
  7. package/_cjs/collection/compat/Array.cjs.map +1 -1
  8. package/_cjs/collection/compat/Record/instances.cjs +67 -16
  9. package/_cjs/collection/compat/Record/instances.cjs.map +1 -1
  10. package/_cjs/collection/compat.cjs +6 -0
  11. package/_cjs/collection/compat.cjs.map +1 -0
  12. package/_cjs/collection/immutable/Conc/api.cjs +9 -12
  13. package/_cjs/collection/immutable/Conc/api.cjs.map +1 -1
  14. package/_cjs/collection/immutable/Conc/definition.cjs +41 -43
  15. package/_cjs/collection/immutable/Conc/definition.cjs.map +1 -1
  16. package/_cjs/collection/immutable/Conc/derivations.cjs +45 -0
  17. package/_cjs/collection/immutable/Conc/derivations.cjs.map +1 -0
  18. package/_cjs/collection/immutable/Conc.cjs +13 -0
  19. package/_cjs/collection/immutable/Conc.cjs.map +1 -1
  20. package/_cjs/collection/immutable/Dictionary/definition.cjs +2 -4
  21. package/_cjs/collection/immutable/Dictionary/definition.cjs.map +1 -1
  22. package/_cjs/collection/immutable/HashMap/api.cjs +26 -29
  23. package/_cjs/collection/immutable/HashMap/api.cjs.map +1 -1
  24. package/_cjs/collection/immutable/HashMap/definition.cjs +15 -17
  25. package/_cjs/collection/immutable/HashMap/definition.cjs.map +1 -1
  26. package/_cjs/collection/immutable/ImmutableArray/api.cjs +142 -159
  27. package/_cjs/collection/immutable/ImmutableArray/api.cjs.map +1 -1
  28. package/_cjs/collection/immutable/ImmutableArray/constructors.cjs +2 -2
  29. package/_cjs/collection/immutable/ImmutableArray/definition.cjs +18 -15
  30. package/_cjs/collection/immutable/ImmutableArray/definition.cjs.map +1 -1
  31. package/_cjs/collection/immutable/ImmutableArray/derivations.cjs +41 -0
  32. package/_cjs/collection/immutable/ImmutableArray/derivations.cjs.map +1 -0
  33. package/_cjs/collection/immutable/ImmutableArray/instances.cjs +11 -9
  34. package/_cjs/collection/immutable/ImmutableArray/instances.cjs.map +1 -1
  35. package/_cjs/collection/immutable/ImmutableArray.cjs +13 -0
  36. package/_cjs/collection/immutable/ImmutableArray.cjs.map +1 -1
  37. package/_cjs/collection/immutable/ImmutableNonEmptyArray/api.cjs +21 -22
  38. package/_cjs/collection/immutable/ImmutableNonEmptyArray/api.cjs.map +1 -1
  39. package/_cjs/collection/immutable/ImmutableNonEmptyArray/constructors.cjs +2 -2
  40. package/_cjs/collection/immutable/ImmutableNonEmptyArray/definition.cjs +3 -9
  41. package/_cjs/collection/immutable/ImmutableNonEmptyArray/definition.cjs.map +1 -1
  42. package/_cjs/collection/immutable/ImmutableNonEmptyArray/derivations.cjs +62 -0
  43. package/_cjs/collection/immutable/ImmutableNonEmptyArray/derivations.cjs.map +1 -0
  44. package/_cjs/collection/immutable/ImmutableNonEmptyArray/instances.cjs +8 -2
  45. package/_cjs/collection/immutable/ImmutableNonEmptyArray/instances.cjs.map +1 -1
  46. package/_cjs/collection/immutable/ImmutableNonEmptyArray.cjs +13 -0
  47. package/_cjs/collection/immutable/ImmutableNonEmptyArray.cjs.map +1 -1
  48. package/_cjs/collection/immutable/List/definition.cjs +2 -2
  49. package/_cjs/collection/immutable/RoseTree/definition.cjs +13 -15
  50. package/_cjs/collection/immutable/RoseTree/definition.cjs.map +1 -1
  51. package/_cjs/collection/immutable/Vector/api.cjs +8 -12
  52. package/_cjs/collection/immutable/Vector/api.cjs.map +1 -1
  53. package/_cjs/collection/immutable/Vector/definition.cjs +11 -13
  54. package/_cjs/collection/immutable/Vector/definition.cjs.map +1 -1
  55. package/_cjs/collection/immutable/Vector/internal.cjs +1 -1
  56. package/_cjs/collection/immutable.cjs +6 -0
  57. package/_cjs/collection/immutable.cjs.map +1 -0
  58. package/_cjs/collection/mutable/HashMap.cjs +4 -0
  59. package/_cjs/collection/mutable/HashMap.cjs.map +1 -1
  60. package/_cjs/collection/mutable.cjs +6 -0
  61. package/_cjs/collection/mutable.cjs.map +1 -0
  62. package/_cjs/collection/weak/IterableWeakMap.cjs +51 -2
  63. package/_cjs/collection/weak/IterableWeakMap.cjs.map +1 -1
  64. package/_cjs/collection/weak/IterableWeakSet.cjs +59 -7
  65. package/_cjs/collection/weak/IterableWeakSet.cjs.map +1 -1
  66. package/_cjs/collection/weak.cjs +6 -0
  67. package/_cjs/collection/weak.cjs.map +1 -0
  68. package/_cjs/collection.cjs +6 -0
  69. package/_cjs/collection.cjs.map +1 -0
  70. package/_cjs/control/Eval/api.cjs +9 -3
  71. package/_cjs/control/Eval/api.cjs.map +1 -1
  72. package/_cjs/control/Eval/definition.cjs +1 -8
  73. package/_cjs/control/Eval/definition.cjs.map +1 -1
  74. package/_cjs/control/Eval/instance.cjs +6 -0
  75. package/_cjs/control/Eval/instance.cjs.map +1 -1
  76. package/_cjs/control/Z/api.cjs +16 -14
  77. package/_cjs/control/Z/api.cjs.map +1 -1
  78. package/_cjs/control/Z/definition.cjs +8 -14
  79. package/_cjs/control/Z/definition.cjs.map +1 -1
  80. package/_cjs/control/Z/instances.cjs +6 -0
  81. package/_cjs/control/Z/instances.cjs.map +1 -1
  82. package/_cjs/control/Z/runtime.cjs +17 -13
  83. package/_cjs/control/Z/runtime.cjs.map +1 -1
  84. package/_cjs/control.cjs +6 -0
  85. package/_cjs/control.cjs.map +1 -0
  86. package/_cjs/data/Cause/api/isEmpty.cjs +2 -0
  87. package/_cjs/data/Cause/api/isEmpty.cjs.map +1 -1
  88. package/_cjs/data/Cause/api/linearize.cjs +2 -0
  89. package/_cjs/data/Cause/api/linearize.cjs.map +1 -1
  90. package/_cjs/data/Cause/api.cjs +2 -0
  91. package/_cjs/data/Cause/api.cjs.map +1 -1
  92. package/_cjs/data/Const/definition.cjs +0 -7
  93. package/_cjs/data/Const/definition.cjs.map +1 -1
  94. package/_cjs/data/Const/instances.cjs +11 -8
  95. package/_cjs/data/Const/instances.cjs.map +1 -1
  96. package/_cjs/data/Datum/api.cjs +479 -0
  97. package/_cjs/data/Datum/api.cjs.map +1 -0
  98. package/_cjs/data/Datum/definition.cjs +142 -0
  99. package/_cjs/data/Datum/definition.cjs.map +1 -0
  100. package/_cjs/data/Datum/instances.cjs +69 -0
  101. package/_cjs/data/Datum/instances.cjs.map +1 -0
  102. package/_cjs/data/DatumEither/api.cjs +365 -0
  103. package/_cjs/data/DatumEither/api.cjs.map +1 -0
  104. package/_cjs/data/DatumEither/definition.cjs +9 -0
  105. package/_cjs/data/DatumEither/definition.cjs.map +1 -0
  106. package/_cjs/data/DecodeError/definition.cjs +16 -4
  107. package/_cjs/data/DecodeError/definition.cjs.map +1 -1
  108. package/_cjs/data/DecodeError/instances.cjs +6 -0
  109. package/_cjs/data/DecodeError/instances.cjs.map +1 -0
  110. package/_cjs/data/DecodeError.cjs +13 -0
  111. package/_cjs/data/DecodeError.cjs.map +1 -1
  112. package/_cjs/data/Decoder/definition.cjs +3 -10
  113. package/_cjs/data/Decoder/definition.cjs.map +1 -1
  114. package/_cjs/data/Either/api/alignWith.cjs +2 -0
  115. package/_cjs/data/Either/api/alignWith.cjs.map +1 -1
  116. package/_cjs/data/Either/api.cjs +21 -5
  117. package/_cjs/data/Either/api.cjs.map +1 -1
  118. package/_cjs/data/Either/definition.cjs +4 -11
  119. package/_cjs/data/Either/definition.cjs.map +1 -1
  120. package/_cjs/data/Either/instances.cjs +25 -23
  121. package/_cjs/data/Either/instances.cjs.map +1 -1
  122. package/_cjs/data/EitherT/api.cjs +106 -0
  123. package/_cjs/data/EitherT/api.cjs.map +1 -0
  124. package/_cjs/data/EitherT/definition.cjs +9 -0
  125. package/_cjs/data/EitherT/definition.cjs.map +1 -0
  126. package/_cjs/data/Environment/api.cjs +15 -14
  127. package/_cjs/data/Environment/api.cjs.map +1 -1
  128. package/_cjs/data/Environment/definition.cjs.map +1 -1
  129. package/_cjs/data/Identity/api.cjs +3 -1
  130. package/_cjs/data/Identity/api.cjs.map +1 -1
  131. package/_cjs/data/Identity/definition.cjs +2 -4
  132. package/_cjs/data/Identity/definition.cjs.map +1 -1
  133. package/_cjs/data/Identity/instances.cjs +6 -0
  134. package/_cjs/data/Identity/instances.cjs.map +1 -1
  135. package/_cjs/data/Intervals.cjs +292 -0
  136. package/_cjs/data/Intervals.cjs.map +1 -0
  137. package/_cjs/data/Maybe/api.cjs +3 -1
  138. package/_cjs/data/Maybe/api.cjs.map +1 -1
  139. package/_cjs/data/Maybe/definition.cjs +11 -13
  140. package/_cjs/data/Maybe/definition.cjs.map +1 -1
  141. package/_cjs/data/Maybe/instances.cjs +13 -11
  142. package/_cjs/data/Maybe/instances.cjs.map +1 -1
  143. package/_cjs/data/Newtype.cjs +3 -5
  144. package/_cjs/data/Newtype.cjs.map +1 -1
  145. package/_cjs/data/Patch/api.cjs +2 -0
  146. package/_cjs/data/Patch/api.cjs.map +1 -1
  147. package/_cjs/data/Struct/api.cjs +2 -0
  148. package/_cjs/data/Struct/api.cjs.map +1 -1
  149. package/_cjs/data/Struct/definition.cjs +2 -4
  150. package/_cjs/data/Struct/definition.cjs.map +1 -1
  151. package/_cjs/data/These/definition.cjs +1 -1
  152. package/_cjs/data/These/definition.cjs.map +1 -1
  153. package/_cjs/data/Zipped.cjs +55 -0
  154. package/_cjs/data/Zipped.cjs.map +1 -0
  155. package/_cjs/data/function/api.cjs +10 -0
  156. package/_cjs/data/function/api.cjs.map +1 -1
  157. package/_cjs/data/object/instances.cjs +9 -1
  158. package/_cjs/data/object/instances.cjs.map +1 -1
  159. package/_cjs/data/string/api.cjs +1 -1
  160. package/_cjs/data.cjs +6 -0
  161. package/_cjs/data.cjs.map +1 -0
  162. package/_cjs/global.cjs +6 -0
  163. package/_cjs/global.cjs.map +1 -0
  164. package/_cjs/index.cjs +6 -0
  165. package/_cjs/index.cjs.map +1 -0
  166. package/_cjs/json.cjs +6 -0
  167. package/_cjs/json.cjs.map +1 -0
  168. package/_cjs/optics/At/definition.cjs +2 -0
  169. package/_cjs/optics/At/definition.cjs.map +1 -1
  170. package/_cjs/optics/Iso/definition.cjs +4 -0
  171. package/_cjs/optics/Iso/definition.cjs.map +1 -1
  172. package/_cjs/optics/Lens/definition.cjs +4 -0
  173. package/_cjs/optics/Lens/definition.cjs.map +1 -1
  174. package/_cjs/optics/Optional/definition.cjs +5 -5
  175. package/_cjs/optics/Optional/definition.cjs.map +1 -1
  176. package/_cjs/optics/Prism/definition.cjs +2 -0
  177. package/_cjs/optics/Prism/definition.cjs.map +1 -1
  178. package/_cjs/optics/Traversal/api/compose.cjs +1 -1
  179. package/_cjs/optics/Traversal/api/compose.cjs.map +1 -1
  180. package/_cjs/optics/Traversal/api/fromTraversable.cjs +1 -1
  181. package/_cjs/optics/Traversal/api/fromTraversable.cjs.map +1 -1
  182. package/_cjs/optics/Traversal/definition.cjs +7 -3
  183. package/_cjs/optics/Traversal/definition.cjs.map +1 -1
  184. package/_cjs/optics.cjs +6 -0
  185. package/_cjs/optics.cjs.map +1 -0
  186. package/_cjs/typeclass/Alt.cjs +0 -7
  187. package/_cjs/typeclass/Alt.cjs.map +1 -1
  188. package/_cjs/typeclass/ApplicativeExcept.cjs +9 -35
  189. package/_cjs/typeclass/ApplicativeExcept.cjs.map +1 -1
  190. package/_cjs/typeclass/Apply.cjs +39 -66
  191. package/_cjs/typeclass/Apply.cjs.map +1 -1
  192. package/_cjs/typeclass/Chain.cjs +6 -28
  193. package/_cjs/typeclass/Chain.cjs.map +1 -1
  194. package/_cjs/typeclass/Fail.cjs +0 -10
  195. package/_cjs/typeclass/Fail.cjs.map +1 -1
  196. package/_cjs/typeclass/Filterable.cjs +0 -36
  197. package/_cjs/typeclass/Filterable.cjs.map +1 -1
  198. package/_cjs/typeclass/Foldable.cjs +4 -34
  199. package/_cjs/typeclass/Foldable.cjs.map +1 -1
  200. package/_cjs/typeclass/FoldableWithIndex.cjs +4 -34
  201. package/_cjs/typeclass/FoldableWithIndex.cjs.map +1 -1
  202. package/_cjs/typeclass/Functor.cjs +3 -18
  203. package/_cjs/typeclass/Functor.cjs.map +1 -1
  204. package/_cjs/typeclass/Guard/definition.cjs +3 -10
  205. package/_cjs/typeclass/Guard/definition.cjs.map +1 -1
  206. package/_cjs/typeclass/HashEq.cjs +2 -0
  207. package/_cjs/typeclass/HashEq.cjs.map +1 -1
  208. package/_cjs/typeclass/MonadExcept.cjs +2 -10
  209. package/_cjs/typeclass/MonadExcept.cjs.map +1 -1
  210. package/_cjs/typeclass/Monoid.cjs +2 -0
  211. package/_cjs/typeclass/Monoid.cjs.map +1 -1
  212. package/_cjs/typeclass/Nil.cjs +0 -10
  213. package/_cjs/typeclass/Nil.cjs.map +1 -1
  214. package/_cjs/typeclass/Ord/definition.cjs +2 -0
  215. package/_cjs/typeclass/Ord/definition.cjs.map +1 -1
  216. package/_cjs/typeclass/Ord/instances.cjs +4 -3
  217. package/_cjs/typeclass/Ord/instances.cjs.map +1 -1
  218. package/_cjs/typeclass/Pointed.cjs +0 -11
  219. package/_cjs/typeclass/Pointed.cjs.map +1 -1
  220. package/_cjs/typeclass/Semialign.cjs +18 -46
  221. package/_cjs/typeclass/Semialign.cjs.map +1 -1
  222. package/_cjs/typeclass/Semimonoidal.cjs +0 -11
  223. package/_cjs/typeclass/Semimonoidal.cjs.map +1 -1
  224. package/_cjs/typeclass/Showable/show.cjs +12 -12
  225. package/_cjs/typeclass/Showable/show.cjs.map +1 -1
  226. package/_cjs/typeclass/Traversable.cjs +7 -26
  227. package/_cjs/typeclass/Traversable.cjs.map +1 -1
  228. package/_cjs/typeclass/TraversableWithIndex.cjs +3 -7
  229. package/_cjs/typeclass/TraversableWithIndex.cjs.map +1 -1
  230. package/_cjs/typeclass/Witherable.cjs +3 -45
  231. package/_cjs/typeclass/Witherable.cjs.map +1 -1
  232. package/_cjs/typeclass/WitherableWithIndex.cjs +8 -44
  233. package/_cjs/typeclass/WitherableWithIndex.cjs.map +1 -1
  234. package/_cjs/util.cjs +6 -0
  235. package/_cjs/util.cjs.map +1 -0
  236. package/_mjs/collection/Iterable/api/traverseConc.mjs +16 -21
  237. package/_mjs/collection/Iterable/api/traverseConc.mjs.map +1 -1
  238. package/_mjs/collection/compat/Array/api.mjs +10 -10
  239. package/_mjs/collection/compat/Array/derivations.mjs +70 -0
  240. package/_mjs/collection/compat/Array/derivations.mjs.map +1 -0
  241. package/_mjs/collection/compat/Array.mjs +1 -0
  242. package/_mjs/collection/compat/Array.mjs.map +1 -1
  243. package/_mjs/collection/compat/Record/instances.mjs +62 -16
  244. package/_mjs/collection/compat/Record/instances.mjs.map +1 -1
  245. package/_mjs/collection/compat.mjs +2 -0
  246. package/_mjs/collection/compat.mjs.map +1 -0
  247. package/_mjs/collection/immutable/Conc/api.mjs +8 -11
  248. package/_mjs/collection/immutable/Conc/api.mjs.map +1 -1
  249. package/_mjs/collection/immutable/Conc/definition.mjs +41 -42
  250. package/_mjs/collection/immutable/Conc/definition.mjs.map +1 -1
  251. package/_mjs/collection/immutable/Conc/derivations.mjs +27 -0
  252. package/_mjs/collection/immutable/Conc/derivations.mjs.map +1 -0
  253. package/_mjs/collection/immutable/Conc.mjs +2 -1
  254. package/_mjs/collection/immutable/Conc.mjs.map +1 -1
  255. package/_mjs/collection/immutable/Dictionary/definition.mjs +2 -3
  256. package/_mjs/collection/immutable/Dictionary/definition.mjs.map +1 -1
  257. package/_mjs/collection/immutable/HashMap/api.mjs +18 -20
  258. package/_mjs/collection/immutable/HashMap/api.mjs.map +1 -1
  259. package/_mjs/collection/immutable/HashMap/definition.mjs +15 -16
  260. package/_mjs/collection/immutable/HashMap/definition.mjs.map +1 -1
  261. package/_mjs/collection/immutable/HashSet/api.mjs +1 -0
  262. package/_mjs/collection/immutable/HashSet/api.mjs.map +1 -1
  263. package/_mjs/collection/immutable/ImmutableArray/api.mjs +134 -153
  264. package/_mjs/collection/immutable/ImmutableArray/api.mjs.map +1 -1
  265. package/_mjs/collection/immutable/ImmutableArray/constructors.mjs +2 -2
  266. package/_mjs/collection/immutable/ImmutableArray/definition.mjs +16 -12
  267. package/_mjs/collection/immutable/ImmutableArray/definition.mjs.map +1 -1
  268. package/_mjs/collection/immutable/ImmutableArray/derivations.mjs +25 -0
  269. package/_mjs/collection/immutable/ImmutableArray/derivations.mjs.map +1 -0
  270. package/_mjs/collection/immutable/ImmutableArray/instances.mjs +9 -8
  271. package/_mjs/collection/immutable/ImmutableArray/instances.mjs.map +1 -1
  272. package/_mjs/collection/immutable/ImmutableArray.mjs +1 -0
  273. package/_mjs/collection/immutable/ImmutableArray.mjs.map +1 -1
  274. package/_mjs/collection/immutable/ImmutableNonEmptyArray/api.mjs +19 -19
  275. package/_mjs/collection/immutable/ImmutableNonEmptyArray/api.mjs.map +1 -1
  276. package/_mjs/collection/immutable/ImmutableNonEmptyArray/constructors.mjs +2 -2
  277. package/_mjs/collection/immutable/ImmutableNonEmptyArray/definition.mjs +0 -2
  278. package/_mjs/collection/immutable/ImmutableNonEmptyArray/definition.mjs.map +1 -1
  279. package/_mjs/collection/immutable/ImmutableNonEmptyArray/derivations.mjs +39 -0
  280. package/_mjs/collection/immutable/ImmutableNonEmptyArray/derivations.mjs.map +1 -0
  281. package/_mjs/collection/immutable/ImmutableNonEmptyArray/instances.mjs +4 -3
  282. package/_mjs/collection/immutable/ImmutableNonEmptyArray/instances.mjs.map +1 -1
  283. package/_mjs/collection/immutable/ImmutableNonEmptyArray.mjs +1 -0
  284. package/_mjs/collection/immutable/ImmutableNonEmptyArray.mjs.map +1 -1
  285. package/_mjs/collection/immutable/List/definition.mjs +2 -2
  286. package/_mjs/collection/immutable/RoseTree/definition.mjs +13 -14
  287. package/_mjs/collection/immutable/RoseTree/definition.mjs.map +1 -1
  288. package/_mjs/collection/immutable/SortedMap/api.mjs +1 -0
  289. package/_mjs/collection/immutable/SortedMap/api.mjs.map +1 -1
  290. package/_mjs/collection/immutable/Vector/api.mjs +8 -12
  291. package/_mjs/collection/immutable/Vector/api.mjs.map +1 -1
  292. package/_mjs/collection/immutable/Vector/definition.mjs +11 -12
  293. package/_mjs/collection/immutable/Vector/definition.mjs.map +1 -1
  294. package/_mjs/collection/immutable/Vector/internal.mjs +1 -1
  295. package/_mjs/collection/immutable.mjs +2 -0
  296. package/_mjs/collection/immutable.mjs.map +1 -0
  297. package/_mjs/collection/mutable/HashMap.mjs +4 -0
  298. package/_mjs/collection/mutable/HashMap.mjs.map +1 -1
  299. package/_mjs/collection/mutable.mjs +2 -0
  300. package/_mjs/collection/mutable.mjs.map +1 -0
  301. package/_mjs/collection/weak/IterableWeakMap.mjs +51 -2
  302. package/_mjs/collection/weak/IterableWeakMap.mjs.map +1 -1
  303. package/_mjs/collection/weak/IterableWeakSet.mjs +59 -7
  304. package/_mjs/collection/weak/IterableWeakSet.mjs.map +1 -1
  305. package/_mjs/collection/weak.mjs +2 -0
  306. package/_mjs/collection/weak.mjs.map +1 -0
  307. package/_mjs/collection.mjs +2 -0
  308. package/_mjs/collection.mjs.map +1 -0
  309. package/_mjs/control/Eval/api.mjs +9 -4
  310. package/_mjs/control/Eval/api.mjs.map +1 -1
  311. package/_mjs/control/Eval/definition.mjs +1 -2
  312. package/_mjs/control/Eval/definition.mjs.map +1 -1
  313. package/_mjs/control/Eval/instance.mjs +1 -0
  314. package/_mjs/control/Eval/instance.mjs.map +1 -1
  315. package/_mjs/control/Eval/run.mjs +1 -0
  316. package/_mjs/control/Eval/run.mjs.map +1 -1
  317. package/_mjs/control/Z/api.mjs +16 -15
  318. package/_mjs/control/Z/api.mjs.map +1 -1
  319. package/_mjs/control/Z/definition.mjs +3 -5
  320. package/_mjs/control/Z/definition.mjs.map +1 -1
  321. package/_mjs/control/Z/instances.mjs +1 -0
  322. package/_mjs/control/Z/instances.mjs.map +1 -1
  323. package/_mjs/control/Z/runtime.mjs +15 -13
  324. package/_mjs/control/Z/runtime.mjs.map +1 -1
  325. package/_mjs/control.mjs +2 -0
  326. package/_mjs/control.mjs.map +1 -0
  327. package/_mjs/data/Branded/derivations.mjs +1 -0
  328. package/_mjs/data/Branded/derivations.mjs.map +1 -1
  329. package/_mjs/data/Cause/api/isEmpty.mjs +1 -0
  330. package/_mjs/data/Cause/api/isEmpty.mjs.map +1 -1
  331. package/_mjs/data/Cause/api/linearize.mjs +1 -0
  332. package/_mjs/data/Cause/api/linearize.mjs.map +1 -1
  333. package/_mjs/data/Cause/api.mjs +2 -1
  334. package/_mjs/data/Cause/api.mjs.map +1 -1
  335. package/_mjs/data/Const/definition.mjs +0 -3
  336. package/_mjs/data/Const/definition.mjs.map +1 -1
  337. package/_mjs/data/Const/instances.mjs +7 -5
  338. package/_mjs/data/Const/instances.mjs.map +1 -1
  339. package/_mjs/data/Datum/api.mjs +404 -0
  340. package/_mjs/data/Datum/api.mjs.map +1 -0
  341. package/_mjs/data/Datum/definition.mjs +112 -0
  342. package/_mjs/data/Datum/definition.mjs.map +1 -0
  343. package/_mjs/data/Datum/instances.mjs +52 -0
  344. package/_mjs/data/Datum/instances.mjs.map +1 -0
  345. package/_mjs/data/DatumEither/api.mjs +290 -0
  346. package/_mjs/data/DatumEither/api.mjs.map +1 -0
  347. package/_mjs/data/DatumEither/definition.mjs +2 -0
  348. package/_mjs/data/DatumEither/definition.mjs.map +1 -0
  349. package/_mjs/data/DecodeError/definition.mjs +12 -3
  350. package/_mjs/data/DecodeError/definition.mjs.map +1 -1
  351. package/_mjs/data/DecodeError/instances.mjs +2 -0
  352. package/_mjs/data/DecodeError/instances.mjs.map +1 -0
  353. package/_mjs/data/DecodeError.mjs +1 -0
  354. package/_mjs/data/DecodeError.mjs.map +1 -1
  355. package/_mjs/data/Decoder/api.mjs +1 -0
  356. package/_mjs/data/Decoder/api.mjs.map +1 -1
  357. package/_mjs/data/Decoder/definition.mjs +0 -2
  358. package/_mjs/data/Decoder/definition.mjs.map +1 -1
  359. package/_mjs/data/Either/api/alignWith.mjs +1 -0
  360. package/_mjs/data/Either/api/alignWith.mjs.map +1 -1
  361. package/_mjs/data/Either/api.mjs +17 -4
  362. package/_mjs/data/Either/api.mjs.map +1 -1
  363. package/_mjs/data/Either/definition.mjs +1 -3
  364. package/_mjs/data/Either/definition.mjs.map +1 -1
  365. package/_mjs/data/Either/instances.mjs +24 -23
  366. package/_mjs/data/Either/instances.mjs.map +1 -1
  367. package/_mjs/data/EitherT/api.mjs +73 -0
  368. package/_mjs/data/EitherT/api.mjs.map +1 -0
  369. package/_mjs/data/EitherT/definition.mjs +2 -0
  370. package/_mjs/data/EitherT/definition.mjs.map +1 -0
  371. package/_mjs/data/Environment/api.mjs +12 -13
  372. package/_mjs/data/Environment/api.mjs.map +1 -1
  373. package/_mjs/data/Environment/definition.mjs.map +1 -1
  374. package/_mjs/data/Identity/api.mjs +2 -1
  375. package/_mjs/data/Identity/api.mjs.map +1 -1
  376. package/_mjs/data/Identity/definition.mjs +2 -3
  377. package/_mjs/data/Identity/definition.mjs.map +1 -1
  378. package/_mjs/data/Identity/instances.mjs +1 -0
  379. package/_mjs/data/Identity/instances.mjs.map +1 -1
  380. package/_mjs/data/Intervals.mjs +257 -0
  381. package/_mjs/data/Intervals.mjs.map +1 -0
  382. package/_mjs/data/Maybe/api.mjs +2 -1
  383. package/_mjs/data/Maybe/api.mjs.map +1 -1
  384. package/_mjs/data/Maybe/definition.mjs +8 -10
  385. package/_mjs/data/Maybe/definition.mjs.map +1 -1
  386. package/_mjs/data/Maybe/instances.mjs +12 -11
  387. package/_mjs/data/Maybe/instances.mjs.map +1 -1
  388. package/_mjs/data/Newtype.mjs +3 -4
  389. package/_mjs/data/Newtype.mjs.map +1 -1
  390. package/_mjs/data/Patch/api.mjs +1 -0
  391. package/_mjs/data/Patch/api.mjs.map +1 -1
  392. package/_mjs/data/Struct/api.mjs +1 -0
  393. package/_mjs/data/Struct/api.mjs.map +1 -1
  394. package/_mjs/data/Struct/definition.mjs +2 -3
  395. package/_mjs/data/Struct/definition.mjs.map +1 -1
  396. package/_mjs/data/These/definition.mjs +1 -1
  397. package/_mjs/data/These/definition.mjs.map +1 -1
  398. package/_mjs/data/Zipped.mjs +37 -0
  399. package/_mjs/data/Zipped.mjs.map +1 -0
  400. package/_mjs/data/function/api.mjs +8 -0
  401. package/_mjs/data/function/api.mjs.map +1 -1
  402. package/_mjs/data/object/instances.mjs +7 -1
  403. package/_mjs/data/object/instances.mjs.map +1 -1
  404. package/_mjs/data/string/api.mjs +1 -1
  405. package/_mjs/data.mjs +2 -0
  406. package/_mjs/data.mjs.map +1 -0
  407. package/_mjs/global.mjs +2 -0
  408. package/_mjs/global.mjs.map +1 -0
  409. package/_mjs/index.mjs +2 -0
  410. package/_mjs/index.mjs.map +1 -0
  411. package/_mjs/json.mjs +2 -0
  412. package/_mjs/json.mjs.map +1 -0
  413. package/_mjs/optics/At/api.mjs +1 -0
  414. package/_mjs/optics/At/api.mjs.map +1 -1
  415. package/_mjs/optics/At/definition.mjs +1 -0
  416. package/_mjs/optics/At/definition.mjs.map +1 -1
  417. package/_mjs/optics/Index/api.mjs +1 -0
  418. package/_mjs/optics/Index/api.mjs.map +1 -1
  419. package/_mjs/optics/Iso/api.mjs +1 -0
  420. package/_mjs/optics/Iso/api.mjs.map +1 -1
  421. package/_mjs/optics/Iso/definition.mjs +2 -0
  422. package/_mjs/optics/Iso/definition.mjs.map +1 -1
  423. package/_mjs/optics/Lens/api.mjs +1 -0
  424. package/_mjs/optics/Lens/api.mjs.map +1 -1
  425. package/_mjs/optics/Lens/definition.mjs +2 -0
  426. package/_mjs/optics/Lens/definition.mjs.map +1 -1
  427. package/_mjs/optics/Optional/api/compose.mjs +1 -0
  428. package/_mjs/optics/Optional/api/compose.mjs.map +1 -1
  429. package/_mjs/optics/Optional/definition.mjs +5 -5
  430. package/_mjs/optics/Optional/definition.mjs.map +1 -1
  431. package/_mjs/optics/Prism/api/compose.mjs +1 -0
  432. package/_mjs/optics/Prism/api/compose.mjs.map +1 -1
  433. package/_mjs/optics/Prism/api/fromNullable.mjs +1 -0
  434. package/_mjs/optics/Prism/api/fromNullable.mjs.map +1 -1
  435. package/_mjs/optics/Prism/api/just.mjs +1 -0
  436. package/_mjs/optics/Prism/api/just.mjs.map +1 -1
  437. package/_mjs/optics/Prism/definition.mjs +1 -0
  438. package/_mjs/optics/Prism/definition.mjs.map +1 -1
  439. package/_mjs/optics/Traversal/api/compose.mjs +2 -1
  440. package/_mjs/optics/Traversal/api/compose.mjs.map +1 -1
  441. package/_mjs/optics/Traversal/api/fromTraversable.mjs +2 -1
  442. package/_mjs/optics/Traversal/api/fromTraversable.mjs.map +1 -1
  443. package/_mjs/optics/Traversal/definition.mjs +5 -3
  444. package/_mjs/optics/Traversal/definition.mjs.map +1 -1
  445. package/_mjs/optics.mjs +2 -0
  446. package/_mjs/optics.mjs.map +1 -0
  447. package/_mjs/typeclass/Alt.mjs +0 -5
  448. package/_mjs/typeclass/Alt.mjs.map +1 -1
  449. package/_mjs/typeclass/ApplicativeExcept.mjs +7 -32
  450. package/_mjs/typeclass/ApplicativeExcept.mjs.map +1 -1
  451. package/_mjs/typeclass/Apply.mjs +35 -65
  452. package/_mjs/typeclass/Apply.mjs.map +1 -1
  453. package/_mjs/typeclass/Chain.mjs +4 -25
  454. package/_mjs/typeclass/Chain.mjs.map +1 -1
  455. package/_mjs/typeclass/Eq/derivations.mjs +1 -0
  456. package/_mjs/typeclass/Eq/derivations.mjs.map +1 -1
  457. package/_mjs/typeclass/Fail.mjs +1 -8
  458. package/_mjs/typeclass/Fail.mjs.map +1 -1
  459. package/_mjs/typeclass/Filterable.mjs +0 -28
  460. package/_mjs/typeclass/Filterable.mjs.map +1 -1
  461. package/_mjs/typeclass/Foldable.mjs +3 -30
  462. package/_mjs/typeclass/Foldable.mjs.map +1 -1
  463. package/_mjs/typeclass/FoldableWithIndex.mjs +3 -30
  464. package/_mjs/typeclass/FoldableWithIndex.mjs.map +1 -1
  465. package/_mjs/typeclass/Functor.mjs +3 -16
  466. package/_mjs/typeclass/Functor.mjs.map +1 -1
  467. package/_mjs/typeclass/Guard/api.mjs +1 -0
  468. package/_mjs/typeclass/Guard/api.mjs.map +1 -1
  469. package/_mjs/typeclass/Guard/definition.mjs +0 -2
  470. package/_mjs/typeclass/Guard/definition.mjs.map +1 -1
  471. package/_mjs/typeclass/HashEq.mjs +1 -0
  472. package/_mjs/typeclass/HashEq.mjs.map +1 -1
  473. package/_mjs/typeclass/MonadExcept.mjs +2 -9
  474. package/_mjs/typeclass/MonadExcept.mjs.map +1 -1
  475. package/_mjs/typeclass/Monoid.mjs +1 -0
  476. package/_mjs/typeclass/Monoid.mjs.map +1 -1
  477. package/_mjs/typeclass/Nil.mjs +1 -8
  478. package/_mjs/typeclass/Nil.mjs.map +1 -1
  479. package/_mjs/typeclass/Ord/definition.mjs +1 -0
  480. package/_mjs/typeclass/Ord/definition.mjs.map +1 -1
  481. package/_mjs/typeclass/Ord/instances.mjs +3 -0
  482. package/_mjs/typeclass/Ord/instances.mjs.map +1 -1
  483. package/_mjs/typeclass/Pointed.mjs +0 -9
  484. package/_mjs/typeclass/Pointed.mjs.map +1 -1
  485. package/_mjs/typeclass/Semialign.mjs +17 -45
  486. package/_mjs/typeclass/Semialign.mjs.map +1 -1
  487. package/_mjs/typeclass/Semigroup/api.mjs +1 -0
  488. package/_mjs/typeclass/Semigroup/api.mjs.map +1 -1
  489. package/_mjs/typeclass/Semigroup/derivations.mjs +1 -0
  490. package/_mjs/typeclass/Semigroup/derivations.mjs.map +1 -1
  491. package/_mjs/typeclass/Semimonoidal.mjs +0 -9
  492. package/_mjs/typeclass/Semimonoidal.mjs.map +1 -1
  493. package/_mjs/typeclass/Showable/show.mjs +12 -12
  494. package/_mjs/typeclass/Showable/show.mjs.map +1 -1
  495. package/_mjs/typeclass/Traversable.mjs +6 -25
  496. package/_mjs/typeclass/Traversable.mjs.map +1 -1
  497. package/_mjs/typeclass/TraversableWithIndex.mjs +2 -6
  498. package/_mjs/typeclass/TraversableWithIndex.mjs.map +1 -1
  499. package/_mjs/typeclass/Witherable.mjs +3 -40
  500. package/_mjs/typeclass/Witherable.mjs.map +1 -1
  501. package/_mjs/typeclass/WitherableWithIndex.mjs +6 -41
  502. package/_mjs/typeclass/WitherableWithIndex.mjs.map +1 -1
  503. package/_mjs/util.mjs +2 -0
  504. package/_mjs/util.mjs.map +1 -0
  505. package/_src/collection/Iterable/api/traverseConc.ts +24 -21
  506. package/_src/collection/compat/Array/api.ts +10 -10
  507. package/_src/collection/compat/Array/definition.ts +3 -3
  508. package/_src/collection/compat/Array/derivations.ts +85 -0
  509. package/_src/collection/compat/Array.ts +1 -0
  510. package/_src/collection/compat/Record/instances.ts +43 -0
  511. package/_src/collection/compat.ts +4 -0
  512. package/_src/collection/immutable/Conc/api.ts +9 -11
  513. package/_src/collection/immutable/Conc/definition.ts +18 -13
  514. package/_src/collection/immutable/Conc/derivations.ts +28 -0
  515. package/_src/collection/immutable/Conc.ts +1 -0
  516. package/_src/collection/immutable/Dictionary/definition.ts +1 -1
  517. package/_src/collection/immutable/HashMap/api.ts +20 -17
  518. package/_src/collection/immutable/HashMap/definition.ts +10 -6
  519. package/_src/collection/immutable/ImmutableArray/api.ts +62 -119
  520. package/_src/collection/immutable/ImmutableArray/constructors.ts +2 -2
  521. package/_src/collection/immutable/ImmutableArray/definition.ts +11 -5
  522. package/_src/collection/immutable/ImmutableArray/derivations.ts +28 -0
  523. package/_src/collection/immutable/ImmutableArray/instances.ts +47 -42
  524. package/_src/collection/immutable/ImmutableArray.ts +1 -0
  525. package/_src/collection/immutable/ImmutableNonEmptyArray/api.ts +13 -11
  526. package/_src/collection/immutable/ImmutableNonEmptyArray/constructors.ts +2 -2
  527. package/_src/collection/immutable/ImmutableNonEmptyArray/definition.ts +10 -5
  528. package/_src/collection/immutable/ImmutableNonEmptyArray/derivations.ts +44 -0
  529. package/_src/collection/immutable/ImmutableNonEmptyArray/instances.ts +24 -25
  530. package/_src/collection/immutable/ImmutableNonEmptyArray.ts +1 -0
  531. package/_src/collection/immutable/List/definition.ts +2 -2
  532. package/_src/collection/immutable/RoseTree/definition.ts +7 -4
  533. package/_src/collection/immutable/Vector/api.ts +12 -16
  534. package/_src/collection/immutable/Vector/definition.ts +10 -10
  535. package/_src/collection/immutable/Vector/internal.ts +1 -1
  536. package/_src/collection/immutable.ts +12 -0
  537. package/_src/collection/mutable/HashMap.ts +4 -0
  538. package/_src/collection/mutable.ts +6 -0
  539. package/_src/collection/weak/IterableWeakMap.ts +50 -5
  540. package/_src/collection/weak/IterableWeakSet.ts +57 -9
  541. package/_src/collection/weak.ts +4 -0
  542. package/_src/collection.ts +7 -0
  543. package/_src/control/Eval/api.ts +5 -2
  544. package/_src/control/Eval/definition.ts +8 -5
  545. package/_src/control/Eval/instance.ts +7 -7
  546. package/_src/control/Z/api.ts +40 -52
  547. package/_src/control/Z/definition.ts +36 -36
  548. package/_src/control/Z/instances.ts +3 -3
  549. package/_src/control/Z/runtime.ts +11 -11
  550. package/_src/control.ts +5 -0
  551. package/_src/data/Const/definition.ts +9 -17
  552. package/_src/data/Const/instances.ts +5 -5
  553. package/_src/data/Datum/api.ts +376 -0
  554. package/_src/data/Datum/definition.ts +102 -0
  555. package/_src/data/Datum/instances.ts +34 -0
  556. package/_src/data/DatumEither/api.ts +348 -0
  557. package/_src/data/DatumEither/definition.ts +20 -0
  558. package/_src/data/DecodeError/definition.ts +11 -3
  559. package/_src/data/DecodeError/instances.ts +0 -0
  560. package/_src/data/DecodeError.ts +1 -0
  561. package/_src/data/Decoder/definition.ts +7 -4
  562. package/_src/data/Either/api.ts +12 -2
  563. package/_src/data/Either/definition.ts +10 -15
  564. package/_src/data/Either/instances.ts +6 -6
  565. package/_src/data/EitherT/api.ts +239 -0
  566. package/_src/data/EitherT/definition.ts +23 -0
  567. package/_src/data/Environment/api.ts +8 -6
  568. package/_src/data/Environment/definition.ts +2 -2
  569. package/_src/data/Identity/api.ts +2 -2
  570. package/_src/data/Identity/definition.ts +2 -2
  571. package/_src/data/Identity/instances.ts +7 -7
  572. package/_src/data/Intervals.ts +126 -0
  573. package/_src/data/Maybe/api.ts +2 -2
  574. package/_src/data/Maybe/definition.ts +8 -5
  575. package/_src/data/Maybe/instances.ts +10 -10
  576. package/_src/data/Newtype.ts +32 -11
  577. package/_src/data/Struct/definition.ts +1 -1
  578. package/_src/data/Tag/definition.ts +2 -2
  579. package/_src/data/These/definition.ts +1 -1
  580. package/_src/data/Zipped.ts +52 -0
  581. package/_src/data/function/api.ts +8 -0
  582. package/_src/data/object/instances.ts +11 -1
  583. package/_src/data/string/api.ts +1 -1
  584. package/_src/data.ts +35 -0
  585. package/_src/global.ts +252 -0
  586. package/_src/index.ts +8 -0
  587. package/_src/json.ts +5 -0
  588. package/_src/optics/Optional/definition.ts +2 -2
  589. package/_src/optics/Traversal/api/compose.ts +1 -1
  590. package/_src/optics/Traversal/api/fromTraversable.ts +11 -11
  591. package/_src/optics/Traversal/definition.ts +13 -12
  592. package/_src/optics.ts +12 -0
  593. package/_src/typeclass/Align.ts +1 -1
  594. package/_src/typeclass/Alt.ts +24 -54
  595. package/_src/typeclass/Alternative.ts +1 -1
  596. package/_src/typeclass/Applicative.ts +6 -1
  597. package/_src/typeclass/ApplicativeExcept.ts +55 -81
  598. package/_src/typeclass/Apply.ts +224 -253
  599. package/_src/typeclass/Chain.ts +71 -98
  600. package/_src/typeclass/Fail.ts +10 -28
  601. package/_src/typeclass/Filterable.ts +13 -67
  602. package/_src/typeclass/FilterableWithIndex.ts +13 -13
  603. package/_src/typeclass/Foldable.ts +16 -35
  604. package/_src/typeclass/FoldableWithIndex.ts +14 -37
  605. package/_src/typeclass/Functor.ts +11 -21
  606. package/_src/typeclass/FunctorWithIndex.ts +4 -4
  607. package/_src/typeclass/Guard/definition.ts +1 -3
  608. package/_src/typeclass/Monad.ts +1 -1
  609. package/_src/typeclass/MonadExcept.ts +11 -7
  610. package/_src/typeclass/Nil.ts +10 -27
  611. package/_src/typeclass/Pointed.ts +11 -30
  612. package/_src/typeclass/Semialign.ts +285 -253
  613. package/_src/typeclass/Semimonoidal.ts +23 -54
  614. package/_src/typeclass/Showable/show.ts +10 -12
  615. package/_src/typeclass/Traversable.ts +45 -63
  616. package/_src/typeclass/TraversableWithIndex.ts +37 -34
  617. package/_src/typeclass/Witherable.ts +28 -115
  618. package/_src/typeclass/WitherableWithIndex.ts +82 -115
  619. package/_src/types/extractions.ts +1 -1
  620. package/_src/util.ts +8 -0
  621. package/collection/Iterable/api/traverseConc.d.ts +4 -6
  622. package/collection/compat/Array/api.d.ts +10 -10
  623. package/collection/compat/Array/definition.d.ts +3 -3
  624. package/collection/compat/Array/derivations.d.ts +24 -0
  625. package/collection/compat/Array.d.ts +1 -0
  626. package/collection/compat/Record/instances.d.ts +12 -0
  627. package/collection/compat.d.ts +2 -0
  628. package/collection/immutable/Conc/api.d.ts +4 -6
  629. package/collection/immutable/Conc/definition.d.ts +24 -20
  630. package/collection/immutable/Conc/derivations.d.ts +14 -0
  631. package/collection/immutable/Conc.d.ts +1 -0
  632. package/collection/immutable/Dictionary/definition.d.ts +1 -1
  633. package/collection/immutable/HashMap/api.d.ts +13 -13
  634. package/collection/immutable/HashMap/definition.d.ts +10 -7
  635. package/collection/immutable/ImmutableArray/api.d.ts +22 -24
  636. package/collection/immutable/ImmutableArray/constructors.d.ts +2 -2
  637. package/collection/immutable/ImmutableArray/definition.d.ts +12 -6
  638. package/collection/immutable/ImmutableArray/derivations.d.ts +14 -0
  639. package/collection/immutable/ImmutableArray/instances.d.ts +17 -17
  640. package/collection/immutable/ImmutableArray.d.ts +1 -0
  641. package/collection/immutable/ImmutableNonEmptyArray/api.d.ts +6 -5
  642. package/collection/immutable/ImmutableNonEmptyArray/constructors.d.ts +2 -2
  643. package/collection/immutable/ImmutableNonEmptyArray/definition.d.ts +9 -5
  644. package/collection/immutable/ImmutableNonEmptyArray/derivations.d.ts +14 -0
  645. package/collection/immutable/ImmutableNonEmptyArray/instances.d.ts +10 -10
  646. package/collection/immutable/ImmutableNonEmptyArray.d.ts +1 -0
  647. package/collection/immutable/List/definition.d.ts +2 -2
  648. package/collection/immutable/RoseTree/definition.d.ts +7 -5
  649. package/collection/immutable/Vector/api.d.ts +4 -4
  650. package/collection/immutable/Vector/definition.d.ts +9 -10
  651. package/collection/immutable/Vector/internal.d.ts +1 -1
  652. package/collection/immutable.d.ts +10 -0
  653. package/collection/mutable/HashMap.d.ts +1 -0
  654. package/collection/mutable.d.ts +4 -0
  655. package/collection/weak/IterableWeakMap.d.ts +9 -3
  656. package/collection/weak/IterableWeakSet.d.ts +10 -4
  657. package/collection/weak.d.ts +2 -0
  658. package/collection.d.ts +5 -0
  659. package/control/Eval/api.d.ts +6 -1
  660. package/control/Eval/definition.d.ts +6 -4
  661. package/control/Eval/instance.d.ts +3 -3
  662. package/control/Z/api.d.ts +32 -30
  663. package/control/Z/definition.d.ts +43 -37
  664. package/control/Z/instances.d.ts +2 -2
  665. package/control/Z/runtime.d.ts +9 -8
  666. package/control.d.ts +3 -0
  667. package/data/Const/definition.d.ts +8 -16
  668. package/data/Const/instances.d.ts +4 -3
  669. package/data/Datum/api.d.ts +188 -0
  670. package/data/Datum/definition.d.ts +75 -0
  671. package/data/Datum/instances.d.ts +32 -0
  672. package/data/DatumEither/api.d.ts +169 -0
  673. package/data/DatumEither/definition.d.ts +21 -0
  674. package/data/DecodeError/definition.d.ts +6 -0
  675. package/data/DecodeError/instances.d.ts +1 -0
  676. package/data/DecodeError.d.ts +1 -0
  677. package/data/Decoder/definition.d.ts +6 -4
  678. package/data/Either/api.d.ts +10 -0
  679. package/data/Either/definition.d.ts +8 -14
  680. package/data/Either/instances.d.ts +4 -3
  681. package/data/EitherT/api.d.ts +60 -0
  682. package/data/EitherT/definition.d.ts +12 -0
  683. package/data/Environment/api.d.ts +7 -5
  684. package/data/Environment/definition.d.ts +3 -3
  685. package/data/Identity/api.d.ts +2 -1
  686. package/data/Identity/definition.d.ts +2 -2
  687. package/data/Identity/instances.d.ts +3 -3
  688. package/data/Intervals.d.ts +53 -0
  689. package/data/Maybe/api.d.ts +2 -1
  690. package/data/Maybe/definition.d.ts +10 -5
  691. package/data/Maybe/instances.d.ts +6 -6
  692. package/data/Newtype.d.ts +9 -8
  693. package/data/Struct/definition.d.ts +1 -1
  694. package/data/Tag/definition.d.ts +2 -2
  695. package/data/Zipped.d.ts +24 -0
  696. package/data/function/api.d.ts +6 -0
  697. package/data/object/instances.d.ts +6 -1
  698. package/data/string/api.d.ts +1 -1
  699. package/data.d.ts +33 -0
  700. package/global.d.ts +237 -0
  701. package/index.d.ts +8 -0
  702. package/json.d.ts +3 -0
  703. package/optics/Traversal/api/fromTraversable.d.ts +1 -1
  704. package/optics/Traversal/definition.d.ts +2 -4
  705. package/optics.d.ts +10 -0
  706. package/package.json +6 -2
  707. package/typeclass/Align.d.ts +1 -1
  708. package/typeclass/Alt.d.ts +2 -4
  709. package/typeclass/Alternative.d.ts +1 -1
  710. package/typeclass/Applicative.d.ts +2 -1
  711. package/typeclass/ApplicativeExcept.d.ts +5 -13
  712. package/typeclass/Apply.d.ts +20 -32
  713. package/typeclass/Chain.d.ts +5 -13
  714. package/typeclass/Fail.d.ts +2 -7
  715. package/typeclass/Filterable.d.ts +7 -31
  716. package/typeclass/FilterableWithIndex.d.ts +7 -7
  717. package/typeclass/Foldable.d.ts +6 -19
  718. package/typeclass/FoldableWithIndex.d.ts +6 -19
  719. package/typeclass/Functor.d.ts +4 -11
  720. package/typeclass/FunctorWithIndex.d.ts +2 -2
  721. package/typeclass/Guard/definition.d.ts +1 -4
  722. package/typeclass/Monad.d.ts +1 -1
  723. package/typeclass/MonadExcept.d.ts +3 -4
  724. package/typeclass/Nil.d.ts +2 -7
  725. package/typeclass/Pointed.d.ts +2 -7
  726. package/typeclass/Semialign.d.ts +26 -32
  727. package/typeclass/Semimonoidal.d.ts +3 -8
  728. package/typeclass/Showable/show.d.ts +1 -1
  729. package/typeclass/Traversable.d.ts +21 -12
  730. package/typeclass/TraversableWithIndex.d.ts +19 -6
  731. package/typeclass/Witherable.d.ts +5 -19
  732. package/typeclass/WitherableWithIndex.d.ts +33 -19
  733. package/types/extractions.d.ts +1 -1
  734. package/util.d.ts +6 -0
@@ -88,46 +88,44 @@ exports.unsafeAsMutable = void 0;
88
88
  exports.unsafeUpdateAt_ = exports.unsafeModifyAt_ = exports.unsafeInsertAt_ = exports.unsafeGet = exports.unsafeDeleteAt_ = void 0;
89
89
  exports.unzip = unzip;
90
90
  exports.updateAt_ = updateAt_;
91
- exports.wiltWithIndex_ = wiltWithIndex_;
92
- exports.wilt_ = wilt_;
93
- exports.witherWithIndex_ = void 0;
94
- exports.wither_ = wither_;
95
- exports.zipWith_ = void 0;
91
+ exports.zipWith_ = exports.witherWithIndex = exports.wither = exports.wiltWithIndex = exports.wilt = void 0;
96
92
  exports.zip_ = zip_;
97
93
 
98
94
  var tsplus_module_1 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/These/constructors"));
99
95
 
100
96
  var tsplus_module_2 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/ImmutableArray/constructors"));
101
97
 
102
- var tsplus_module_3 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/ImmutableArray/api/slice"));
98
+ var tsplus_module_3 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Zipped"));
103
99
 
104
- var tsplus_module_4 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/ImmutableNonEmptyArray/definition"));
100
+ var tsplus_module_4 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/ImmutableArray/api/slice"));
105
101
 
106
- var tsplus_module_5 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/definition"));
102
+ var tsplus_module_5 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/ImmutableNonEmptyArray/definition"));
107
103
 
108
- var tsplus_module_6 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/constructors"));
104
+ var tsplus_module_6 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/definition"));
109
105
 
110
- var tsplus_module_7 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/instance"));
106
+ var tsplus_module_7 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/constructors"));
111
107
 
112
- var tsplus_module_8 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/api"));
108
+ var tsplus_module_8 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/instance"));
113
109
 
114
- var tsplus_module_9 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/run"));
110
+ var tsplus_module_9 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/api"));
115
111
 
116
- var tsplus_module_10 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/constructors"));
112
+ var tsplus_module_10 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/control/Eval/run"));
117
113
 
118
- var tsplus_module_11 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/ImmutableNonEmptyArray/constructors"));
114
+ var tsplus_module_11 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Maybe/constructors"));
119
115
 
120
- var tsplus_module_12 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Dictionary/definition"));
116
+ var tsplus_module_12 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/ImmutableNonEmptyArray/constructors"));
121
117
 
122
- var tsplus_module_13 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Dictionary/api"));
118
+ var tsplus_module_13 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Dictionary/definition"));
123
119
 
124
- var tsplus_module_14 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/typeclass/Ord/instances"));
120
+ var tsplus_module_14 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/collection/immutable/Dictionary/api"));
125
121
 
126
- var tsplus_module_15 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/typeclass/Apply"));
122
+ var tsplus_module_15 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/typeclass/Ord/instances"));
127
123
 
128
- var tsplus_module_16 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Either/destructors"));
124
+ var tsplus_module_16 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/typeclass/TraversableWithIndex"));
129
125
 
130
- var tsplus_module_17 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/typeclass/Functor"));
126
+ var tsplus_module_17 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/data/Either/destructors"));
127
+
128
+ var tsplus_module_18 = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("@fncts/base/typeclass/WitherableWithIndex"));
131
129
 
132
130
  var _function = /*#__PURE__*/require("@fncts/base/data/function");
133
131
 
@@ -225,8 +223,6 @@ const unsafeModifyAt_ = unsafeModifyAt_1;
225
223
  exports.unsafeModifyAt_ = unsafeModifyAt_;
226
224
  const unsafeUpdateAt_ = unsafeUpdateAt_1;
227
225
  exports.unsafeUpdateAt_ = unsafeUpdateAt_;
228
- const witherWithIndex_ = witherWithIndex_1;
229
- exports.witherWithIndex_ = witherWithIndex_;
230
226
  const zipWith_ = zipWith_1;
231
227
  exports.zipWith_ = zipWith_;
232
228
 
@@ -313,7 +309,7 @@ function crossWith_1(self, fb, f) {
313
309
 
314
310
 
315
311
  function cross_(self, fb) {
316
- return crossWith_1(self, fb, _function.tuple);
312
+ return crossWith_1(self, fb, (a, b) => tsplus_module_3.make(a, b));
317
313
  }
318
314
  /**
319
315
  * @tsplus static fncts.ImmutableArrayOps chainRecDepthFirst
@@ -321,7 +317,7 @@ function cross_(self, fb) {
321
317
 
322
318
 
323
319
  function chainRecDepthFirst(a, f) {
324
- const buffer = unsafeAsMutable_1(tsplus_module_3.slice_(f(a)));
320
+ const buffer = unsafeAsMutable_1(tsplus_module_4.slice_(f(a)));
325
321
  const out = [];
326
322
 
327
323
  while (buffer.length > 0) {
@@ -434,7 +430,7 @@ function chop_(as, f) {
434
430
  const result = [];
435
431
  let cs = as;
436
432
 
437
- while (tsplus_module_4.isNonEmpty(cs)) {
433
+ while (tsplus_module_5.isNonEmpty(cs)) {
438
434
  const [b, c] = f(cs);
439
435
  result.push(b);
440
436
  cs = c;
@@ -454,10 +450,10 @@ exports.chop = chop;
454
450
  function collectWhile_(as, f) {
455
451
  const result = [];
456
452
 
457
- for (let i = 0; i < tsplus_module_4.length(as); i++) {
453
+ for (let i = 0; i < tsplus_module_5.length(as); i++) {
458
454
  const o = f(as._array[i]);
459
455
 
460
- if (tsplus_module_5.isJust(o)) {
456
+ if (tsplus_module_6.isJust(o)) {
461
457
  result.push(o.value);
462
458
  } else {
463
459
  break;
@@ -469,14 +465,14 @@ function collectWhile_(as, f) {
469
465
 
470
466
  function comprehensionLoop(scope, input, f, g) {
471
467
  if (input.length === 0) {
472
- return g(...scope) ? tsplus_module_6.now(tsplus_module_2.make(f(...scope))) : tsplus_module_6.now(tsplus_module_2.empty());
468
+ return g(...scope) ? tsplus_module_7.now(tsplus_module_2.make(f(...scope))) : tsplus_module_7.now(tsplus_module_2.empty());
473
469
  } else {
474
- return tsplus_module_8.map_(traverse_1(input[0], a => comprehensionLoop(append_1(scope, a), input.slice(1), f, g), tsplus_module_7.Applicative), rs => flatten_1(rs));
470
+ return tsplus_module_9.map_(traverse_1(input[0])(tsplus_module_8.Applicative)(a => comprehensionLoop(append_1(scope, a), input.slice(1), f, g)), rs => flatten_1(rs));
475
471
  }
476
472
  }
477
473
 
478
474
  function comprehension(input, f, g = () => true) {
479
- return tsplus_module_9.run(comprehensionLoop(tsplus_module_2.empty(), input, f, g));
475
+ return tsplus_module_10.run(comprehensionLoop(tsplus_module_2.empty(), input, f, g));
480
476
  }
481
477
  /**
482
478
  * @tsplus fluent fncts.ImmutableArray concat
@@ -515,7 +511,7 @@ function concat_1(self, that) {
515
511
 
516
512
 
517
513
  function deleteAt_(as, i) {
518
- return isOutOfBound_1(as, i) ? tsplus_module_10.nothing() : tsplus_module_10.just(unsafeDeleteAt_1(as, i));
514
+ return isOutOfBound_1(as, i) ? tsplus_module_11.nothing() : tsplus_module_11.just(unsafeDeleteAt_1(as, i));
519
515
  }
520
516
  /**
521
517
  * @tsplus fluent fncts.ImmutableArray difference
@@ -533,7 +529,7 @@ E) {
533
529
 
534
530
 
535
531
  function drop_(self, n) {
536
- return tsplus_module_3.slice_(self, n);
532
+ return tsplus_module_4.slice_(self, n);
537
533
  }
538
534
  /**
539
535
  * @tsplus fluent fncts.ImmutableArray dropLast
@@ -541,7 +537,7 @@ function drop_(self, n) {
541
537
 
542
538
 
543
539
  function dropLast_(self, n) {
544
- return tsplus_module_3.slice_(self, 0, tsplus_module_4.length(self) - n);
540
+ return tsplus_module_4.slice_(self, 0, tsplus_module_5.length(self) - n);
545
541
  }
546
542
  /**
547
543
  * @tsplus fluent fncts.ImmutableArray dropWhile
@@ -549,7 +545,7 @@ function dropLast_(self, n) {
549
545
 
550
546
 
551
547
  function dropWhile_(self, p) {
552
- return tsplus_module_3.slice_(self, spanIndexLeft_1(self, p));
548
+ return tsplus_module_4.slice_(self, spanIndexLeft_1(self, p));
553
549
  }
554
550
  /**
555
551
  * @tsplus fluent fncts.ImmutableArray dropLastWhile
@@ -557,7 +553,7 @@ function dropWhile_(self, p) {
557
553
 
558
554
 
559
555
  function dropLastWhile_(as, p) {
560
- return tsplus_module_3.slice_(as, 0, spanIndexRight_1(as, p) + 1);
556
+ return tsplus_module_4.slice_(as, 0, spanIndexRight_1(as, p) + 1);
561
557
  }
562
558
  /**
563
559
  * Test if a value is a member of an array. Takes an `Eq<A>` as a single
@@ -573,7 +569,7 @@ function elem_1(as, a,
573
569
  E) {
574
570
  const predicate = element => E.equals(element, a);
575
571
 
576
- const len = tsplus_module_4.length(as);
572
+ const len = tsplus_module_5.length(as);
577
573
 
578
574
  for (let i = 0; i < len; i++) {
579
575
  if (predicate(as._array[i])) {
@@ -592,7 +588,7 @@ function everyWithIndex_1(self, p) {
592
588
  let result = true;
593
589
  let i = 0;
594
590
 
595
- while (result && i < tsplus_module_4.length(self)) {
591
+ while (result && i < tsplus_module_5.length(self)) {
596
592
  result = p(i, self._array[i]);
597
593
  i++;
598
594
  }
@@ -608,7 +604,7 @@ function exists_(self, p) {
608
604
  let result = false;
609
605
  let i = 0;
610
606
 
611
- while (!result && i < tsplus_module_4.length(self)) {
607
+ while (!result && i < tsplus_module_5.length(self)) {
612
608
  result = p(self._array[i]);
613
609
  i++;
614
610
  }
@@ -623,7 +619,7 @@ function filter_1(self, p) {
623
619
  function filterWithIndex_1(self, p) {
624
620
  const result = [];
625
621
 
626
- for (let i = 0; i < tsplus_module_4.length(self); i++) {
622
+ for (let i = 0; i < tsplus_module_5.length(self); i++) {
627
623
  const a = self._array[i];
628
624
 
629
625
  if (p(i, a)) {
@@ -641,10 +637,10 @@ function filterWithIndex_1(self, p) {
641
637
  function filterMapWithIndex_1(fa, f) {
642
638
  const result = [];
643
639
 
644
- for (let i = 0; i < tsplus_module_4.length(fa); i++) {
640
+ for (let i = 0; i < tsplus_module_5.length(fa); i++) {
645
641
  const maybeB = f(i, unsafeGet_1(fa, i));
646
642
 
647
- if (tsplus_module_5.isJust(maybeB)) {
643
+ if (tsplus_module_6.isJust(maybeB)) {
648
644
  result.push(maybeB.value);
649
645
  }
650
646
  }
@@ -669,19 +665,19 @@ function find_(self, p) {
669
665
 
670
666
 
671
667
  function findIndex_(as, predicate) {
672
- return findMapWithIndex_1(as, (i, a) => predicate(a) ? tsplus_module_10.just(i) : tsplus_module_10.nothing());
668
+ return findMapWithIndex_1(as, (i, a) => predicate(a) ? tsplus_module_11.just(i) : tsplus_module_11.nothing());
673
669
  }
674
670
 
675
671
  function findWithIndex_1(as, p) {
676
- const len = tsplus_module_4.length(as);
672
+ const len = tsplus_module_5.length(as);
677
673
 
678
674
  for (let i = 0; i < len; i++) {
679
675
  if (p(i, as._array[i])) {
680
- return tsplus_module_10.just(as._array[i]);
676
+ return tsplus_module_11.just(as._array[i]);
681
677
  }
682
678
  }
683
679
 
684
- return tsplus_module_10.nothing();
680
+ return tsplus_module_11.nothing();
685
681
  }
686
682
  /**
687
683
  * @tsplus fluent fncts.ImmutableArray findMap
@@ -697,29 +693,29 @@ function findMap_(as, f) {
697
693
 
698
694
 
699
695
  function findMapWithIndex_1(as, f) {
700
- const len = tsplus_module_4.length(as);
696
+ const len = tsplus_module_5.length(as);
701
697
 
702
698
  for (let i = 0; i < len; i++) {
703
699
  const v = f(i, as._array[i]);
704
700
 
705
- if (tsplus_module_5.isJust(v)) {
701
+ if (tsplus_module_6.isJust(v)) {
706
702
  return v;
707
703
  }
708
704
  }
709
705
 
710
- return tsplus_module_10.nothing();
706
+ return tsplus_module_11.nothing();
711
707
  }
712
708
 
713
709
  function findLast_(as, p) {
714
- const len = tsplus_module_4.length(as);
710
+ const len = tsplus_module_5.length(as);
715
711
 
716
712
  for (let i = len - 1; i >= 0; i--) {
717
713
  if (p(as._array[i])) {
718
- return tsplus_module_10.just(as._array[i]);
714
+ return tsplus_module_11.just(as._array[i]);
719
715
  }
720
716
  }
721
717
 
722
- return tsplus_module_10.nothing();
718
+ return tsplus_module_11.nothing();
723
719
  }
724
720
  /**
725
721
  * @tsplus fluent fncts.ImmutableArray findLastIndex
@@ -727,7 +723,7 @@ function findLast_(as, p) {
727
723
 
728
724
 
729
725
  function findLastIndex_(self, p) {
730
- return findLastMapWithIndex_1(self, (i, a) => p(a) ? tsplus_module_10.just(i) : tsplus_module_10.nothing());
726
+ return findLastMapWithIndex_1(self, (i, a) => p(a) ? tsplus_module_11.just(i) : tsplus_module_11.nothing());
731
727
  }
732
728
  /**
733
729
  * @tsplus fluent fncts.ImmutableArray findLastMap
@@ -743,26 +739,26 @@ function findLastMap_(as, f) {
743
739
 
744
740
 
745
741
  function findLastMapWithIndex_1(as, f) {
746
- const len = tsplus_module_4.length(as);
742
+ const len = tsplus_module_5.length(as);
747
743
 
748
744
  for (let i = len - 1; i >= 0; i--) {
749
745
  const v = f(i, as._array[i]);
750
746
 
751
- if (tsplus_module_5.isJust(v)) {
747
+ if (tsplus_module_6.isJust(v)) {
752
748
  return v;
753
749
  }
754
750
  }
755
751
 
756
- return tsplus_module_10.nothing();
752
+ return tsplus_module_11.nothing();
757
753
  }
758
754
  /**
759
755
  * @tsplus fluent fncts.ImmutableArray foldLeftWithIndex
760
- * @tsplus fluent fncts.base.MutableArray foldLeftWithIndex
756
+ * @tsplus fluent fncts.MutableArray foldLeftWithIndex
761
757
  */
762
758
 
763
759
 
764
760
  function foldLeftWithIndex_1(self, b, f) {
765
- const len = tsplus_module_4.length(self);
761
+ const len = tsplus_module_5.length(self);
766
762
  let r = b;
767
763
 
768
764
  for (let i = 0; i < len; i++) {
@@ -773,7 +769,7 @@ function foldLeftWithIndex_1(self, b, f) {
773
769
  }
774
770
  /**
775
771
  * @tsplus fluent fncts.ImmutableArray foldLeft
776
- * @tsplus fluent fncts.base.MutableArray foldLeft
772
+ * @tsplus fluent fncts.MutableArray foldLeft
777
773
  */
778
774
 
779
775
 
@@ -782,7 +778,7 @@ function foldLeft_1(self, b, f) {
782
778
  }
783
779
  /**
784
780
  * @tsplus fluent fncts.ImmutableArray foldLeftWhile
785
- * @tsplus fluent fncts.base.MutableArray foldLeftWhile
781
+ * @tsplus fluent fncts.MutableArray foldLeftWhile
786
782
  */
787
783
 
788
784
 
@@ -791,7 +787,7 @@ function foldLeftWhile_(self, b, p, f) {
791
787
  }
792
788
  /**
793
789
  * @tsplus fluent fncts.ImmutableArray foldLeftWithIndexWhile
794
- * @tsplus fluent fncts.base.MutableArray foldLeftWithIndexWhile
790
+ * @tsplus fluent fncts.MutableArray foldLeftWithIndexWhile
795
791
  */
796
792
 
797
793
 
@@ -799,7 +795,7 @@ function foldLeftWithIndexWhile_1(self, b, p, f) {
799
795
  let out = b;
800
796
  let cont = p(out);
801
797
 
802
- for (let i = 0; cont && i < tsplus_module_4.length(self); i++) {
798
+ for (let i = 0; cont && i < tsplus_module_5.length(self); i++) {
803
799
  out = f(i, out, self._array[i]);
804
800
  cont = p(out);
805
801
  }
@@ -844,7 +840,7 @@ M) {
844
840
  function foldRightWithIndex_1(self, b, f) {
845
841
  let r = b;
846
842
 
847
- for (let i = tsplus_module_4.length(self) - 1; i >= 0; i--) {
843
+ for (let i = tsplus_module_5.length(self) - 1; i >= 0; i--) {
848
844
  r = f(i, self._array[i], r);
849
845
  }
850
846
 
@@ -875,7 +871,7 @@ function foldRightWithIndexWhile_1(self, b, predicate, f) {
875
871
  let out = b;
876
872
  let cont = predicate(out);
877
873
 
878
- for (let i = tsplus_module_4.length(self) - 1; cont && i >= 0; i--) {
874
+ for (let i = tsplus_module_5.length(self) - 1; cont && i >= 0; i--) {
879
875
  out = f(i, self._array[i], out);
880
876
  cont = predicate(out);
881
877
  }
@@ -892,12 +888,12 @@ function forEach_1(self, f) {
892
888
  }
893
889
  /**
894
890
  * @tsplus fluent fncts.ImmutableArray get
895
- * @tsplus fluent fncts.base.MutableArray get
891
+ * @tsplus fluent fncts.MutableArray get
896
892
  */
897
893
 
898
894
 
899
895
  function get_1(self, i) {
900
- return isOutOfBound_1(self, i) ? tsplus_module_10.nothing() : tsplus_module_10.just(self._array[i]);
896
+ return isOutOfBound_1(self, i) ? tsplus_module_11.nothing() : tsplus_module_11.just(self._array[i]);
901
897
  }
902
898
 
903
899
  function group(E) {
@@ -906,7 +902,7 @@ function group(E) {
906
902
  const out = [h];
907
903
  let i = 1;
908
904
 
909
- for (; i < tsplus_module_4.length(self); i++) {
905
+ for (; i < tsplus_module_5.length(self); i++) {
910
906
  const a = self._array[i];
911
907
 
912
908
  if (E.equals(a, h)) {
@@ -916,7 +912,7 @@ function group(E) {
916
912
  }
917
913
  }
918
914
 
919
- return [tsplus_module_11.unsafeAsNonEmptyArray(out), tsplus_module_3.slice_(self, i)];
915
+ return [tsplus_module_12.unsafeAsNonEmptyArray(out), tsplus_module_4.slice_(self, i)];
920
916
  });
921
917
  }
922
918
  /**
@@ -935,7 +931,7 @@ function chopSelf(self, E) {
935
931
  function groupBy_(self, f) {
936
932
  const out = {};
937
933
 
938
- for (let i = 0; i < tsplus_module_4.length(self); i++) {
934
+ for (let i = 0; i < tsplus_module_5.length(self); i++) {
939
935
  const a = self._array[i];
940
936
  const k = f(a);
941
937
 
@@ -946,7 +942,7 @@ function groupBy_(self, f) {
946
942
  }
947
943
  }
948
944
 
949
- return tsplus_module_13.map_(tsplus_module_12.Dictionary.get(out), tsplus_module_11.from);
945
+ return tsplus_module_14.map_(tsplus_module_13.Dictionary.get(out), tsplus_module_12.from);
950
946
  }
951
947
  /**
952
948
  * @tsplus getter fncts.ImmutableArray head
@@ -954,7 +950,7 @@ function groupBy_(self, f) {
954
950
 
955
951
 
956
952
  function head(self) {
957
- return tsplus_module_4.isNonEmpty(self) ? tsplus_module_10.just(self._array[0]) : tsplus_module_10.nothing();
953
+ return tsplus_module_5.isNonEmpty(self) ? tsplus_module_11.just(self._array[0]) : tsplus_module_11.nothing();
958
954
  }
959
955
  /**
960
956
  * @tsplus getter fncts.ImmutableArray init
@@ -962,8 +958,8 @@ function head(self) {
962
958
 
963
959
 
964
960
  function init(self) {
965
- const len = tsplus_module_4.length(self);
966
- return len === 0 ? tsplus_module_10.nothing() : tsplus_module_10.just(tsplus_module_3.slice_(self, 0, len - 1));
961
+ const len = tsplus_module_5.length(self);
962
+ return len === 0 ? tsplus_module_11.nothing() : tsplus_module_11.just(tsplus_module_4.slice_(self, 0, len - 1));
967
963
  }
968
964
  /**
969
965
  * @tsplus fluent fncts.ImmutableArray insertAt
@@ -971,7 +967,7 @@ function init(self) {
971
967
 
972
968
 
973
969
  function insertAt_(self, i, a) {
974
- return isOutOfBound_1(self, i) ? tsplus_module_10.nothing() : tsplus_module_10.just(unsafeInsertAt_1(self, i, a));
970
+ return isOutOfBound_1(self, i) ? tsplus_module_11.nothing() : tsplus_module_11.just(unsafeInsertAt_1(self, i, a));
975
971
  }
976
972
  /**
977
973
  * @tsplus fluent fncts.ImmutableArray intersection
@@ -985,8 +981,8 @@ E) {
985
981
  }
986
982
 
987
983
  function intersperse_(self, a) {
988
- const len = tsplus_module_4.length(self);
989
- return len === 0 ? self : prepend_1(prependAll_1(tsplus_module_3.slice_(self, 1, len), a), unsafeGet_1(self, 0));
984
+ const len = tsplus_module_5.length(self);
985
+ return len === 0 ? self : prepend_1(prependAll_1(tsplus_module_4.slice_(self, 1, len), a), unsafeGet_1(self, 0));
990
986
  }
991
987
  /**
992
988
  * @tsplus fluent fncts.ImmutableArray isEmpty
@@ -994,7 +990,7 @@ function intersperse_(self, a) {
994
990
 
995
991
 
996
992
  function isEmpty_1(self) {
997
- return tsplus_module_4.length(self) === 0;
993
+ return tsplus_module_5.length(self) === 0;
998
994
  }
999
995
  /**
1000
996
  * @tsplus fluent fncts.ImmutableArray isOutOfBound
@@ -1002,7 +998,7 @@ function isEmpty_1(self) {
1002
998
 
1003
999
 
1004
1000
  function isOutOfBound_1(self, i) {
1005
- return i < 0 || i >= tsplus_module_4.length(self);
1001
+ return i < 0 || i >= tsplus_module_5.length(self);
1006
1002
  }
1007
1003
  /**
1008
1004
  * @tsplus fluent fncts.ImmutableArray join
@@ -1018,7 +1014,7 @@ function join(self, separator) {
1018
1014
 
1019
1015
 
1020
1016
  function last(self) {
1021
- return get_1(self, tsplus_module_4.length(self) - 1);
1017
+ return get_1(self, tsplus_module_5.length(self) - 1);
1022
1018
  }
1023
1019
  /**
1024
1020
  * @tsplus getter fncts.ImmutableArray length
@@ -1036,7 +1032,7 @@ function length(self) {
1036
1032
  function lefts(self) {
1037
1033
  const ls = [];
1038
1034
 
1039
- for (let i = 0; i < tsplus_module_4.length(self); i++) {
1035
+ for (let i = 0; i < tsplus_module_5.length(self); i++) {
1040
1036
  const a = self._array[i];
1041
1037
  void 0;
1042
1038
 
@@ -1063,10 +1059,10 @@ function map_1(self, f) {
1063
1059
 
1064
1060
 
1065
1061
  function mapAccum_(self, s, f) {
1066
- const bs = Array(tsplus_module_4.length(self));
1062
+ const bs = Array(tsplus_module_5.length(self));
1067
1063
  let state = s;
1068
1064
 
1069
- for (let i = 0; i < tsplus_module_4.length(self); i++) {
1065
+ for (let i = 0; i < tsplus_module_5.length(self); i++) {
1070
1066
  const result = f(state, self._array[i]);
1071
1067
  bs[i] = result[0];
1072
1068
  state = result[1];
@@ -1095,7 +1091,7 @@ function mapWithIndex_1(self, f) {
1095
1091
 
1096
1092
 
1097
1093
  function modifyAt_(self, i, f) {
1098
- return isOutOfBound_1(self, i) ? tsplus_module_10.nothing() : tsplus_module_10.just(unsafeModifyAt_1(self, i, f));
1094
+ return isOutOfBound_1(self, i) ? tsplus_module_11.nothing() : tsplus_module_11.just(unsafeModifyAt_1(self, i, f));
1099
1095
  }
1100
1096
  /**
1101
1097
  * @tsplus fluent fncts.ImmutableArray mutate
@@ -1113,14 +1109,14 @@ function mutate_1(self, f) {
1113
1109
 
1114
1110
 
1115
1111
  function mutableClone_1(self) {
1116
- return tsplus_module_3.slice_(self, 0)._array;
1112
+ return tsplus_module_4.slice_(self, 0)._array;
1117
1113
  }
1118
1114
 
1119
1115
  function partitionWithIndex_1(self, p) {
1120
1116
  const left = [];
1121
1117
  const right = [];
1122
1118
 
1123
- for (let i = 0; i < tsplus_module_4.length(self); i++) {
1119
+ for (let i = 0; i < tsplus_module_5.length(self); i++) {
1124
1120
  const a = self._array[i];
1125
1121
 
1126
1122
  if (p(i, a)) {
@@ -1145,7 +1141,7 @@ function partitionMapWithIndex_1(self, f) {
1145
1141
  const left = [];
1146
1142
  const right = [];
1147
1143
 
1148
- for (let i = 0; i < tsplus_module_4.length(self); i++) {
1144
+ for (let i = 0; i < tsplus_module_5.length(self); i++) {
1149
1145
  const ea = f(i, self._array[i]);
1150
1146
  void 0;
1151
1147
 
@@ -1180,7 +1176,7 @@ function partitionMap_(self, f) {
1180
1176
 
1181
1177
 
1182
1178
  function prepend_1(self, head) {
1183
- const len = tsplus_module_4.length(self);
1179
+ const len = tsplus_module_5.length(self);
1184
1180
  const out = Array(len + 1);
1185
1181
  out[0] = head;
1186
1182
 
@@ -1192,14 +1188,14 @@ function prepend_1(self, head) {
1192
1188
  }
1193
1189
  /**
1194
1190
  * @tsplus fluent fncts.ImmutableArray prependAll
1195
- * @tsplus fluent fncts.base.MutableArray prependAll
1191
+ * @tsplus fluent fncts.MutableArray prependAll
1196
1192
  */
1197
1193
 
1198
1194
 
1199
1195
  function prependAll_1(self, a) {
1200
1196
  const out = [];
1201
1197
 
1202
- for (let i = 0; i < tsplus_module_4.length(self); i++) {
1198
+ for (let i = 0; i < tsplus_module_5.length(self); i++) {
1203
1199
  out.push(a, self._array[i]);
1204
1200
  }
1205
1201
 
@@ -1213,12 +1209,12 @@ function prependAll_1(self, a) {
1213
1209
  function reverse(self) {
1214
1210
  if (isEmpty_1(self)) {
1215
1211
  return self;
1216
- } else if (tsplus_module_4.length(self) === 1) {
1212
+ } else if (tsplus_module_5.length(self) === 1) {
1217
1213
  return tsplus_module_2.make(self._array[0]);
1218
1214
  } else {
1219
- const out = Array(tsplus_module_4.length(self));
1215
+ const out = Array(tsplus_module_5.length(self));
1220
1216
 
1221
- for (let j = 0, i = tsplus_module_4.length(self) - 1; i >= 0; i--, j++) {
1217
+ for (let j = 0, i = tsplus_module_5.length(self) - 1; i >= 0; i--, j++) {
1222
1218
  out[j] = self._array[i];
1223
1219
  }
1224
1220
 
@@ -1233,7 +1229,7 @@ function reverse(self) {
1233
1229
  function rights(self) {
1234
1230
  const rs = [];
1235
1231
 
1236
- for (let i = 0; i < tsplus_module_4.length(self); i++) {
1232
+ for (let i = 0; i < tsplus_module_5.length(self); i++) {
1237
1233
  const a = self._array[i];
1238
1234
  void 0;
1239
1235
 
@@ -1252,14 +1248,14 @@ function rights(self) {
1252
1248
 
1253
1249
 
1254
1250
  function rotate_1(self, n) {
1255
- const len = tsplus_module_4.length(self);
1251
+ const len = tsplus_module_5.length(self);
1256
1252
 
1257
1253
  if (n === 0 || len <= 1 || len === Math.abs(n)) {
1258
1254
  return self;
1259
1255
  } else if (n < 0) {
1260
1256
  return rotate_1(self, len + n);
1261
1257
  } else {
1262
- return concat_1(tsplus_module_3.slice_(self, -n), tsplus_module_3.slice_(self, 0, len - n));
1258
+ return concat_1(tsplus_module_4.slice_(self, -n), tsplus_module_4.slice_(self, 0, len - n));
1263
1259
  }
1264
1260
  }
1265
1261
  /**
@@ -1268,7 +1264,7 @@ function rotate_1(self, n) {
1268
1264
 
1269
1265
 
1270
1266
  function scanLeft_(self, b, f) {
1271
- const l = tsplus_module_4.length(self);
1267
+ const l = tsplus_module_5.length(self);
1272
1268
  const r = Array(l + 1);
1273
1269
  r[0] = b;
1274
1270
 
@@ -1284,7 +1280,7 @@ function scanLeft_(self, b, f) {
1284
1280
 
1285
1281
 
1286
1282
  function scanRight_(self, b, f) {
1287
- const l = tsplus_module_4.length(self);
1283
+ const l = tsplus_module_5.length(self);
1288
1284
  const r = Array(l + 1);
1289
1285
  r[l] = b;
1290
1286
 
@@ -1302,7 +1298,7 @@ function scanRight_(self, b, f) {
1302
1298
  function sort_1(self,
1303
1299
  /** @tsplus auto */
1304
1300
  O) {
1305
- return isEmpty_1(self) || tsplus_module_4.length(self) === 1 ? self : tsplus_module_2.asImmutableArray(self._array.slice().sort(O.compare));
1301
+ return isEmpty_1(self) || tsplus_module_5.length(self) === 1 ? self : tsplus_module_2.asImmutableArray(self._array.slice().sort(O.compare));
1306
1302
  }
1307
1303
  /**
1308
1304
  * @tsplus fluent fncts.ImmutableArray sortBy
@@ -1310,7 +1306,7 @@ O) {
1310
1306
 
1311
1307
 
1312
1308
  function sortBy(self, Os) {
1313
- return sort_1(self, fold_1(Os, tsplus_module_14.getMonoid()));
1309
+ return sort_1(self, fold_1(Os, tsplus_module_15.getMonoid()));
1314
1310
  }
1315
1311
 
1316
1312
  function spanLeft_(self, p) {
@@ -1321,7 +1317,7 @@ function spanLeft_(self, p) {
1321
1317
  init[j] = self._array[j];
1322
1318
  }
1323
1319
 
1324
- const l = tsplus_module_4.length(self);
1320
+ const l = tsplus_module_5.length(self);
1325
1321
  const rest = Array(l - i);
1326
1322
 
1327
1323
  for (let j = i; j < l; j++) {
@@ -1333,7 +1329,7 @@ function spanLeft_(self, p) {
1333
1329
 
1334
1330
  function spanRight_(self, p) {
1335
1331
  const i = spanIndexRight_1(self, p);
1336
- const l = tsplus_module_4.length(self);
1332
+ const l = tsplus_module_5.length(self);
1337
1333
  const tail = Array(l - i - 1);
1338
1334
 
1339
1335
  for (let j = l - 1; j > i; j--) {
@@ -1354,7 +1350,7 @@ function spanRight_(self, p) {
1354
1350
 
1355
1351
 
1356
1352
  function spanIndexLeft_1(self, p) {
1357
- const l = tsplus_module_4.length(self);
1353
+ const l = tsplus_module_5.length(self);
1358
1354
  let i = 0;
1359
1355
 
1360
1356
  for (; i < l; i++) {
@@ -1371,7 +1367,7 @@ function spanIndexLeft_1(self, p) {
1371
1367
 
1372
1368
 
1373
1369
  function spanIndexRight_1(as, predicate) {
1374
- let i = tsplus_module_4.length(as) - 1;
1370
+ let i = tsplus_module_5.length(as) - 1;
1375
1371
 
1376
1372
  for (; i >= 0; i--) {
1377
1373
  if (!predicate(as._array[i])) {
@@ -1387,7 +1383,7 @@ function spanIndexRight_1(as, predicate) {
1387
1383
 
1388
1384
 
1389
1385
  function tail(self) {
1390
- return tsplus_module_4.isNonEmpty(self) ? tsplus_module_10.just(tsplus_module_3.slice_(self, 1)) : tsplus_module_10.nothing();
1386
+ return tsplus_module_5.isNonEmpty(self) ? tsplus_module_11.just(tsplus_module_4.slice_(self, 1)) : tsplus_module_11.nothing();
1391
1387
  }
1392
1388
  /**
1393
1389
  * @tsplus fluent fncts.ImmutableArray take
@@ -1395,7 +1391,7 @@ function tail(self) {
1395
1391
 
1396
1392
 
1397
1393
  function take_(self, n) {
1398
- return tsplus_module_3.slice_(self, 0, n);
1394
+ return tsplus_module_4.slice_(self, 0, n);
1399
1395
  }
1400
1396
  /**
1401
1397
  * @tsplus fluent fncts.ImmutableArray takeLast
@@ -1403,7 +1399,7 @@ function take_(self, n) {
1403
1399
 
1404
1400
 
1405
1401
  function takeLast_(as, n) {
1406
- return isEmpty_1(as) ? tsplus_module_2.empty() : tsplus_module_3.slice_(as, -n);
1402
+ return isEmpty_1(as) ? tsplus_module_2.empty() : tsplus_module_4.slice_(as, -n);
1407
1403
  }
1408
1404
 
1409
1405
  function takeWhile_(self, p) {
@@ -1417,20 +1413,19 @@ function takeWhile_(self, p) {
1417
1413
  return tsplus_module_2.asImmutableArray(init);
1418
1414
  }
1419
1415
  /**
1420
- * @tsplus fluent fncts.ImmutableArray traverseWithIndex
1416
+ * @tsplus getter fncts.ImmutableArray traverseWithIndex
1421
1417
  */
1422
1418
 
1423
1419
 
1424
- const traverseWithIndex_1 = (ta, f, G) => foldLeftWithIndex_1(ta, G.pure(tsplus_module_2.empty()), (i, fbs, a) => tsplus_module_15.zipWith(fbs, f(i, a), (bs, b) => append_1(bs, b), G));
1425
-
1420
+ const traverseWithIndex_1 = /*#__PURE__*/tsplus_module_16.mkTraverseWithIndex_()(() => ta => G => f => foldLeftWithIndex_1(ta, G.pure(tsplus_module_2.empty()), (i, fbs, a) => G.zipWith(fbs, f(i, a), (bs, b) => append_1(bs, b))));
1426
1421
  const traverseWithIndex_ = traverseWithIndex_1;
1427
1422
  /**
1428
- * @tsplus fluent fncts.ImmutableArray traverse
1423
+ * @tsplus getter fncts.ImmutableArray traverse
1429
1424
  */
1430
1425
 
1431
1426
  exports.traverseWithIndex_ = traverseWithIndex_;
1432
1427
 
1433
- const traverse_1 = (self, f, G) => traverseWithIndex_1(self, (_, a) => f(a), G);
1428
+ const traverse_1 = self => G => f => traverseWithIndex_1(self)(G)((_, a) => f(a));
1434
1429
 
1435
1430
  const traverse_ = traverse_1;
1436
1431
  /**
@@ -1452,12 +1447,12 @@ E) {
1452
1447
  function uniq(self,
1453
1448
  /** @tsplus auto */
1454
1449
  E) {
1455
- if (tsplus_module_4.length(self) === 1) {
1450
+ if (tsplus_module_5.length(self) === 1) {
1456
1451
  return self;
1457
1452
  }
1458
1453
 
1459
1454
  const out = [];
1460
- const len = tsplus_module_4.length(self);
1455
+ const len = tsplus_module_5.length(self);
1461
1456
 
1462
1457
  for (let i = 0; i < len; i++) {
1463
1458
  const a = self._array[i];
@@ -1475,7 +1470,7 @@ E) {
1475
1470
 
1476
1471
 
1477
1472
  function unprepend(self) {
1478
- return tsplus_module_4.isNonEmpty(self) ? tsplus_module_10.just([unsafeGet_1(self, 0), tsplus_module_3.slice_(self, 1)]) : tsplus_module_10.nothing();
1473
+ return tsplus_module_5.isNonEmpty(self) ? tsplus_module_11.just([unsafeGet_1(self, 0), tsplus_module_4.slice_(self, 1)]) : tsplus_module_11.nothing();
1479
1474
  }
1480
1475
  /**
1481
1476
  * @tsplus index fncts.ImmutableArray
@@ -1549,10 +1544,10 @@ function unsafeUpdateAt_1(as, i, a) {
1549
1544
 
1550
1545
 
1551
1546
  function unzip(self) {
1552
- const fa = Array(tsplus_module_4.length(self));
1553
- const fb = Array(tsplus_module_4.length(self));
1547
+ const fa = Array(tsplus_module_5.length(self));
1548
+ const fb = Array(tsplus_module_5.length(self));
1554
1549
 
1555
- for (let i = 0; i < tsplus_module_4.length(self); i++) {
1550
+ for (let i = 0; i < tsplus_module_5.length(self); i++) {
1556
1551
  fa[i] = self._array[i][0];
1557
1552
  fb[i] = self._array[i][1];
1558
1553
  }
@@ -1565,70 +1560,58 @@ function unzip(self) {
1565
1560
 
1566
1561
 
1567
1562
  function updateAt_(as, i, a) {
1568
- return isOutOfBound_1(as, i) ? tsplus_module_10.nothing() : tsplus_module_10.just(unsafeUpdateAt_1(as, i, a));
1563
+ return isOutOfBound_1(as, i) ? tsplus_module_11.nothing() : tsplus_module_11.just(unsafeUpdateAt_1(as, i, a));
1569
1564
  }
1570
1565
  /**
1571
- * @tsplus fluent fncts.ImmutableArray wilt
1566
+ * @tsplus getter fncts.ImmutableArray wiltWithIndex
1572
1567
  */
1573
1568
 
1574
1569
 
1575
- function wilt_(self, f,
1576
- /** @tsplus auto */
1577
- G) {
1578
- return tsplus_module_17.map(foldLeft_1(self, G.pure([[], []]), (fbs, a) => tsplus_module_15.zipWith(f(a), fbs, (eb, r) => tsplus_module_16.match_(eb, b1 => {
1579
- r[0].push(b1);
1580
- return r;
1581
- }, b2 => {
1582
- r[1].push(b2);
1583
- return r;
1584
- }), G)), ([b1s, b2s]) => [tsplus_module_2.asImmutableArray(b1s), tsplus_module_2.asImmutableArray(b2s)], G);
1585
- }
1586
-
1587
- function wiltWithIndex_(self, f,
1588
- /** @tsplus auto */
1589
- G) {
1590
- return tsplus_module_17.map(foldLeftWithIndex_1(self, G.pure([[], []]), (i, fbs, a) => tsplus_module_15.zipWith(f(i, a), fbs, (eb, r) => tsplus_module_16.match_(eb, b1 => {
1591
- r[0].push(b1);
1592
- return r;
1593
- }, b2 => {
1594
- r[1].push(b2);
1595
- return r;
1596
- }), G)), ([b1s, b2s]) => [tsplus_module_2.asImmutableArray(b1s), tsplus_module_2.asImmutableArray(b2s)], G);
1597
- }
1570
+ const wiltWithIndex_1 = /*#__PURE__*/tsplus_module_18.makeWiltWithIndex()(_ => self => G => f => G.map(foldLeftWithIndex_1(self, G.pure([[], []]), (i, fbs, a) => G.zipWith(f(i, a), fbs, (eb, r) => tsplus_module_17.match_(eb, b1 => {
1571
+ r[0].push(b1);
1572
+ return r;
1573
+ }, b2 => {
1574
+ r[1].push(b2);
1575
+ return r;
1576
+ }))), ([b1s, b2s]) => [tsplus_module_2.asImmutableArray(b1s), tsplus_module_2.asImmutableArray(b2s)]));
1577
+ const wiltWithIndex = wiltWithIndex_1;
1598
1578
  /**
1599
- * @tsplus fluent fncts.ImmutableArray wither
1579
+ * @tsplus getter fncts.ImmutableArray wilt
1600
1580
  */
1601
1581
 
1582
+ exports.wiltWithIndex = wiltWithIndex;
1602
1583
 
1603
- function wither_(self, f,
1604
- /** @tsplus auto */
1605
- G) {
1606
- const G_1 =
1607
- /** @tsplus auto */
1608
- G;
1609
- return witherWithIndex_1(self, (_, a) => f(a), G_1);
1610
- }
1584
+ const wilt = self => G => f => wiltWithIndex_1(self)(G)((_, a) => f(a));
1611
1585
  /**
1612
- * @tsplus fluent fncts.ImmutableArray witherWithIndex
1586
+ * @tsplus getter fncts.ImmutableArray witherWithIndex
1613
1587
  */
1614
1588
 
1615
1589
 
1616
- function witherWithIndex_1(self, f,
1617
- /** @tsplus auto */
1618
- G) {
1619
- return tsplus_module_17.map(foldLeftWithIndex_1(self, G.pure([]), (i, b, a) => tsplus_module_15.zipWith(f(i, a), b, (maybeB, bs) => {
1620
- if (tsplus_module_5.isJust(maybeB)) {
1590
+ exports.wilt = wilt;
1591
+ const witherWithIndex_1 = /*#__PURE__*/tsplus_module_18.makeWitherWithIndex()(_ => self => G => f => {
1592
+ return G.map(foldLeftWithIndex_1(self, G.pure([]), (i, b, a) => G.zipWith(f(i, a), b, (maybeB, bs) => {
1593
+ if (tsplus_module_6.isJust(maybeB)) {
1621
1594
  bs.push(maybeB.value);
1622
1595
  }
1623
1596
 
1624
1597
  return bs;
1625
- }, G)), bs => tsplus_module_2.asImmutableArray(bs), G);
1626
- }
1598
+ })), bs => tsplus_module_2.asImmutableArray(bs));
1599
+ });
1600
+ const witherWithIndex = witherWithIndex_1;
1601
+ /**
1602
+ * @tsplus getter fncts.ImmutableArray wither
1603
+ */
1604
+
1605
+ exports.witherWithIndex = witherWithIndex;
1606
+
1607
+ const wither = self => G => f => witherWithIndex_1(self)(G)((_, a) => f(a));
1627
1608
  /**
1628
1609
  * @tsplus fluent fncts.ImmutableArray zip
1629
1610
  */
1630
1611
 
1631
1612
 
1613
+ exports.wither = wither;
1614
+
1632
1615
  function zip_(self, that) {
1633
1616
  return zipWith_1(self, that, _function.tuple);
1634
1617
  }
@@ -1638,7 +1621,7 @@ function zip_(self, that) {
1638
1621
 
1639
1622
 
1640
1623
  function zipWith_1(self, fb, f) {
1641
- const len = Math.min(tsplus_module_4.length(self), tsplus_module_4.length(fb));
1624
+ const len = Math.min(tsplus_module_5.length(self), tsplus_module_5.length(fb));
1642
1625
  const fc = Array(len);
1643
1626
 
1644
1627
  for (let i = 0; i < len; i++) {