@fncts/base 0.0.13 → 0.0.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (352) hide show
  1. package/_cjs/collection/compat/Array/api.cjs +10 -10
  2. package/_cjs/collection/compat/Array/derivations.cjs +96 -0
  3. package/_cjs/collection/compat/Array/derivations.cjs.map +1 -0
  4. package/_cjs/collection/compat/Array.cjs +13 -0
  5. package/_cjs/collection/compat/Array.cjs.map +1 -1
  6. package/_cjs/collection/compat.cjs +6 -0
  7. package/_cjs/collection/compat.cjs.map +1 -0
  8. package/_cjs/collection/immutable/Conc/definition.cjs.map +1 -1
  9. package/_cjs/collection/immutable/Conc/derivations.cjs +45 -0
  10. package/_cjs/collection/immutable/Conc/derivations.cjs.map +1 -0
  11. package/_cjs/collection/immutable/Conc.cjs +13 -0
  12. package/_cjs/collection/immutable/Conc.cjs.map +1 -1
  13. package/_cjs/collection/immutable/ImmutableArray/api.cjs +6 -6
  14. package/_cjs/collection/immutable/ImmutableArray/constructors.cjs +2 -2
  15. package/_cjs/collection/immutable/ImmutableArray/definition.cjs +9 -4
  16. package/_cjs/collection/immutable/ImmutableArray/definition.cjs.map +1 -1
  17. package/_cjs/collection/immutable/ImmutableArray/derivations.cjs +41 -0
  18. package/_cjs/collection/immutable/ImmutableArray/derivations.cjs.map +1 -0
  19. package/_cjs/collection/immutable/ImmutableArray/instances.cjs.map +1 -1
  20. package/_cjs/collection/immutable/ImmutableArray.cjs +13 -0
  21. package/_cjs/collection/immutable/ImmutableArray.cjs.map +1 -1
  22. package/_cjs/collection/immutable/ImmutableNonEmptyArray/constructors.cjs +2 -2
  23. package/_cjs/collection/immutable/ImmutableNonEmptyArray/derivations.cjs +62 -0
  24. package/_cjs/collection/immutable/ImmutableNonEmptyArray/derivations.cjs.map +1 -0
  25. package/_cjs/collection/immutable/ImmutableNonEmptyArray.cjs +13 -0
  26. package/_cjs/collection/immutable/ImmutableNonEmptyArray.cjs.map +1 -1
  27. package/_cjs/collection/immutable/List/definition.cjs +2 -2
  28. package/_cjs/collection/immutable/Vector/internal.cjs +1 -1
  29. package/_cjs/collection/immutable.cjs +6 -0
  30. package/_cjs/collection/immutable.cjs.map +1 -0
  31. package/_cjs/collection/mutable/HashMap.cjs +4 -0
  32. package/_cjs/collection/mutable/HashMap.cjs.map +1 -1
  33. package/_cjs/collection/mutable.cjs +6 -0
  34. package/_cjs/collection/mutable.cjs.map +1 -0
  35. package/_cjs/collection/weak.cjs +6 -0
  36. package/_cjs/collection/weak.cjs.map +1 -0
  37. package/_cjs/collection.cjs +6 -0
  38. package/_cjs/collection.cjs.map +1 -0
  39. package/_cjs/control/Eval/definition.cjs +1 -1
  40. package/_cjs/control/Eval/definition.cjs.map +1 -1
  41. package/_cjs/control/Z/api.cjs +9 -9
  42. package/_cjs/control/Z/api.cjs.map +1 -1
  43. package/_cjs/control/Z/definition.cjs +0 -1
  44. package/_cjs/control/Z/definition.cjs.map +1 -1
  45. package/_cjs/control/Z/runtime.cjs +2 -0
  46. package/_cjs/control/Z/runtime.cjs.map +1 -1
  47. package/_cjs/control.cjs +6 -0
  48. package/_cjs/control.cjs.map +1 -0
  49. package/_cjs/data/Cause/api/isEmpty.cjs +2 -0
  50. package/_cjs/data/Cause/api/isEmpty.cjs.map +1 -1
  51. package/_cjs/data/Cause/api/linearize.cjs +2 -0
  52. package/_cjs/data/Cause/api/linearize.cjs.map +1 -1
  53. package/_cjs/data/Cause/api.cjs +2 -0
  54. package/_cjs/data/Cause/api.cjs.map +1 -1
  55. package/_cjs/data/Const/instances.cjs +4 -3
  56. package/_cjs/data/Const/instances.cjs.map +1 -1
  57. package/_cjs/data/DecodeError/definition.cjs +13 -1
  58. package/_cjs/data/DecodeError/definition.cjs.map +1 -1
  59. package/_cjs/data/DecodeError/instances.cjs +6 -0
  60. package/_cjs/data/DecodeError/instances.cjs.map +1 -0
  61. package/_cjs/data/DecodeError.cjs +13 -0
  62. package/_cjs/data/DecodeError.cjs.map +1 -1
  63. package/_cjs/data/Either/api/alignWith.cjs +2 -0
  64. package/_cjs/data/Either/api/alignWith.cjs.map +1 -1
  65. package/_cjs/data/Either/definition.cjs +1 -1
  66. package/_cjs/data/Either/definition.cjs.map +1 -1
  67. package/_cjs/data/Intervals.cjs +2 -2
  68. package/_cjs/data/Intervals.cjs.map +1 -1
  69. package/_cjs/data/Patch/api.cjs +2 -0
  70. package/_cjs/data/Patch/api.cjs.map +1 -1
  71. package/_cjs/data/Struct/api.cjs +2 -0
  72. package/_cjs/data/Struct/api.cjs.map +1 -1
  73. package/_cjs/data/These/definition.cjs +1 -1
  74. package/_cjs/data/These/definition.cjs.map +1 -1
  75. package/_cjs/data/string/api.cjs +1 -1
  76. package/_cjs/data.cjs +6 -0
  77. package/_cjs/data.cjs.map +1 -0
  78. package/_cjs/global.cjs +6 -0
  79. package/_cjs/global.cjs.map +1 -0
  80. package/_cjs/index.cjs +6 -0
  81. package/_cjs/index.cjs.map +1 -0
  82. package/_cjs/json.cjs +6 -0
  83. package/_cjs/json.cjs.map +1 -0
  84. package/_cjs/optics/At/definition.cjs +2 -0
  85. package/_cjs/optics/At/definition.cjs.map +1 -1
  86. package/_cjs/optics/Iso/definition.cjs +4 -0
  87. package/_cjs/optics/Iso/definition.cjs.map +1 -1
  88. package/_cjs/optics/Lens/definition.cjs +4 -0
  89. package/_cjs/optics/Lens/definition.cjs.map +1 -1
  90. package/_cjs/optics/Optional/definition.cjs +2 -0
  91. package/_cjs/optics/Optional/definition.cjs.map +1 -1
  92. package/_cjs/optics/Prism/definition.cjs +2 -0
  93. package/_cjs/optics/Prism/definition.cjs.map +1 -1
  94. package/_cjs/optics/Traversal/definition.cjs +4 -0
  95. package/_cjs/optics/Traversal/definition.cjs.map +1 -1
  96. package/_cjs/optics.cjs +6 -0
  97. package/_cjs/optics.cjs.map +1 -0
  98. package/_cjs/typeclass/HashEq.cjs +2 -0
  99. package/_cjs/typeclass/HashEq.cjs.map +1 -1
  100. package/_cjs/typeclass/Monoid.cjs +2 -0
  101. package/_cjs/typeclass/Monoid.cjs.map +1 -1
  102. package/_cjs/typeclass/Ord/definition.cjs +2 -0
  103. package/_cjs/typeclass/Ord/definition.cjs.map +1 -1
  104. package/_cjs/typeclass/Ord/instances.cjs +4 -3
  105. package/_cjs/typeclass/Ord/instances.cjs.map +1 -1
  106. package/_cjs/typeclass/Showable/show.cjs.map +1 -1
  107. package/_cjs/util.cjs +6 -0
  108. package/_cjs/util.cjs.map +1 -0
  109. package/_mjs/collection/compat/Array/api.mjs +10 -10
  110. package/_mjs/collection/compat/Array/derivations.mjs +70 -0
  111. package/_mjs/collection/compat/Array/derivations.mjs.map +1 -0
  112. package/_mjs/collection/compat/Array.mjs +1 -0
  113. package/_mjs/collection/compat/Array.mjs.map +1 -1
  114. package/_mjs/collection/compat.mjs +2 -0
  115. package/_mjs/collection/compat.mjs.map +1 -0
  116. package/_mjs/collection/immutable/Conc/api.mjs +1 -0
  117. package/_mjs/collection/immutable/Conc/api.mjs.map +1 -1
  118. package/_mjs/collection/immutable/Conc/definition.mjs.map +1 -1
  119. package/_mjs/collection/immutable/Conc/derivations.mjs +27 -0
  120. package/_mjs/collection/immutable/Conc/derivations.mjs.map +1 -0
  121. package/_mjs/collection/immutable/Conc.mjs +2 -1
  122. package/_mjs/collection/immutable/Conc.mjs.map +1 -1
  123. package/_mjs/collection/immutable/HashSet/api.mjs +1 -0
  124. package/_mjs/collection/immutable/HashSet/api.mjs.map +1 -1
  125. package/_mjs/collection/immutable/ImmutableArray/api.mjs +6 -6
  126. package/_mjs/collection/immutable/ImmutableArray/constructors.mjs +2 -2
  127. package/_mjs/collection/immutable/ImmutableArray/definition.mjs +7 -2
  128. package/_mjs/collection/immutable/ImmutableArray/definition.mjs.map +1 -1
  129. package/_mjs/collection/immutable/ImmutableArray/derivations.mjs +25 -0
  130. package/_mjs/collection/immutable/ImmutableArray/derivations.mjs.map +1 -0
  131. package/_mjs/collection/immutable/ImmutableArray/instances.mjs.map +1 -1
  132. package/_mjs/collection/immutable/ImmutableArray.mjs +1 -0
  133. package/_mjs/collection/immutable/ImmutableArray.mjs.map +1 -1
  134. package/_mjs/collection/immutable/ImmutableNonEmptyArray/api.mjs +1 -0
  135. package/_mjs/collection/immutable/ImmutableNonEmptyArray/api.mjs.map +1 -1
  136. package/_mjs/collection/immutable/ImmutableNonEmptyArray/constructors.mjs +2 -2
  137. package/_mjs/collection/immutable/ImmutableNonEmptyArray/derivations.mjs +39 -0
  138. package/_mjs/collection/immutable/ImmutableNonEmptyArray/derivations.mjs.map +1 -0
  139. package/_mjs/collection/immutable/ImmutableNonEmptyArray.mjs +1 -0
  140. package/_mjs/collection/immutable/ImmutableNonEmptyArray.mjs.map +1 -1
  141. package/_mjs/collection/immutable/List/definition.mjs +2 -2
  142. package/_mjs/collection/immutable/SortedMap/api.mjs +1 -0
  143. package/_mjs/collection/immutable/SortedMap/api.mjs.map +1 -1
  144. package/_mjs/collection/immutable/Vector/internal.mjs +1 -1
  145. package/_mjs/collection/immutable.mjs +2 -0
  146. package/_mjs/collection/immutable.mjs.map +1 -0
  147. package/_mjs/collection/mutable/HashMap.mjs +4 -0
  148. package/_mjs/collection/mutable/HashMap.mjs.map +1 -1
  149. package/_mjs/collection/mutable.mjs +2 -0
  150. package/_mjs/collection/mutable.mjs.map +1 -0
  151. package/_mjs/collection/weak.mjs +2 -0
  152. package/_mjs/collection/weak.mjs.map +1 -0
  153. package/_mjs/collection.mjs +2 -0
  154. package/_mjs/collection.mjs.map +1 -0
  155. package/_mjs/control/Eval/definition.mjs +1 -1
  156. package/_mjs/control/Eval/definition.mjs.map +1 -1
  157. package/_mjs/control/Eval/run.mjs +1 -0
  158. package/_mjs/control/Eval/run.mjs.map +1 -1
  159. package/_mjs/control/Z/api.mjs +9 -9
  160. package/_mjs/control/Z/api.mjs.map +1 -1
  161. package/_mjs/control/Z/definition.mjs +0 -1
  162. package/_mjs/control/Z/definition.mjs.map +1 -1
  163. package/_mjs/control/Z/runtime.mjs +1 -0
  164. package/_mjs/control/Z/runtime.mjs.map +1 -1
  165. package/_mjs/control.mjs +2 -0
  166. package/_mjs/control.mjs.map +1 -0
  167. package/_mjs/data/Branded/derivations.mjs +1 -0
  168. package/_mjs/data/Branded/derivations.mjs.map +1 -1
  169. package/_mjs/data/Cause/api/isEmpty.mjs +1 -0
  170. package/_mjs/data/Cause/api/isEmpty.mjs.map +1 -1
  171. package/_mjs/data/Cause/api/linearize.mjs +1 -0
  172. package/_mjs/data/Cause/api/linearize.mjs.map +1 -1
  173. package/_mjs/data/Cause/api.mjs +2 -1
  174. package/_mjs/data/Cause/api.mjs.map +1 -1
  175. package/_mjs/data/Const/instances.mjs +1 -0
  176. package/_mjs/data/Const/instances.mjs.map +1 -1
  177. package/_mjs/data/Datum/api.mjs +1 -0
  178. package/_mjs/data/Datum/api.mjs.map +1 -1
  179. package/_mjs/data/DecodeError/definition.mjs +9 -0
  180. package/_mjs/data/DecodeError/definition.mjs.map +1 -1
  181. package/_mjs/data/DecodeError/instances.mjs +2 -0
  182. package/_mjs/data/DecodeError/instances.mjs.map +1 -0
  183. package/_mjs/data/DecodeError.mjs +1 -0
  184. package/_mjs/data/DecodeError.mjs.map +1 -1
  185. package/_mjs/data/Decoder/api.mjs +1 -0
  186. package/_mjs/data/Decoder/api.mjs.map +1 -1
  187. package/_mjs/data/Either/api/alignWith.mjs +1 -0
  188. package/_mjs/data/Either/api/alignWith.mjs.map +1 -1
  189. package/_mjs/data/Either/api.mjs +1 -1
  190. package/_mjs/data/Either/api.mjs.map +1 -1
  191. package/_mjs/data/Either/definition.mjs +1 -1
  192. package/_mjs/data/Either/definition.mjs.map +1 -1
  193. package/_mjs/data/Either/instances.mjs +1 -1
  194. package/_mjs/data/Either/instances.mjs.map +1 -1
  195. package/_mjs/data/Intervals.mjs +2 -2
  196. package/_mjs/data/Intervals.mjs.map +1 -1
  197. package/_mjs/data/Patch/api.mjs +1 -0
  198. package/_mjs/data/Patch/api.mjs.map +1 -1
  199. package/_mjs/data/Struct/api.mjs +1 -0
  200. package/_mjs/data/Struct/api.mjs.map +1 -1
  201. package/_mjs/data/These/definition.mjs +1 -1
  202. package/_mjs/data/These/definition.mjs.map +1 -1
  203. package/_mjs/data/string/api.mjs +1 -1
  204. package/_mjs/data.mjs +2 -0
  205. package/_mjs/data.mjs.map +1 -0
  206. package/_mjs/global.mjs +2 -0
  207. package/_mjs/global.mjs.map +1 -0
  208. package/_mjs/index.mjs +2 -0
  209. package/_mjs/index.mjs.map +1 -0
  210. package/_mjs/json.mjs +2 -0
  211. package/_mjs/json.mjs.map +1 -0
  212. package/_mjs/optics/At/api.mjs +1 -0
  213. package/_mjs/optics/At/api.mjs.map +1 -1
  214. package/_mjs/optics/At/definition.mjs +1 -0
  215. package/_mjs/optics/At/definition.mjs.map +1 -1
  216. package/_mjs/optics/Index/api.mjs +1 -0
  217. package/_mjs/optics/Index/api.mjs.map +1 -1
  218. package/_mjs/optics/Iso/api.mjs +1 -0
  219. package/_mjs/optics/Iso/api.mjs.map +1 -1
  220. package/_mjs/optics/Iso/definition.mjs +2 -0
  221. package/_mjs/optics/Iso/definition.mjs.map +1 -1
  222. package/_mjs/optics/Lens/api.mjs +1 -0
  223. package/_mjs/optics/Lens/api.mjs.map +1 -1
  224. package/_mjs/optics/Lens/definition.mjs +2 -0
  225. package/_mjs/optics/Lens/definition.mjs.map +1 -1
  226. package/_mjs/optics/Optional/api/compose.mjs +1 -0
  227. package/_mjs/optics/Optional/api/compose.mjs.map +1 -1
  228. package/_mjs/optics/Optional/definition.mjs +1 -0
  229. package/_mjs/optics/Optional/definition.mjs.map +1 -1
  230. package/_mjs/optics/Prism/api/compose.mjs +1 -0
  231. package/_mjs/optics/Prism/api/compose.mjs.map +1 -1
  232. package/_mjs/optics/Prism/api/fromNullable.mjs +1 -0
  233. package/_mjs/optics/Prism/api/fromNullable.mjs.map +1 -1
  234. package/_mjs/optics/Prism/api/just.mjs +1 -0
  235. package/_mjs/optics/Prism/api/just.mjs.map +1 -1
  236. package/_mjs/optics/Prism/definition.mjs +1 -0
  237. package/_mjs/optics/Prism/definition.mjs.map +1 -1
  238. package/_mjs/optics/Traversal/api/compose.mjs +1 -0
  239. package/_mjs/optics/Traversal/api/compose.mjs.map +1 -1
  240. package/_mjs/optics/Traversal/api/fromTraversable.mjs +1 -0
  241. package/_mjs/optics/Traversal/api/fromTraversable.mjs.map +1 -1
  242. package/_mjs/optics/Traversal/definition.mjs +2 -0
  243. package/_mjs/optics/Traversal/definition.mjs.map +1 -1
  244. package/_mjs/optics.mjs +2 -0
  245. package/_mjs/optics.mjs.map +1 -0
  246. package/_mjs/typeclass/Eq/derivations.mjs +1 -0
  247. package/_mjs/typeclass/Eq/derivations.mjs.map +1 -1
  248. package/_mjs/typeclass/Guard/api.mjs +1 -0
  249. package/_mjs/typeclass/Guard/api.mjs.map +1 -1
  250. package/_mjs/typeclass/HashEq.mjs +1 -0
  251. package/_mjs/typeclass/HashEq.mjs.map +1 -1
  252. package/_mjs/typeclass/Monoid.mjs +1 -0
  253. package/_mjs/typeclass/Monoid.mjs.map +1 -1
  254. package/_mjs/typeclass/Ord/definition.mjs +1 -0
  255. package/_mjs/typeclass/Ord/definition.mjs.map +1 -1
  256. package/_mjs/typeclass/Ord/instances.mjs +3 -0
  257. package/_mjs/typeclass/Ord/instances.mjs.map +1 -1
  258. package/_mjs/typeclass/Semigroup/api.mjs +1 -0
  259. package/_mjs/typeclass/Semigroup/api.mjs.map +1 -1
  260. package/_mjs/typeclass/Semigroup/derivations.mjs +1 -0
  261. package/_mjs/typeclass/Semigroup/derivations.mjs.map +1 -1
  262. package/_mjs/typeclass/Showable/show.mjs.map +1 -1
  263. package/_mjs/util.mjs +2 -0
  264. package/_mjs/util.mjs.map +1 -0
  265. package/_src/collection/compat/Array/api.ts +10 -10
  266. package/_src/collection/compat/Array/definition.ts +3 -3
  267. package/_src/collection/compat/Array/derivations.ts +85 -0
  268. package/_src/collection/compat/Array.ts +1 -0
  269. package/_src/collection/compat/Record/instances.ts +0 -1
  270. package/_src/collection/compat.ts +4 -0
  271. package/_src/collection/immutable/Conc/definition.ts +11 -10
  272. package/_src/collection/immutable/Conc/derivations.ts +28 -0
  273. package/_src/collection/immutable/Conc.ts +1 -0
  274. package/_src/collection/immutable/ImmutableArray/api.ts +6 -6
  275. package/_src/collection/immutable/ImmutableArray/constructors.ts +2 -2
  276. package/_src/collection/immutable/ImmutableArray/definition.ts +3 -0
  277. package/_src/collection/immutable/ImmutableArray/derivations.ts +28 -0
  278. package/_src/collection/immutable/ImmutableArray/instances.ts +5 -0
  279. package/_src/collection/immutable/ImmutableArray.ts +1 -0
  280. package/_src/collection/immutable/ImmutableNonEmptyArray/constructors.ts +2 -2
  281. package/_src/collection/immutable/ImmutableNonEmptyArray/definition.ts +2 -2
  282. package/_src/collection/immutable/ImmutableNonEmptyArray/derivations.ts +44 -0
  283. package/_src/collection/immutable/ImmutableNonEmptyArray.ts +1 -0
  284. package/_src/collection/immutable/List/definition.ts +2 -2
  285. package/_src/collection/immutable/Vector/definition.ts +1 -1
  286. package/_src/collection/immutable/Vector/internal.ts +1 -1
  287. package/_src/collection/immutable.ts +12 -0
  288. package/_src/collection/mutable/HashMap.ts +4 -0
  289. package/_src/collection/mutable.ts +6 -0
  290. package/_src/collection/weak.ts +4 -0
  291. package/_src/collection.ts +7 -0
  292. package/_src/control/Eval/definition.ts +1 -1
  293. package/_src/control/Z/api.ts +24 -27
  294. package/_src/control/Z/definition.ts +6 -7
  295. package/_src/control/Z/runtime.ts +4 -4
  296. package/_src/control.ts +5 -0
  297. package/_src/data/DecodeError/definition.ts +8 -0
  298. package/_src/data/DecodeError/instances.ts +0 -0
  299. package/_src/data/DecodeError.ts +1 -0
  300. package/_src/data/Either/definition.ts +1 -1
  301. package/_src/data/Maybe/definition.ts +2 -2
  302. package/_src/data/These/definition.ts +1 -1
  303. package/_src/data/string/api.ts +1 -1
  304. package/_src/data.ts +35 -0
  305. package/_src/global.ts +252 -0
  306. package/_src/index.ts +8 -0
  307. package/_src/json.ts +5 -0
  308. package/_src/optics.ts +12 -0
  309. package/_src/typeclass/Showable/show.ts +2 -2
  310. package/_src/util.ts +8 -0
  311. package/collection/compat/Array/api.d.ts +10 -10
  312. package/collection/compat/Array/definition.d.ts +3 -3
  313. package/collection/compat/Array/derivations.d.ts +24 -0
  314. package/collection/compat/Array.d.ts +1 -0
  315. package/collection/compat.d.ts +2 -0
  316. package/collection/immutable/Conc/definition.d.ts +17 -16
  317. package/collection/immutable/Conc/derivations.d.ts +14 -0
  318. package/collection/immutable/Conc.d.ts +1 -0
  319. package/collection/immutable/ImmutableArray/api.d.ts +6 -6
  320. package/collection/immutable/ImmutableArray/constructors.d.ts +2 -2
  321. package/collection/immutable/ImmutableArray/definition.d.ts +4 -0
  322. package/collection/immutable/ImmutableArray/derivations.d.ts +14 -0
  323. package/collection/immutable/ImmutableArray.d.ts +1 -0
  324. package/collection/immutable/ImmutableNonEmptyArray/constructors.d.ts +2 -2
  325. package/collection/immutable/ImmutableNonEmptyArray/definition.d.ts +2 -2
  326. package/collection/immutable/ImmutableNonEmptyArray/derivations.d.ts +14 -0
  327. package/collection/immutable/ImmutableNonEmptyArray.d.ts +1 -0
  328. package/collection/immutable/List/definition.d.ts +2 -2
  329. package/collection/immutable/Vector/definition.d.ts +1 -1
  330. package/collection/immutable/Vector/internal.d.ts +1 -1
  331. package/collection/immutable.d.ts +10 -0
  332. package/collection/mutable/HashMap.d.ts +1 -0
  333. package/collection/mutable.d.ts +4 -0
  334. package/collection/weak.d.ts +2 -0
  335. package/collection.d.ts +5 -0
  336. package/control/Z/api.d.ts +24 -24
  337. package/control/Z/definition.d.ts +6 -6
  338. package/control/Z/runtime.d.ts +4 -4
  339. package/control.d.ts +3 -0
  340. package/data/DecodeError/definition.d.ts +6 -0
  341. package/data/DecodeError/instances.d.ts +1 -0
  342. package/data/DecodeError.d.ts +1 -0
  343. package/data/Maybe/definition.d.ts +4 -2
  344. package/data/string/api.d.ts +1 -1
  345. package/data.d.ts +33 -0
  346. package/global.d.ts +237 -0
  347. package/index.d.ts +8 -0
  348. package/json.d.ts +3 -0
  349. package/optics.d.ts +10 -0
  350. package/package.json +1 -1
  351. package/typeclass/Showable/show.d.ts +1 -1
  352. package/util.d.ts +6 -0
package/_src/json.ts ADDED
@@ -0,0 +1,5 @@
1
+ // codegen:start { preset: type-barrel, include: ./json/*.ts }
2
+ export type {} from "./json/EitherJson.js";
3
+ export type {} from "./json/MaybeJson.js";
4
+ export type {} from "./json/TheseJson.js";
5
+ // codegen:end
package/_src/optics.ts ADDED
@@ -0,0 +1,12 @@
1
+ // codegen:start { preset: type-barrel, include: ./optics/*.ts }
2
+ export type {} from "./optics/At.js";
3
+ export type {} from "./optics/Fold.js";
4
+ export type {} from "./optics/Getter.js";
5
+ export type {} from "./optics/Index.js";
6
+ export type {} from "./optics/Iso.js";
7
+ export type {} from "./optics/Lens.js";
8
+ export type {} from "./optics/Optional.js";
9
+ export type {} from "./optics/Prism.js";
10
+ export type {} from "./optics/Setter.js";
11
+ export type {} from "./optics/Traversal.js";
12
+ // codegen:end
@@ -72,7 +72,7 @@ export interface ShowOptions {
72
72
 
73
73
  export class ShowContext extends CaseClass<ShowContextArgs> {}
74
74
 
75
- export type ShowComputationZ<A> = Z<never, ShowContext, ShowContext, unknown, never, A>;
75
+ export type ShowComputationZ<A> = Z<never, ShowContext, ShowContext, never, never, A>;
76
76
  export type ShowComputation = ShowComputationZ<string>;
77
77
  export type ShowComputationChunk = ShowComputationZ<Conc<string>>;
78
78
 
@@ -240,7 +240,7 @@ function getInspectionInfo(context: ShowContext, value: object, typedArray?: str
240
240
 
241
241
  if (value[Symbol.iterator as keyof typeof value] || constructor === null) {
242
242
  noIterator = false;
243
- if (Conc.isConc(value)) {
243
+ if (Conc.is(value)) {
244
244
  braces = [`Chunk (${(value as Conc<unknown>).length}) [`, "]"];
245
245
  if ((value as Conc<unknown>).length == 0) {
246
246
  return inspectionEarlyReturn(`${braces[0]}]`);
package/_src/util.ts ADDED
@@ -0,0 +1,8 @@
1
+ // codegen:start { preset: type-barrel, include: ./util/*.ts }
2
+ export type {} from "./util/AnsiFormat.js";
3
+ export type {} from "./util/assert.js";
4
+ export type {} from "./util/pattern.js";
5
+ export type {} from "./util/PCGRandom.js";
6
+ export type {} from "./util/predicates.js";
7
+ export type {} from "./util/rand.js";
8
+ // codegen:end
@@ -1,32 +1,32 @@
1
1
  import { ReadonlyNonEmptyArray } from "@fncts/base/collection/immutable/ImmutableNonEmptyArray/definition";
2
2
  import type { Eq } from "@fncts/base/typeclass";
3
3
  /**
4
- * @tsplus getter fncts.base.Array elem
5
- * @tsplus getter fncts.base.ReadonlyArray elem
4
+ * @tsplus getter fncts.Array elem
5
+ * @tsplus getter fncts.ReadonlyArray elem
6
6
  * @tsplus location "@fncts/base/collection/compat/Array/api"
7
7
  */
8
8
  export declare function elem<A>(self: ReadonlyArray<A>): (eq: Eq<A>) => (a: A) => boolean;
9
9
  /**
10
- * @tsplus fluent fncts.base.Array isEmpty
11
- * @tsplus fluent fncts.base.ReadonlyArray isEmpty
10
+ * @tsplus fluent fncts.Array isEmpty
11
+ * @tsplus fluent fncts.ReadonlyArray isEmpty
12
12
  * @tsplus location "@fncts/base/collection/compat/Array/api"
13
13
  */
14
14
  export declare function isEmpty<A>(self: ReadonlyArray<A>): boolean;
15
15
  /**
16
- * @tsplus fluent fncts.base.Array isNonEmpty
17
- * @tsplus fluent fncts.base.ReadonlyArray isNonEmpty
16
+ * @tsplus fluent fncts.Array isNonEmpty
17
+ * @tsplus fluent fncts.ReadonlyArray isNonEmpty
18
18
  * @tsplus location "@fncts/base/collection/compat/Array/api"
19
19
  */
20
20
  export declare function isNonEmpty<A>(self: ReadonlyArray<A>): self is ReadonlyNonEmptyArray<A>;
21
21
  /**
22
- * @tsplus fluent fncts.base.Array foldLeft
23
- * @tsplus fluent fncts.base.ReadonlyArray foldLeft
22
+ * @tsplus fluent fncts.Array foldLeft
23
+ * @tsplus fluent fncts.ReadonlyArray foldLeft
24
24
  * @tsplus location "@fncts/base/collection/compat/Array/api"
25
25
  */
26
26
  export declare function foldLeft<A, B>(self: ReadonlyArray<A>, b: B, f: (b: B, a: A) => B): B;
27
27
  /**
28
- * @tsplus fluent fncts.base.Array foldLeftWithIndex
29
- * @tsplus fluent fncts.base.ReadonlyArray foldLeftWithIndex
28
+ * @tsplus fluent fncts.Array foldLeftWithIndex
29
+ * @tsplus fluent fncts.ReadonlyArray foldLeftWithIndex
30
30
  * @tsplus location "@fncts/base/collection/compat/Array/api"
31
31
  */
32
32
  export declare function foldLeftWithIndex<A, B>(self: ReadonlyArray<A>, b: B, f: (i: number, b: B, a: A) => B): B;
@@ -1,16 +1,16 @@
1
1
  declare global {
2
2
  /**
3
- * @tsplus type fncts.base.ReadonlyArray
3
+ * @tsplus type fncts.ReadonlyArray
4
4
  */
5
5
  export interface ReadonlyArray<T> {
6
6
  }
7
7
  /**
8
- * @tsplus type fncts.base.Array
8
+ * @tsplus type fncts.Array
9
9
  */
10
10
  export interface Array<T> {
11
11
  }
12
12
  /**
13
- * @tsplus type fncts.base.ArrayOps
13
+ * @tsplus type fncts.ArrayOps
14
14
  */
15
15
  export interface ArrayConstructor {
16
16
  }
@@ -0,0 +1,24 @@
1
+ import { Guard } from "@fncts/base/typeclass/Guard";
2
+ import { Decoder } from "@fncts/base/data/Decoder";
3
+ import { These } from "@fncts/base/data/These";
4
+ import type { Check } from "@fncts/typelevel/Check";
5
+ /**
6
+ * @tsplus derive fncts.Guard[fncts.Array]<_> 10
7
+ * @tsplus location "@fncts/base/collection/compat/Array/derivations"
8
+ */
9
+ export declare function deriveGuard<A extends Array<any>>(...[element]: [A] extends [Array<infer _A>] ? Check<Check.IsEqual<A, Array<_A>>> extends Check.True ? [element: Guard<_A>] : never : never): Guard<A>;
10
+ /**
11
+ * @tsplus derive fncts.Guard[fncts.ReadonlyArray]<_> 10
12
+ * @tsplus location "@fncts/base/collection/compat/Array/derivations"
13
+ */
14
+ export declare const deriveReadonlyArrayGuard: <A extends ReadonlyArray<any>>(...[element]: [A] extends [ReadonlyArray<infer _A>] ? Check<Check.IsEqual<A, ReadonlyArray<_A>>> extends Check.True ? [element: Guard<_A>] : never : never) => Guard<A>;
15
+ /**
16
+ * @tsplus derive fncts.Decoder[fncts.Array]<_> 10
17
+ * @tsplus location "@fncts/base/collection/compat/Array/derivations"
18
+ */
19
+ export declare function deriveDecoder<A extends Array<any>>(...[element]: [A] extends [Array<infer _A>] ? Check<Check.IsEqual<A, Array<_A>>> extends Check.True ? [element: Decoder<_A>] : never : never): Decoder<A>;
20
+ /**
21
+ * @tsplus derive fncts.Decoder[fncts.ReadonlyArray]<_> 10
22
+ * @tsplus location "@fncts/base/collection/compat/Array/derivations"
23
+ */
24
+ export declare function deriveReadonlyArrayDecoder<A extends ReadonlyArray<any>>(...[element]: [A] extends [ReadonlyArray<infer _A>] ? Check<Check.IsEqual<A, ReadonlyArray<_A>>> extends Check.True ? [element: Decoder<_A>] : never : never): Decoder<A>;
@@ -1,2 +1,3 @@
1
1
  export * from "./Array/api.js";
2
2
  export * from "./Array/definition.js";
3
+ export * from "./Array/derivations.js";
@@ -0,0 +1,2 @@
1
+ export type {} from "./compat/Array.js";
2
+ export type {} from "./compat/Record.js";
@@ -31,7 +31,7 @@ export interface ConcF extends HKT {
31
31
  * @tsplus companion fncts.ConcOps
32
32
  */
33
33
  export declare abstract class Conc<A> implements Iterable<A>, Hashable, Equatable {
34
- readonly _A: () => A;
34
+ _A: () => A;
35
35
  readonly _typeId: ConcTypeId;
36
36
  abstract readonly length: number;
37
37
  abstract [Symbol.iterator](): Iterator<A>;
@@ -40,7 +40,7 @@ export declare abstract class Conc<A> implements Iterable<A>, Hashable, Equatabl
40
40
  }
41
41
  declare abstract class ConcImplementation<A> implements Iterable<A> {
42
42
  readonly _typeId: ConcTypeId;
43
- readonly _A: () => A;
43
+ _A: () => A;
44
44
  get [Symbol.hash](): number;
45
45
  [Symbol.equals](that: unknown): boolean;
46
46
  abstract readonly length: number;
@@ -83,10 +83,11 @@ export declare class Empty<A> extends ConcImplementation<A> {
83
83
  arrayIterator(): Iterator<Array<A>>;
84
84
  reverseArrayIterator(): Iterator<Array<A>>;
85
85
  }
86
- export declare const _Empty: Empty<any>;
86
+ export declare const _Empty: Empty<never>;
87
87
  export declare class Concat<A> extends ConcImplementation<A> {
88
88
  readonly left: ConcImplementation<A>;
89
89
  readonly right: ConcImplementation<A>;
90
+ _A: () => A;
90
91
  readonly _tag = ConcTag.Concat;
91
92
  length: number;
92
93
  depth: number;
@@ -107,8 +108,8 @@ declare class AppendN<A> extends ConcImplementation<A> {
107
108
  readonly _tag = ConcTag.AppendN;
108
109
  length: number;
109
110
  depth: number;
110
- left: Empty<any>;
111
- right: Empty<any>;
111
+ left: Empty<never>;
112
+ right: Empty<never>;
112
113
  constructor(start: ConcImplementation<A>, buffer: Array<unknown> | Uint8Array, bufferUsed: number, binary: boolean);
113
114
  [Symbol.iterator](): Iterator<A>;
114
115
  append<A1>(a: A1): ConcImplementation<A | A1>;
@@ -123,8 +124,8 @@ declare class PrependN<A> extends ConcImplementation<A> {
123
124
  readonly binary: boolean;
124
125
  readonly _tag = ConcTag.PrependN;
125
126
  length: number;
126
- left: Empty<any>;
127
- right: Empty<any>;
127
+ left: Empty<never>;
128
+ right: Empty<never>;
128
129
  constructor(end: ConcImplementation<A>, buffer: Array<unknown> | Uint8Array, bufferUsed: number, binary: boolean);
129
130
  [Symbol.iterator](): Iterator<A>;
130
131
  prepend<A1>(a: A1): ConcImplementation<A | A1>;
@@ -137,8 +138,8 @@ export declare class Singleton<A> extends ConcImplementation<A> {
137
138
  readonly _tag = ConcTag.Singleton;
138
139
  length: number;
139
140
  depth: number;
140
- left: Empty<any>;
141
- right: Empty<any>;
141
+ left: Empty<never>;
142
+ right: Empty<never>;
142
143
  binary: boolean;
143
144
  constructor(value: A);
144
145
  get(n: number): A;
@@ -156,8 +157,8 @@ export declare class Slice<A> extends ConcImplementation<A> {
156
157
  length: number;
157
158
  binary: boolean;
158
159
  depth: number;
159
- left: Empty<any>;
160
- right: Empty<any>;
160
+ left: Empty<never>;
161
+ right: Empty<never>;
161
162
  constructor(conc: ConcImplementation<A>, offset: number, l: number);
162
163
  get(n: number): A;
163
164
  forEach<B>(startIndex: number, f: (i: number, a: A) => B): void;
@@ -168,8 +169,8 @@ export declare class Chunk<A> extends ConcImplementation<A> {
168
169
  readonly _tag = ConcTag.Chunk;
169
170
  length: number;
170
171
  depth: number;
171
- left: Empty<any>;
172
- right: Empty<any>;
172
+ left: Empty<never>;
173
+ right: Empty<never>;
173
174
  binary: boolean;
174
175
  constructor(_array: ReadonlyArray<A>);
175
176
  get(n: number): A;
@@ -184,8 +185,8 @@ export declare class ByteChunk<A> extends ConcImplementation<A> {
184
185
  readonly _tag = ConcTag.ByteChunk;
185
186
  length: number;
186
187
  depth: number;
187
- left: Empty<any>;
188
- right: Empty<any>;
188
+ left: Empty<never>;
189
+ right: Empty<never>;
189
190
  binary: boolean;
190
191
  constructor(_array: Uint8Array);
191
192
  get(n: number): A;
@@ -205,7 +206,7 @@ export declare function concrete<A>(_: Conc<A>): asserts _ is Empty<A> | Singlet
205
206
  */
206
207
  export declare function fromArray<A>(array: ArrayLike<A>): ConcImplementation<A>;
207
208
  /**
208
- * @tsplus static fncts.ConcOps isConc
209
+ * @tsplus static fncts.ConcOps is
209
210
  * @tsplus location "@fncts/base/collection/immutable/Conc/definition"
210
211
  */
211
212
  export declare function isConc<A>(u: Iterable<A>): u is Conc<A>;
@@ -0,0 +1,14 @@
1
+ import { Conc } from "@fncts/base/collection/immutable/Conc";
2
+ import { Guard } from "@fncts/base/typeclass/Guard";
3
+ import { Decoder } from "@fncts/base/data/Decoder";
4
+ import type { Check } from "@fncts/typelevel/Check";
5
+ /**
6
+ * @tsplus derive fncts.Guard[fncts.Conc]<_> 10
7
+ * @tsplus location "@fncts/base/collection/immutable/Conc/derivations"
8
+ */
9
+ export declare function deriveGuard<A extends Conc<any>>(...[elem]: [A] extends [Conc<infer _A>] ? [elem: Guard<_A>] : never): Guard<A>;
10
+ /**
11
+ * @tsplus derive fncts.Decoder[fncts.Conc]<_> 10
12
+ * @tsplus location "@fncts/base/collection/immutable/Conc/derivations"
13
+ */
14
+ export declare function deriveDecoder<A extends Conc<any>>(...[array, elem]: [A] extends [Conc<infer _A>] ? Check<Check.IsEqual<A, Conc<_A>>> extends Check.True ? [array: Decoder<Array<_A>>, elem: Decoder<_A>] : never : never): Decoder<A>;
@@ -1,6 +1,7 @@
1
1
  export * from "./Conc/api.js";
2
2
  export * from "./Conc/constructors.js";
3
3
  export * from "./Conc/definition.js";
4
+ export * from "./Conc/derivations.js";
4
5
  export * from "./Conc/api/empty.js";
5
6
  export * from "./Conc/api/makeBy.js";
6
7
  export * from "./Conc/api/replicate.js";
@@ -231,25 +231,25 @@ export declare function findLastMap_<A, B>(as: ImmutableArray<A>, f: (a: A) => M
231
231
  export declare function findLastMapWithIndex_<A, B>(as: ImmutableArray<A>, f: (i: number, a: A) => Maybe<B>): Maybe<B>;
232
232
  /**
233
233
  * @tsplus fluent fncts.ImmutableArray foldLeftWithIndex
234
- * @tsplus fluent fncts.base.MutableArray foldLeftWithIndex
234
+ * @tsplus fluent fncts.MutableArray foldLeftWithIndex
235
235
  * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/api"
236
236
  */
237
237
  export declare function foldLeftWithIndex_<A, B>(self: ImmutableArray<A>, b: B, f: (i: number, b: B, a: A) => B): B;
238
238
  /**
239
239
  * @tsplus fluent fncts.ImmutableArray foldLeft
240
- * @tsplus fluent fncts.base.MutableArray foldLeft
240
+ * @tsplus fluent fncts.MutableArray foldLeft
241
241
  * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/api"
242
242
  */
243
243
  export declare function foldLeft_<A, B>(self: ImmutableArray<A>, b: B, f: (b: B, a: A) => B): B;
244
244
  /**
245
245
  * @tsplus fluent fncts.ImmutableArray foldLeftWhile
246
- * @tsplus fluent fncts.base.MutableArray foldLeftWhile
246
+ * @tsplus fluent fncts.MutableArray foldLeftWhile
247
247
  * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/api"
248
248
  */
249
249
  export declare function foldLeftWhile_<A, B>(self: ImmutableArray<A>, b: B, p: Predicate<B>, f: (b: B, a: A) => B): B;
250
250
  /**
251
251
  * @tsplus fluent fncts.ImmutableArray foldLeftWithIndexWhile
252
- * @tsplus fluent fncts.base.MutableArray foldLeftWithIndexWhile
252
+ * @tsplus fluent fncts.MutableArray foldLeftWithIndexWhile
253
253
  * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/api"
254
254
  */
255
255
  export declare function foldLeftWithIndexWhile_<A, B>(self: ImmutableArray<A>, b: B, p: Predicate<B>, f: (i: number, b: B, a: A) => B): B;
@@ -296,7 +296,7 @@ export declare function foldRightWithIndexWhile_<A, B>(self: ImmutableArray<A>,
296
296
  export declare function forEach_<A, B>(self: ImmutableArray<A>, f: (a: A) => B): void;
297
297
  /**
298
298
  * @tsplus fluent fncts.ImmutableArray get
299
- * @tsplus fluent fncts.base.MutableArray get
299
+ * @tsplus fluent fncts.MutableArray get
300
300
  * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/api"
301
301
  */
302
302
  export declare function get_<A>(self: ImmutableArray<A>, i: number): Maybe<A>;
@@ -422,7 +422,7 @@ export declare function partitionMap_<A, B, C>(self: ImmutableArray<A>, f: (a: A
422
422
  export declare function prepend_<A, B>(self: ImmutableArray<A>, head: B): ImmutableArray<A | B>;
423
423
  /**
424
424
  * @tsplus fluent fncts.ImmutableArray prependAll
425
- * @tsplus fluent fncts.base.MutableArray prependAll
425
+ * @tsplus fluent fncts.MutableArray prependAll
426
426
  * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/api"
427
427
  */
428
428
  export declare function prependAll_<A>(self: ImmutableArray<A>, a: A): ImmutableArray<A>;
@@ -1,7 +1,7 @@
1
1
  import { ImmutableArray } from "@fncts/base/collection/immutable/ImmutableArray/definition";
2
2
  /**
3
- * @tsplus getter fncts.base.ReadonlyArray asImmutableArray
4
- * @tsplus getter fncts.base.Array asImmutableArray
3
+ * @tsplus getter fncts.ReadonlyArray asImmutableArray
4
+ * @tsplus getter fncts.Array asImmutableArray
5
5
  * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/constructors"
6
6
  */
7
7
  export declare function asImmutableArray<A>(self: ReadonlyArray<A>): ImmutableArray<A>;
@@ -23,4 +23,8 @@ export declare class ImmutableArray<A> implements Equatable, Hashable, Iterable<
23
23
  get [Symbol.hash](): number;
24
24
  [Symbol.iterator](): IterableIterator<A>;
25
25
  }
26
+ /**
27
+ * @tsplus static fncts.ImmutableArrayOps is
28
+ * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/definition"
29
+ */
26
30
  export declare function isImmutableArray(u: unknown): u is ImmutableArray<unknown>;
@@ -0,0 +1,14 @@
1
+ import { ImmutableArray } from "@fncts/base/collection/immutable/ImmutableArray/definition";
2
+ import { Guard } from "@fncts/base/typeclass/Guard";
3
+ import { Decoder } from "@fncts/base/data/Decoder";
4
+ import type { Check } from "@fncts/typelevel/Check";
5
+ /**
6
+ * @tsplus derive fncts.Guard[fncts.ImmutableArray]<_> 10
7
+ * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/derivations"
8
+ */
9
+ export declare function deriveGuard<A extends ImmutableArray<any>>(...[element]: [A] extends [ImmutableArray<infer A>] ? [element: Guard<A>] : never): Guard<A>;
10
+ /**
11
+ * @tsplus derive fncts.Decoder[fncts.ImmutableArray]<_> 10
12
+ * @tsplus location "@fncts/base/collection/immutable/ImmutableArray/derivations"
13
+ */
14
+ export declare function deriveDecoder<A extends ImmutableArray<any>>(...[array, elem]: [A] extends [ImmutableArray<infer _A>] ? Check<Check.IsEqual<A, ImmutableArray<_A>>> extends Check.True ? [array: Decoder<Array<_A>>, elem: Decoder<_A>] : never : never): Decoder<A>;
@@ -1,6 +1,7 @@
1
1
  export * from "./ImmutableArray/api.js";
2
2
  export * from "./ImmutableArray/constructors.js";
3
3
  export * from "./ImmutableArray/definition.js";
4
+ export * from "./ImmutableArray/derivations.js";
4
5
  export * from "./ImmutableArray/instances.js";
5
6
  export * from "./ImmutableArray/api/chunksOf.js";
6
7
  export * from "./ImmutableArray/api/slice.js";
@@ -6,8 +6,8 @@ export declare function allocWithHead<A>(head: A, length: number): Array<A> & {
6
6
  0: A;
7
7
  };
8
8
  /**
9
- * @tsplus getter fncts.base.ReadonlyArray unsafeAsNonEmptyArray
10
- * @tsplus getter fncts.base.Array unsafeAsNonEmptyArray
9
+ * @tsplus getter fncts.ReadonlyArray unsafeAsNonEmptyArray
10
+ * @tsplus getter fncts.Array unsafeAsNonEmptyArray
11
11
  * @tsplus location "@fncts/base/collection/immutable/ImmutableNonEmptyArray/constructors"
12
12
  */
13
13
  export declare function unsafeAsNonEmptyArray<A>(self: ReadonlyArray<A>): ImmutableNonEmptyArray<A>;
@@ -17,13 +17,13 @@ export declare class ImmutableNonEmptyArray<A> extends ImmutableArray<A> {
17
17
  constructor(_array: ReadonlyNonEmptyArray<A>);
18
18
  }
19
19
  /**
20
- * @tsplus type fncts.base.NonEmptyArray
20
+ * @tsplus type fncts.NonEmptyArray
21
21
  */
22
22
  export interface NonEmptyArray<T> extends Array<T> {
23
23
  0: T;
24
24
  }
25
25
  /**
26
- * @tsplus type fncts.base.ReadonlyNonEmptyArray
26
+ * @tsplus type fncts.ReadonlyNonEmptyArray
27
27
  */
28
28
  export interface ReadonlyNonEmptyArray<T> extends ReadonlyArray<T> {
29
29
  readonly 0: T;
@@ -0,0 +1,14 @@
1
+ import { ImmutableNonEmptyArray } from "@fncts/base/collection/immutable/ImmutableNonEmptyArray/definition";
2
+ import { Guard } from "@fncts/base/typeclass/Guard";
3
+ import { Decoder } from "@fncts/base/data/Decoder";
4
+ import type { Check } from "@fncts/typelevel/Check";
5
+ /**
6
+ * @tsplus derive fncts.Guard[fncts.ImmutableNonEmptyArray]<_> 10
7
+ * @tsplus location "@fncts/base/collection/immutable/ImmutableNonEmptyArray/derivations"
8
+ */
9
+ export declare function deriveGuard<A extends ImmutableNonEmptyArray<any>>(...[elem]: [A] extends [ImmutableNonEmptyArray<infer _A>] ? [elem: Guard<_A>] : never): Guard<A>;
10
+ /**
11
+ * @tsplus derive fncts.Decoder[fncts.ImmutableNonEmptyArray]<_> 10
12
+ * @tsplus location "@fncts/base/collection/immutable/ImmutableNonEmptyArray/derivations"
13
+ */
14
+ export declare function deriveDecoder<A extends ImmutableNonEmptyArray<any>>(...[array, elem]: [A] extends [ImmutableNonEmptyArray<infer _A>] ? Check<Check.IsEqual<A, ImmutableNonEmptyArray<_A>>> extends Check.True ? [array: Decoder<Array<_A>>, elem: Decoder<_A>] : never : never): Decoder<A>;
@@ -1,5 +1,6 @@
1
1
  export * from "./ImmutableNonEmptyArray/api.js";
2
2
  export * from "./ImmutableNonEmptyArray/constructors.js";
3
3
  export * from "./ImmutableNonEmptyArray/definition.js";
4
+ export * from "./ImmutableNonEmptyArray/derivations.js";
4
5
  export * from "./ImmutableNonEmptyArray/destructors.js";
5
6
  export * from "./ImmutableNonEmptyArray/instances.js";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @tsplus type fncts.base.List.Cons
2
+ * @tsplus type fncts.List.Cons
3
3
  * @tsplus companion fncts.ConsOps
4
4
  */
5
5
  export declare class Cons<A> implements Iterable<A> {
@@ -10,7 +10,7 @@ export declare class Cons<A> implements Iterable<A> {
10
10
  [Symbol.iterator](): Iterator<A>;
11
11
  }
12
12
  /**
13
- * @tsplus type fncts.base.List.Nil
13
+ * @tsplus type fncts.List.Nil
14
14
  * @tsplus companion fncts.NilOps
15
15
  */
16
16
  export declare class Nil<A> implements Iterable<A> {
@@ -47,7 +47,7 @@ export declare class Vector<A> implements Iterable<A> {
47
47
  [Symbol.equals](that: unknown): boolean;
48
48
  }
49
49
  /**
50
- * @tsplus type fncts.base.MutableVector
50
+ * @tsplus type fncts.MutableVector
51
51
  */
52
52
  export interface MutableVector<A> {
53
53
  readonly _typeId: VectorTypeId;
@@ -106,7 +106,7 @@ export declare function incrementDepth(bits: number): number;
106
106
  export declare function decrementDepth(bits: number): number;
107
107
  /**
108
108
  * Appends the value to the Vector by _mutating_ the Vector and its content.
109
- * @tsplus fluent fncts.base.MutableVector push
109
+ * @tsplus fluent fncts.MutableVector push
110
110
  * @tsplus location "@fncts/base/collection/immutable/Vector/internal"
111
111
  */
112
112
  export declare function push<A>(l: MutableVector<A>, value: A): MutableVector<A>;
@@ -0,0 +1,10 @@
1
+ export type {} from "./immutable/Conc.js";
2
+ export type {} from "./immutable/HashMap.js";
3
+ export type {} from "./immutable/HashSet.js";
4
+ export type {} from "./immutable/ImmutableArray.js";
5
+ export type {} from "./immutable/ImmutableNonEmptyArray.js";
6
+ export type {} from "./immutable/List.js";
7
+ export type {} from "./immutable/Queue.js";
8
+ export type {} from "./immutable/RoseTree.js";
9
+ export type {} from "./immutable/SortedMap.js";
10
+ export type {} from "./immutable/Vector.js";
@@ -17,6 +17,7 @@ export declare class HashMap<K, V> implements Iterable<readonly [K, V]> {
17
17
  private contentSize;
18
18
  get size(): number;
19
19
  has(key: K): boolean;
20
+ unsafeGet(key: K): V | undefined;
20
21
  get(key: K): Maybe<V>;
21
22
  set(key: K, value: V): Maybe<V>;
22
23
  delete(key: K): Maybe<V>;
@@ -0,0 +1,4 @@
1
+ export type {} from "./mutable/HashMap.js";
2
+ export type {} from "./mutable/HashSet.js";
3
+ export type {} from "./mutable/internal.js";
4
+ export type {} from "./mutable/ListBuffer.js";
@@ -0,0 +1,2 @@
1
+ export type {} from "./weak/IterableWeakMap.js";
2
+ export type {} from "./weak/IterableWeakSet.js";
@@ -0,0 +1,5 @@
1
+ export type {} from "./collection/compat.js";
2
+ export type {} from "./collection/immutable.js";
3
+ export type {} from "./collection/Iterable.js";
4
+ export type {} from "./collection/mutable.js";
5
+ export type {} from "./collection/weak.js";