@fncts/base 0.0.12 → 0.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (473) 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/Record/instances.cjs +67 -16
  4. package/_cjs/collection/compat/Record/instances.cjs.map +1 -1
  5. package/_cjs/collection/immutable/Conc/api.cjs +9 -12
  6. package/_cjs/collection/immutable/Conc/api.cjs.map +1 -1
  7. package/_cjs/collection/immutable/Conc/definition.cjs +41 -43
  8. package/_cjs/collection/immutable/Conc/definition.cjs.map +1 -1
  9. package/_cjs/collection/immutable/Dictionary/definition.cjs +2 -4
  10. package/_cjs/collection/immutable/Dictionary/definition.cjs.map +1 -1
  11. package/_cjs/collection/immutable/HashMap/api.cjs +26 -29
  12. package/_cjs/collection/immutable/HashMap/api.cjs.map +1 -1
  13. package/_cjs/collection/immutable/HashMap/definition.cjs +15 -17
  14. package/_cjs/collection/immutable/HashMap/definition.cjs.map +1 -1
  15. package/_cjs/collection/immutable/ImmutableArray/api.cjs +136 -153
  16. package/_cjs/collection/immutable/ImmutableArray/api.cjs.map +1 -1
  17. package/_cjs/collection/immutable/ImmutableArray/definition.cjs +10 -12
  18. package/_cjs/collection/immutable/ImmutableArray/definition.cjs.map +1 -1
  19. package/_cjs/collection/immutable/ImmutableArray/instances.cjs +11 -9
  20. package/_cjs/collection/immutable/ImmutableArray/instances.cjs.map +1 -1
  21. package/_cjs/collection/immutable/ImmutableNonEmptyArray/api.cjs +21 -22
  22. package/_cjs/collection/immutable/ImmutableNonEmptyArray/api.cjs.map +1 -1
  23. package/_cjs/collection/immutable/ImmutableNonEmptyArray/definition.cjs +3 -9
  24. package/_cjs/collection/immutable/ImmutableNonEmptyArray/definition.cjs.map +1 -1
  25. package/_cjs/collection/immutable/ImmutableNonEmptyArray/instances.cjs +8 -2
  26. package/_cjs/collection/immutable/ImmutableNonEmptyArray/instances.cjs.map +1 -1
  27. package/_cjs/collection/immutable/RoseTree/definition.cjs +13 -15
  28. package/_cjs/collection/immutable/RoseTree/definition.cjs.map +1 -1
  29. package/_cjs/collection/immutable/Vector/api.cjs +8 -12
  30. package/_cjs/collection/immutable/Vector/api.cjs.map +1 -1
  31. package/_cjs/collection/immutable/Vector/definition.cjs +11 -13
  32. package/_cjs/collection/immutable/Vector/definition.cjs.map +1 -1
  33. package/_cjs/collection/weak/IterableWeakMap.cjs +51 -2
  34. package/_cjs/collection/weak/IterableWeakMap.cjs.map +1 -1
  35. package/_cjs/collection/weak/IterableWeakSet.cjs +59 -7
  36. package/_cjs/collection/weak/IterableWeakSet.cjs.map +1 -1
  37. package/_cjs/control/Eval/api.cjs +9 -3
  38. package/_cjs/control/Eval/api.cjs.map +1 -1
  39. package/_cjs/control/Eval/definition.cjs +0 -7
  40. package/_cjs/control/Eval/definition.cjs.map +1 -1
  41. package/_cjs/control/Eval/instance.cjs +6 -0
  42. package/_cjs/control/Eval/instance.cjs.map +1 -1
  43. package/_cjs/control/Z/api.cjs +16 -14
  44. package/_cjs/control/Z/api.cjs.map +1 -1
  45. package/_cjs/control/Z/definition.cjs +9 -14
  46. package/_cjs/control/Z/definition.cjs.map +1 -1
  47. package/_cjs/control/Z/instances.cjs +6 -0
  48. package/_cjs/control/Z/instances.cjs.map +1 -1
  49. package/_cjs/control/Z/runtime.cjs +15 -13
  50. package/_cjs/control/Z/runtime.cjs.map +1 -1
  51. package/_cjs/data/Const/definition.cjs +0 -7
  52. package/_cjs/data/Const/definition.cjs.map +1 -1
  53. package/_cjs/data/Const/instances.cjs +7 -5
  54. package/_cjs/data/Const/instances.cjs.map +1 -1
  55. package/_cjs/data/Datum/api.cjs +479 -0
  56. package/_cjs/data/Datum/api.cjs.map +1 -0
  57. package/_cjs/data/Datum/definition.cjs +142 -0
  58. package/_cjs/data/Datum/definition.cjs.map +1 -0
  59. package/_cjs/data/Datum/instances.cjs +69 -0
  60. package/_cjs/data/Datum/instances.cjs.map +1 -0
  61. package/_cjs/data/DatumEither/api.cjs +365 -0
  62. package/_cjs/data/DatumEither/api.cjs.map +1 -0
  63. package/_cjs/data/DatumEither/definition.cjs +9 -0
  64. package/_cjs/data/DatumEither/definition.cjs.map +1 -0
  65. package/_cjs/data/DecodeError/definition.cjs +3 -3
  66. package/_cjs/data/DecodeError/definition.cjs.map +1 -1
  67. package/_cjs/data/Decoder/definition.cjs +3 -10
  68. package/_cjs/data/Decoder/definition.cjs.map +1 -1
  69. package/_cjs/data/Either/api.cjs +21 -5
  70. package/_cjs/data/Either/api.cjs.map +1 -1
  71. package/_cjs/data/Either/definition.cjs +3 -10
  72. package/_cjs/data/Either/definition.cjs.map +1 -1
  73. package/_cjs/data/Either/instances.cjs +25 -23
  74. package/_cjs/data/Either/instances.cjs.map +1 -1
  75. package/_cjs/data/EitherT/api.cjs +106 -0
  76. package/_cjs/data/EitherT/api.cjs.map +1 -0
  77. package/_cjs/data/EitherT/definition.cjs +9 -0
  78. package/_cjs/data/EitherT/definition.cjs.map +1 -0
  79. package/_cjs/data/Environment/api.cjs +15 -14
  80. package/_cjs/data/Environment/api.cjs.map +1 -1
  81. package/_cjs/data/Environment/definition.cjs.map +1 -1
  82. package/_cjs/data/Identity/api.cjs +3 -1
  83. package/_cjs/data/Identity/api.cjs.map +1 -1
  84. package/_cjs/data/Identity/definition.cjs +2 -4
  85. package/_cjs/data/Identity/definition.cjs.map +1 -1
  86. package/_cjs/data/Identity/instances.cjs +6 -0
  87. package/_cjs/data/Identity/instances.cjs.map +1 -1
  88. package/_cjs/data/Intervals.cjs +292 -0
  89. package/_cjs/data/Intervals.cjs.map +1 -0
  90. package/_cjs/data/Maybe/api.cjs +3 -1
  91. package/_cjs/data/Maybe/api.cjs.map +1 -1
  92. package/_cjs/data/Maybe/definition.cjs +11 -13
  93. package/_cjs/data/Maybe/definition.cjs.map +1 -1
  94. package/_cjs/data/Maybe/instances.cjs +13 -11
  95. package/_cjs/data/Maybe/instances.cjs.map +1 -1
  96. package/_cjs/data/Newtype.cjs +3 -5
  97. package/_cjs/data/Newtype.cjs.map +1 -1
  98. package/_cjs/data/Struct/definition.cjs +2 -4
  99. package/_cjs/data/Struct/definition.cjs.map +1 -1
  100. package/_cjs/data/Zipped.cjs +55 -0
  101. package/_cjs/data/Zipped.cjs.map +1 -0
  102. package/_cjs/data/function/api.cjs +10 -0
  103. package/_cjs/data/function/api.cjs.map +1 -1
  104. package/_cjs/data/object/instances.cjs +9 -1
  105. package/_cjs/data/object/instances.cjs.map +1 -1
  106. package/_cjs/optics/Optional/definition.cjs +4 -6
  107. package/_cjs/optics/Optional/definition.cjs.map +1 -1
  108. package/_cjs/optics/Traversal/api/compose.cjs +1 -1
  109. package/_cjs/optics/Traversal/api/compose.cjs.map +1 -1
  110. package/_cjs/optics/Traversal/api/fromTraversable.cjs +1 -1
  111. package/_cjs/optics/Traversal/api/fromTraversable.cjs.map +1 -1
  112. package/_cjs/optics/Traversal/definition.cjs +3 -3
  113. package/_cjs/optics/Traversal/definition.cjs.map +1 -1
  114. package/_cjs/typeclass/Alt.cjs +0 -7
  115. package/_cjs/typeclass/Alt.cjs.map +1 -1
  116. package/_cjs/typeclass/ApplicativeExcept.cjs +9 -35
  117. package/_cjs/typeclass/ApplicativeExcept.cjs.map +1 -1
  118. package/_cjs/typeclass/Apply.cjs +39 -66
  119. package/_cjs/typeclass/Apply.cjs.map +1 -1
  120. package/_cjs/typeclass/Chain.cjs +6 -28
  121. package/_cjs/typeclass/Chain.cjs.map +1 -1
  122. package/_cjs/typeclass/Fail.cjs +0 -10
  123. package/_cjs/typeclass/Fail.cjs.map +1 -1
  124. package/_cjs/typeclass/Filterable.cjs +0 -36
  125. package/_cjs/typeclass/Filterable.cjs.map +1 -1
  126. package/_cjs/typeclass/Foldable.cjs +4 -34
  127. package/_cjs/typeclass/Foldable.cjs.map +1 -1
  128. package/_cjs/typeclass/FoldableWithIndex.cjs +4 -34
  129. package/_cjs/typeclass/FoldableWithIndex.cjs.map +1 -1
  130. package/_cjs/typeclass/Functor.cjs +3 -18
  131. package/_cjs/typeclass/Functor.cjs.map +1 -1
  132. package/_cjs/typeclass/Guard/definition.cjs +3 -10
  133. package/_cjs/typeclass/Guard/definition.cjs.map +1 -1
  134. package/_cjs/typeclass/MonadExcept.cjs +2 -10
  135. package/_cjs/typeclass/MonadExcept.cjs.map +1 -1
  136. package/_cjs/typeclass/Nil.cjs +0 -10
  137. package/_cjs/typeclass/Nil.cjs.map +1 -1
  138. package/_cjs/typeclass/Pointed.cjs +0 -11
  139. package/_cjs/typeclass/Pointed.cjs.map +1 -1
  140. package/_cjs/typeclass/Semialign.cjs +18 -46
  141. package/_cjs/typeclass/Semialign.cjs.map +1 -1
  142. package/_cjs/typeclass/Semimonoidal.cjs +0 -11
  143. package/_cjs/typeclass/Semimonoidal.cjs.map +1 -1
  144. package/_cjs/typeclass/Showable/show.cjs +12 -12
  145. package/_cjs/typeclass/Showable/show.cjs.map +1 -1
  146. package/_cjs/typeclass/Traversable.cjs +7 -26
  147. package/_cjs/typeclass/Traversable.cjs.map +1 -1
  148. package/_cjs/typeclass/TraversableWithIndex.cjs +3 -7
  149. package/_cjs/typeclass/TraversableWithIndex.cjs.map +1 -1
  150. package/_cjs/typeclass/Witherable.cjs +3 -45
  151. package/_cjs/typeclass/Witherable.cjs.map +1 -1
  152. package/_cjs/typeclass/WitherableWithIndex.cjs +8 -44
  153. package/_cjs/typeclass/WitherableWithIndex.cjs.map +1 -1
  154. package/_mjs/collection/Iterable/api/traverseConc.mjs +16 -21
  155. package/_mjs/collection/Iterable/api/traverseConc.mjs.map +1 -1
  156. package/_mjs/collection/compat/Record/instances.mjs +62 -16
  157. package/_mjs/collection/compat/Record/instances.mjs.map +1 -1
  158. package/_mjs/collection/immutable/Conc/api.mjs +7 -11
  159. package/_mjs/collection/immutable/Conc/api.mjs.map +1 -1
  160. package/_mjs/collection/immutable/Conc/definition.mjs +41 -42
  161. package/_mjs/collection/immutable/Conc/definition.mjs.map +1 -1
  162. package/_mjs/collection/immutable/Dictionary/definition.mjs +2 -3
  163. package/_mjs/collection/immutable/Dictionary/definition.mjs.map +1 -1
  164. package/_mjs/collection/immutable/HashMap/api.mjs +18 -20
  165. package/_mjs/collection/immutable/HashMap/api.mjs.map +1 -1
  166. package/_mjs/collection/immutable/HashMap/definition.mjs +15 -16
  167. package/_mjs/collection/immutable/HashMap/definition.mjs.map +1 -1
  168. package/_mjs/collection/immutable/ImmutableArray/api.mjs +128 -147
  169. package/_mjs/collection/immutable/ImmutableArray/api.mjs.map +1 -1
  170. package/_mjs/collection/immutable/ImmutableArray/definition.mjs +10 -11
  171. package/_mjs/collection/immutable/ImmutableArray/definition.mjs.map +1 -1
  172. package/_mjs/collection/immutable/ImmutableArray/instances.mjs +9 -8
  173. package/_mjs/collection/immutable/ImmutableArray/instances.mjs.map +1 -1
  174. package/_mjs/collection/immutable/ImmutableNonEmptyArray/api.mjs +18 -19
  175. package/_mjs/collection/immutable/ImmutableNonEmptyArray/api.mjs.map +1 -1
  176. package/_mjs/collection/immutable/ImmutableNonEmptyArray/definition.mjs +0 -2
  177. package/_mjs/collection/immutable/ImmutableNonEmptyArray/definition.mjs.map +1 -1
  178. package/_mjs/collection/immutable/ImmutableNonEmptyArray/instances.mjs +4 -3
  179. package/_mjs/collection/immutable/ImmutableNonEmptyArray/instances.mjs.map +1 -1
  180. package/_mjs/collection/immutable/RoseTree/definition.mjs +13 -14
  181. package/_mjs/collection/immutable/RoseTree/definition.mjs.map +1 -1
  182. package/_mjs/collection/immutable/Vector/api.mjs +8 -12
  183. package/_mjs/collection/immutable/Vector/api.mjs.map +1 -1
  184. package/_mjs/collection/immutable/Vector/definition.mjs +11 -12
  185. package/_mjs/collection/immutable/Vector/definition.mjs.map +1 -1
  186. package/_mjs/collection/weak/IterableWeakMap.mjs +51 -2
  187. package/_mjs/collection/weak/IterableWeakMap.mjs.map +1 -1
  188. package/_mjs/collection/weak/IterableWeakSet.mjs +59 -7
  189. package/_mjs/collection/weak/IterableWeakSet.mjs.map +1 -1
  190. package/_mjs/control/Eval/api.mjs +9 -4
  191. package/_mjs/control/Eval/api.mjs.map +1 -1
  192. package/_mjs/control/Eval/definition.mjs +0 -1
  193. package/_mjs/control/Eval/definition.mjs.map +1 -1
  194. package/_mjs/control/Eval/instance.mjs +1 -0
  195. package/_mjs/control/Eval/instance.mjs.map +1 -1
  196. package/_mjs/control/Z/api.mjs +16 -15
  197. package/_mjs/control/Z/api.mjs.map +1 -1
  198. package/_mjs/control/Z/definition.mjs +4 -5
  199. package/_mjs/control/Z/definition.mjs.map +1 -1
  200. package/_mjs/control/Z/instances.mjs +1 -0
  201. package/_mjs/control/Z/instances.mjs.map +1 -1
  202. package/_mjs/control/Z/runtime.mjs +14 -13
  203. package/_mjs/control/Z/runtime.mjs.map +1 -1
  204. package/_mjs/data/Const/definition.mjs +0 -3
  205. package/_mjs/data/Const/definition.mjs.map +1 -1
  206. package/_mjs/data/Const/instances.mjs +6 -5
  207. package/_mjs/data/Const/instances.mjs.map +1 -1
  208. package/_mjs/data/Datum/api.mjs +403 -0
  209. package/_mjs/data/Datum/api.mjs.map +1 -0
  210. package/_mjs/data/Datum/definition.mjs +112 -0
  211. package/_mjs/data/Datum/definition.mjs.map +1 -0
  212. package/_mjs/data/Datum/instances.mjs +52 -0
  213. package/_mjs/data/Datum/instances.mjs.map +1 -0
  214. package/_mjs/data/DatumEither/api.mjs +290 -0
  215. package/_mjs/data/DatumEither/api.mjs.map +1 -0
  216. package/_mjs/data/DatumEither/definition.mjs +2 -0
  217. package/_mjs/data/DatumEither/definition.mjs.map +1 -0
  218. package/_mjs/data/DecodeError/definition.mjs +3 -3
  219. package/_mjs/data/DecodeError/definition.mjs.map +1 -1
  220. package/_mjs/data/Decoder/definition.mjs +0 -2
  221. package/_mjs/data/Decoder/definition.mjs.map +1 -1
  222. package/_mjs/data/Either/api.mjs +16 -3
  223. package/_mjs/data/Either/api.mjs.map +1 -1
  224. package/_mjs/data/Either/definition.mjs +0 -2
  225. package/_mjs/data/Either/definition.mjs.map +1 -1
  226. package/_mjs/data/Either/instances.mjs +23 -22
  227. package/_mjs/data/Either/instances.mjs.map +1 -1
  228. package/_mjs/data/EitherT/api.mjs +73 -0
  229. package/_mjs/data/EitherT/api.mjs.map +1 -0
  230. package/_mjs/data/EitherT/definition.mjs +2 -0
  231. package/_mjs/data/EitherT/definition.mjs.map +1 -0
  232. package/_mjs/data/Environment/api.mjs +12 -13
  233. package/_mjs/data/Environment/api.mjs.map +1 -1
  234. package/_mjs/data/Environment/definition.mjs.map +1 -1
  235. package/_mjs/data/Identity/api.mjs +2 -1
  236. package/_mjs/data/Identity/api.mjs.map +1 -1
  237. package/_mjs/data/Identity/definition.mjs +2 -3
  238. package/_mjs/data/Identity/definition.mjs.map +1 -1
  239. package/_mjs/data/Identity/instances.mjs +1 -0
  240. package/_mjs/data/Identity/instances.mjs.map +1 -1
  241. package/_mjs/data/Intervals.mjs +257 -0
  242. package/_mjs/data/Intervals.mjs.map +1 -0
  243. package/_mjs/data/Maybe/api.mjs +2 -1
  244. package/_mjs/data/Maybe/api.mjs.map +1 -1
  245. package/_mjs/data/Maybe/definition.mjs +8 -10
  246. package/_mjs/data/Maybe/definition.mjs.map +1 -1
  247. package/_mjs/data/Maybe/instances.mjs +12 -11
  248. package/_mjs/data/Maybe/instances.mjs.map +1 -1
  249. package/_mjs/data/Newtype.mjs +3 -4
  250. package/_mjs/data/Newtype.mjs.map +1 -1
  251. package/_mjs/data/Struct/definition.mjs +2 -3
  252. package/_mjs/data/Struct/definition.mjs.map +1 -1
  253. package/_mjs/data/Zipped.mjs +37 -0
  254. package/_mjs/data/Zipped.mjs.map +1 -0
  255. package/_mjs/data/function/api.mjs +8 -0
  256. package/_mjs/data/function/api.mjs.map +1 -1
  257. package/_mjs/data/object/instances.mjs +7 -1
  258. package/_mjs/data/object/instances.mjs.map +1 -1
  259. package/_mjs/optics/Optional/definition.mjs +4 -5
  260. package/_mjs/optics/Optional/definition.mjs.map +1 -1
  261. package/_mjs/optics/Traversal/api/compose.mjs +1 -1
  262. package/_mjs/optics/Traversal/api/compose.mjs.map +1 -1
  263. package/_mjs/optics/Traversal/api/fromTraversable.mjs +1 -1
  264. package/_mjs/optics/Traversal/api/fromTraversable.mjs.map +1 -1
  265. package/_mjs/optics/Traversal/definition.mjs +3 -3
  266. package/_mjs/optics/Traversal/definition.mjs.map +1 -1
  267. package/_mjs/typeclass/Alt.mjs +0 -5
  268. package/_mjs/typeclass/Alt.mjs.map +1 -1
  269. package/_mjs/typeclass/ApplicativeExcept.mjs +7 -32
  270. package/_mjs/typeclass/ApplicativeExcept.mjs.map +1 -1
  271. package/_mjs/typeclass/Apply.mjs +35 -65
  272. package/_mjs/typeclass/Apply.mjs.map +1 -1
  273. package/_mjs/typeclass/Chain.mjs +4 -25
  274. package/_mjs/typeclass/Chain.mjs.map +1 -1
  275. package/_mjs/typeclass/Fail.mjs +1 -8
  276. package/_mjs/typeclass/Fail.mjs.map +1 -1
  277. package/_mjs/typeclass/Filterable.mjs +0 -28
  278. package/_mjs/typeclass/Filterable.mjs.map +1 -1
  279. package/_mjs/typeclass/Foldable.mjs +3 -30
  280. package/_mjs/typeclass/Foldable.mjs.map +1 -1
  281. package/_mjs/typeclass/FoldableWithIndex.mjs +3 -30
  282. package/_mjs/typeclass/FoldableWithIndex.mjs.map +1 -1
  283. package/_mjs/typeclass/Functor.mjs +3 -16
  284. package/_mjs/typeclass/Functor.mjs.map +1 -1
  285. package/_mjs/typeclass/Guard/definition.mjs +0 -2
  286. package/_mjs/typeclass/Guard/definition.mjs.map +1 -1
  287. package/_mjs/typeclass/MonadExcept.mjs +2 -9
  288. package/_mjs/typeclass/MonadExcept.mjs.map +1 -1
  289. package/_mjs/typeclass/Nil.mjs +1 -8
  290. package/_mjs/typeclass/Nil.mjs.map +1 -1
  291. package/_mjs/typeclass/Pointed.mjs +0 -9
  292. package/_mjs/typeclass/Pointed.mjs.map +1 -1
  293. package/_mjs/typeclass/Semialign.mjs +17 -45
  294. package/_mjs/typeclass/Semialign.mjs.map +1 -1
  295. package/_mjs/typeclass/Semimonoidal.mjs +0 -9
  296. package/_mjs/typeclass/Semimonoidal.mjs.map +1 -1
  297. package/_mjs/typeclass/Showable/show.mjs +12 -12
  298. package/_mjs/typeclass/Showable/show.mjs.map +1 -1
  299. package/_mjs/typeclass/Traversable.mjs +6 -25
  300. package/_mjs/typeclass/Traversable.mjs.map +1 -1
  301. package/_mjs/typeclass/TraversableWithIndex.mjs +2 -6
  302. package/_mjs/typeclass/TraversableWithIndex.mjs.map +1 -1
  303. package/_mjs/typeclass/Witherable.mjs +3 -40
  304. package/_mjs/typeclass/Witherable.mjs.map +1 -1
  305. package/_mjs/typeclass/WitherableWithIndex.mjs +6 -41
  306. package/_mjs/typeclass/WitherableWithIndex.mjs.map +1 -1
  307. package/_src/collection/Iterable/api/traverseConc.ts +24 -21
  308. package/_src/collection/compat/Record/instances.ts +44 -0
  309. package/_src/collection/immutable/Conc/api.ts +9 -11
  310. package/_src/collection/immutable/Conc/definition.ts +9 -5
  311. package/_src/collection/immutable/Dictionary/definition.ts +1 -1
  312. package/_src/collection/immutable/HashMap/api.ts +20 -17
  313. package/_src/collection/immutable/HashMap/definition.ts +10 -6
  314. package/_src/collection/immutable/ImmutableArray/api.ts +56 -113
  315. package/_src/collection/immutable/ImmutableArray/definition.ts +8 -5
  316. package/_src/collection/immutable/ImmutableArray/instances.ts +42 -42
  317. package/_src/collection/immutable/ImmutableNonEmptyArray/api.ts +13 -11
  318. package/_src/collection/immutable/ImmutableNonEmptyArray/definition.ts +8 -3
  319. package/_src/collection/immutable/ImmutableNonEmptyArray/instances.ts +24 -25
  320. package/_src/collection/immutable/RoseTree/definition.ts +7 -4
  321. package/_src/collection/immutable/Vector/api.ts +12 -16
  322. package/_src/collection/immutable/Vector/definition.ts +9 -9
  323. package/_src/collection/weak/IterableWeakMap.ts +50 -5
  324. package/_src/collection/weak/IterableWeakSet.ts +57 -9
  325. package/_src/control/Eval/api.ts +5 -2
  326. package/_src/control/Eval/definition.ts +7 -4
  327. package/_src/control/Eval/instance.ts +7 -7
  328. package/_src/control/Z/api.ts +16 -25
  329. package/_src/control/Z/definition.ts +32 -31
  330. package/_src/control/Z/instances.ts +3 -3
  331. package/_src/control/Z/runtime.ts +7 -7
  332. package/_src/data/Const/definition.ts +9 -17
  333. package/_src/data/Const/instances.ts +5 -5
  334. package/_src/data/Datum/api.ts +376 -0
  335. package/_src/data/Datum/definition.ts +102 -0
  336. package/_src/data/Datum/instances.ts +34 -0
  337. package/_src/data/DatumEither/api.ts +348 -0
  338. package/_src/data/DatumEither/definition.ts +20 -0
  339. package/_src/data/DecodeError/definition.ts +3 -3
  340. package/_src/data/Decoder/definition.ts +7 -4
  341. package/_src/data/Either/api.ts +12 -2
  342. package/_src/data/Either/definition.ts +9 -14
  343. package/_src/data/Either/instances.ts +6 -6
  344. package/_src/data/EitherT/api.ts +239 -0
  345. package/_src/data/EitherT/definition.ts +23 -0
  346. package/_src/data/Environment/api.ts +8 -6
  347. package/_src/data/Environment/definition.ts +2 -2
  348. package/_src/data/Identity/api.ts +2 -2
  349. package/_src/data/Identity/definition.ts +2 -2
  350. package/_src/data/Identity/instances.ts +7 -7
  351. package/_src/data/Intervals.ts +126 -0
  352. package/_src/data/Maybe/api.ts +2 -2
  353. package/_src/data/Maybe/definition.ts +7 -4
  354. package/_src/data/Maybe/instances.ts +10 -10
  355. package/_src/data/Newtype.ts +32 -11
  356. package/_src/data/Struct/definition.ts +1 -1
  357. package/_src/data/Tag/definition.ts +2 -2
  358. package/_src/data/Zipped.ts +52 -0
  359. package/_src/data/function/api.ts +8 -0
  360. package/_src/data/object/instances.ts +11 -1
  361. package/_src/optics/Optional/definition.ts +2 -2
  362. package/_src/optics/Traversal/api/compose.ts +1 -1
  363. package/_src/optics/Traversal/api/fromTraversable.ts +11 -11
  364. package/_src/optics/Traversal/definition.ts +13 -12
  365. package/_src/typeclass/Align.ts +1 -1
  366. package/_src/typeclass/Alt.ts +24 -54
  367. package/_src/typeclass/Alternative.ts +1 -1
  368. package/_src/typeclass/Applicative.ts +6 -1
  369. package/_src/typeclass/ApplicativeExcept.ts +55 -81
  370. package/_src/typeclass/Apply.ts +224 -253
  371. package/_src/typeclass/Chain.ts +71 -98
  372. package/_src/typeclass/Fail.ts +10 -28
  373. package/_src/typeclass/Filterable.ts +13 -67
  374. package/_src/typeclass/FilterableWithIndex.ts +13 -13
  375. package/_src/typeclass/Foldable.ts +16 -35
  376. package/_src/typeclass/FoldableWithIndex.ts +14 -37
  377. package/_src/typeclass/Functor.ts +11 -21
  378. package/_src/typeclass/FunctorWithIndex.ts +4 -4
  379. package/_src/typeclass/Guard/definition.ts +1 -3
  380. package/_src/typeclass/Monad.ts +1 -1
  381. package/_src/typeclass/MonadExcept.ts +11 -7
  382. package/_src/typeclass/Nil.ts +10 -27
  383. package/_src/typeclass/Pointed.ts +11 -30
  384. package/_src/typeclass/Semialign.ts +285 -253
  385. package/_src/typeclass/Semimonoidal.ts +23 -54
  386. package/_src/typeclass/Showable/show.ts +8 -10
  387. package/_src/typeclass/Traversable.ts +45 -63
  388. package/_src/typeclass/TraversableWithIndex.ts +37 -34
  389. package/_src/typeclass/Witherable.ts +28 -115
  390. package/_src/typeclass/WitherableWithIndex.ts +82 -115
  391. package/_src/types/extractions.ts +1 -1
  392. package/collection/Iterable/api/traverseConc.d.ts +4 -6
  393. package/collection/compat/Record/instances.d.ts +12 -0
  394. package/collection/immutable/Conc/api.d.ts +4 -6
  395. package/collection/immutable/Conc/definition.d.ts +9 -6
  396. package/collection/immutable/Dictionary/definition.d.ts +1 -1
  397. package/collection/immutable/HashMap/api.d.ts +13 -13
  398. package/collection/immutable/HashMap/definition.d.ts +10 -7
  399. package/collection/immutable/ImmutableArray/api.d.ts +16 -18
  400. package/collection/immutable/ImmutableArray/definition.d.ts +8 -6
  401. package/collection/immutable/ImmutableArray/instances.d.ts +17 -17
  402. package/collection/immutable/ImmutableNonEmptyArray/api.d.ts +6 -5
  403. package/collection/immutable/ImmutableNonEmptyArray/definition.d.ts +7 -3
  404. package/collection/immutable/ImmutableNonEmptyArray/instances.d.ts +10 -10
  405. package/collection/immutable/RoseTree/definition.d.ts +7 -5
  406. package/collection/immutable/Vector/api.d.ts +4 -4
  407. package/collection/immutable/Vector/definition.d.ts +8 -9
  408. package/collection/weak/IterableWeakMap.d.ts +9 -3
  409. package/collection/weak/IterableWeakSet.d.ts +10 -4
  410. package/control/Eval/api.d.ts +6 -1
  411. package/control/Eval/definition.d.ts +6 -4
  412. package/control/Eval/instance.d.ts +3 -3
  413. package/control/Z/api.d.ts +8 -6
  414. package/control/Z/definition.d.ts +38 -32
  415. package/control/Z/instances.d.ts +2 -2
  416. package/control/Z/runtime.d.ts +5 -4
  417. package/data/Const/definition.d.ts +8 -16
  418. package/data/Const/instances.d.ts +4 -3
  419. package/data/Datum/api.d.ts +188 -0
  420. package/data/Datum/definition.d.ts +75 -0
  421. package/data/Datum/instances.d.ts +32 -0
  422. package/data/DatumEither/api.d.ts +169 -0
  423. package/data/DatumEither/definition.d.ts +21 -0
  424. package/data/Decoder/definition.d.ts +6 -4
  425. package/data/Either/api.d.ts +10 -0
  426. package/data/Either/definition.d.ts +8 -14
  427. package/data/Either/instances.d.ts +4 -3
  428. package/data/EitherT/api.d.ts +60 -0
  429. package/data/EitherT/definition.d.ts +12 -0
  430. package/data/Environment/api.d.ts +7 -5
  431. package/data/Environment/definition.d.ts +3 -3
  432. package/data/Identity/api.d.ts +2 -1
  433. package/data/Identity/definition.d.ts +2 -2
  434. package/data/Identity/instances.d.ts +3 -3
  435. package/data/Intervals.d.ts +53 -0
  436. package/data/Maybe/api.d.ts +2 -1
  437. package/data/Maybe/definition.d.ts +7 -4
  438. package/data/Maybe/instances.d.ts +6 -6
  439. package/data/Newtype.d.ts +9 -8
  440. package/data/Struct/definition.d.ts +1 -1
  441. package/data/Tag/definition.d.ts +2 -2
  442. package/data/Zipped.d.ts +24 -0
  443. package/data/function/api.d.ts +6 -0
  444. package/data/object/instances.d.ts +6 -1
  445. package/optics/Traversal/api/fromTraversable.d.ts +1 -1
  446. package/optics/Traversal/definition.d.ts +2 -4
  447. package/package.json +2 -2
  448. package/typeclass/Align.d.ts +1 -1
  449. package/typeclass/Alt.d.ts +2 -4
  450. package/typeclass/Alternative.d.ts +1 -1
  451. package/typeclass/Applicative.d.ts +2 -1
  452. package/typeclass/ApplicativeExcept.d.ts +5 -13
  453. package/typeclass/Apply.d.ts +20 -32
  454. package/typeclass/Chain.d.ts +5 -13
  455. package/typeclass/Fail.d.ts +2 -7
  456. package/typeclass/Filterable.d.ts +7 -31
  457. package/typeclass/FilterableWithIndex.d.ts +7 -7
  458. package/typeclass/Foldable.d.ts +6 -19
  459. package/typeclass/FoldableWithIndex.d.ts +6 -19
  460. package/typeclass/Functor.d.ts +4 -11
  461. package/typeclass/FunctorWithIndex.d.ts +2 -2
  462. package/typeclass/Guard/definition.d.ts +1 -4
  463. package/typeclass/Monad.d.ts +1 -1
  464. package/typeclass/MonadExcept.d.ts +3 -4
  465. package/typeclass/Nil.d.ts +2 -7
  466. package/typeclass/Pointed.d.ts +2 -7
  467. package/typeclass/Semialign.d.ts +26 -32
  468. package/typeclass/Semimonoidal.d.ts +3 -8
  469. package/typeclass/Traversable.d.ts +21 -12
  470. package/typeclass/TraversableWithIndex.d.ts +19 -6
  471. package/typeclass/Witherable.d.ts +5 -19
  472. package/typeclass/WitherableWithIndex.d.ts +33 -19
  473. package/types/extractions.d.ts +1 -1
@@ -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,17 +739,17 @@ 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
@@ -762,7 +758,7 @@ function findLastMapWithIndex_1(as, f) {
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++) {
@@ -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
  }
@@ -897,7 +893,7 @@ function forEach_1(self, f) {
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
 
@@ -1199,7 +1195,7 @@ function prepend_1(self, head) {
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++) {