@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
@@ -0,0 +1,403 @@
1
+ import * as tsplus_module_1 from "@fncts/base/data/function/api";
2
+ import * as tsplus_module_2 from "@fncts/base/data/Maybe/destructors";
3
+ import * as tsplus_module_3 from "@fncts/base/data/Predicate/api";
4
+ import * as tsplus_module_4 from "@fncts/base/data/Either/destructors";
5
+ import * as tsplus_module_5 from "@fncts/base/data/Zipped";
6
+ export const initial = initial_1;
7
+ export const pending = pending_1;
8
+ export const refresh = refresh_1;
9
+ export const replete = replete_1;
10
+ export const isInitial = isInitial_1;
11
+ export const isPending = isPending_1;
12
+ export const isRefresh = isRefresh_1;
13
+ export const isReplete = isReplete_1;
14
+ export const isEmpty = isEmpty_1;
15
+ export const isNonEmpty = isNonEmpty_1;
16
+ export const filter = filter_1;
17
+ export const match = match_1;
18
+ export const zipWith = zipWith_1;
19
+ import { Initial, Pending, Refresh, Replete } from "@fncts/base/data/Datum/definition";
20
+
21
+ const _Initial = /*#__PURE__*/new Initial();
22
+ /**
23
+ * @tsplus static fncts.DatumOps initial
24
+ * @tsplus static fncts.Datum.InitialOps __call
25
+ */
26
+
27
+
28
+ function initial_1() {
29
+ return _Initial;
30
+ }
31
+
32
+ const _Pending = /*#__PURE__*/new Pending();
33
+ /**
34
+ * @tsplus static fncts.DatumOps pending
35
+ * @tsplus static fncts.Datum.PendingOps __call
36
+ */
37
+
38
+
39
+ function pending_1() {
40
+ return _Pending;
41
+ }
42
+ /**
43
+ * @tsplus static fncts.DatumOps refresh
44
+ * @tsplus static fncts.Datum.RefreshOps __call
45
+ */
46
+
47
+
48
+ function refresh_1(value) {
49
+ return new Refresh(value);
50
+ }
51
+ /**
52
+ * @tsplus static fncts.DatumOps replete
53
+ * @tsplus static fncts.Datum.RepleteOps __call
54
+ */
55
+
56
+
57
+ function replete_1(value) {
58
+ return new Replete(value);
59
+ }
60
+ /**
61
+ * @tsplus getter fncts.Datum value
62
+ */
63
+
64
+
65
+ export function left(self) {
66
+ return isNonEmpty_1(self) ? self.value : undefined;
67
+ }
68
+ /**
69
+ * @tsplus fluent fncts.Datum isInitial
70
+ */
71
+
72
+ function isInitial_1(self) {
73
+ return self._tag === "Initial"
74
+ /* DatumTag.Initial */
75
+ ;
76
+ }
77
+ /**
78
+ * @tsplus fluent fncts.Datum isPending
79
+ */
80
+
81
+
82
+ function isPending_1(self) {
83
+ return self._tag === "Pending"
84
+ /* DatumTag.Pending */
85
+ ;
86
+ }
87
+ /**
88
+ * @tsplus fluent fncts.Datum isRefresh
89
+ */
90
+
91
+
92
+ function isRefresh_1(self) {
93
+ return self._tag === "Refresh"
94
+ /* DatumTag.Refresh */
95
+ ;
96
+ }
97
+ /**
98
+ * @tsplus fluent fncts.Datum isReplete
99
+ */
100
+
101
+
102
+ function isReplete_1(self) {
103
+ return self._tag === "Replete"
104
+ /* DatumTag.Replete */
105
+ ;
106
+ }
107
+ /**
108
+ * @tsplus fluent fncts.Datum isEmpty
109
+ */
110
+
111
+
112
+ function isEmpty_1(self) {
113
+ return isInitial_1(self) || isPending_1(self);
114
+ }
115
+ /**
116
+ * @tsplus fluent fncts.Datum isNonEmpty
117
+ */
118
+
119
+
120
+ function isNonEmpty_1(self) {
121
+ return isRefresh_1(self) || isReplete_1(self);
122
+ }
123
+ /**
124
+ * @tsplus fluent fncts.Datum isLoading
125
+ */
126
+
127
+
128
+ export function isLoading(self) {
129
+ return isPending_1(self) || isRefresh_1(self);
130
+ }
131
+ /**
132
+ * @tsplus fluent fncts.Datum elem
133
+ */
134
+
135
+ export function elem(self, a,
136
+ /** @tsplus auto */
137
+ E) {
138
+ return match_1(self, {
139
+ Initial: () => false,
140
+ Pending: () => false,
141
+ Refresh: value => E.equals(a, value),
142
+ Replete: value => E.equals(a, value)
143
+ });
144
+ }
145
+ export function exists(self, p) {
146
+ return match_1(self, {
147
+ Initial: () => false,
148
+ Pending: () => false,
149
+ Refresh: p,
150
+ Replete: p
151
+ });
152
+ }
153
+ /**
154
+ * @tsplus fluent fncts.Datum extend
155
+ */
156
+
157
+ export function extend(self, f) {
158
+ return replete_1(f(self));
159
+ }
160
+
161
+ function filter_1(self, p) {
162
+ return match_1(self, {
163
+ Initial: () => self,
164
+ Pending: () => self,
165
+ Refresh: a => p(a) ? self : initial_1(),
166
+ Replete: a => p(a) ? self : initial_1()
167
+ });
168
+ }
169
+ /**
170
+ * @tsplus fluent fncts.Datum filterMap
171
+ */
172
+
173
+
174
+ export function filterMap(self, f) {
175
+ return match_1(self, {
176
+ Initial: () => self,
177
+ Pending: () => self,
178
+ Refresh: value => tsplus_module_2.match_(f(value), () => initial_1(), b => refresh_1(b)),
179
+ Replete: value => tsplus_module_2.match_(f(value), () => initial_1(), b => replete_1(b))
180
+ });
181
+ }
182
+ /**
183
+ * @tsplus fluent fncts.Datum flatMap
184
+ */
185
+
186
+ export function flatMap(self, f) {
187
+ if (isEmpty_1(self)) {
188
+ return self;
189
+ }
190
+
191
+ const that = f(self.value);
192
+
193
+ if (isEmpty_1(that)) {
194
+ return that;
195
+ }
196
+
197
+ return isRefresh_1(self) || isRefresh_1(that) ? refresh_1(that.value) : replete_1(that.value);
198
+ }
199
+ /**
200
+ * @tsplus fluent fncts.Datum foldLeft
201
+ */
202
+
203
+ export function foldLeft(self, b, f) {
204
+ return match_1(self, {
205
+ Initial: () => b,
206
+ Pending: () => b,
207
+ Refresh: a => f(b, a),
208
+ Replete: a => f(b, a)
209
+ });
210
+ }
211
+ /**
212
+ * @tsplus fluent fncts.Datum foldMap
213
+ */
214
+
215
+ export function foldMap(self, f,
216
+ /** @tsplus auto */
217
+ M) {
218
+ return match_1(self, {
219
+ Initial: () => M.nat,
220
+ Pending: () => M.nat,
221
+ Refresh: f,
222
+ Replete: f
223
+ });
224
+ }
225
+ /**
226
+ * @tsplus fluent fncts.Datum foldRight
227
+ */
228
+
229
+ export function foldRight(self, b, f) {
230
+ return match_1(self, {
231
+ Initial: () => b,
232
+ Pending: () => b,
233
+ Refresh: a => f(a, b),
234
+ Replete: a => f(a, b)
235
+ });
236
+ }
237
+ /**
238
+ * @tsplus fluent fncts.Datum getOrElse
239
+ */
240
+
241
+ export function getOrElse(self, b) {
242
+ return match_1(self, {
243
+ Initial: b,
244
+ Pending: b,
245
+ Refresh: tsplus_module_1.identity,
246
+ Replete: tsplus_module_1.identity
247
+ });
248
+ }
249
+ /**
250
+ * @tsplus fluent fncts.Datum match
251
+ */
252
+
253
+ function match_1(self, cases) {
254
+ switch (self._tag) {
255
+ case "Initial"
256
+ /* DatumTag.Initial */
257
+ :
258
+ return cases.Initial();
259
+
260
+ case "Pending"
261
+ /* DatumTag.Pending */
262
+ :
263
+ return cases.Pending();
264
+
265
+ case "Refresh"
266
+ /* DatumTag.Refresh */
267
+ :
268
+ return cases.Refresh(self.value);
269
+
270
+ case "Replete"
271
+ /* DatumTag.Replete */
272
+ :
273
+ return cases.Replete(self.value);
274
+ }
275
+ }
276
+ /**
277
+ * @tsplus fluent fncts.Datum match2
278
+ */
279
+
280
+
281
+ export function match2(self, onEmpty, onValue) {
282
+ switch (self._tag) {
283
+ case "Initial"
284
+ /* DatumTag.Initial */
285
+ :
286
+ return onEmpty(false);
287
+
288
+ case "Pending"
289
+ /* DatumTag.Pending */
290
+ :
291
+ return onEmpty(true);
292
+
293
+ case "Refresh"
294
+ /* DatumTag.Refresh */
295
+ :
296
+ return onValue(self.value, true);
297
+
298
+ case "Replete"
299
+ /* DatumTag.Replete */
300
+ :
301
+ return onValue(self.value, false);
302
+ }
303
+ }
304
+ /**
305
+ * @tsplus fluent fncts.Datum map
306
+ */
307
+
308
+ export function map(self, f) {
309
+ switch (self._tag) {
310
+ case "Initial"
311
+ /* DatumTag.Initial */
312
+ :
313
+ case "Pending"
314
+ /* DatumTag.Pending */
315
+ :
316
+ return self;
317
+
318
+ case "Refresh"
319
+ /* DatumTag.Refresh */
320
+ :
321
+ return refresh_1(f(self.value));
322
+
323
+ case "Replete"
324
+ /* DatumTag.Replete */
325
+ :
326
+ return replete_1(f(self.value));
327
+ }
328
+ }
329
+ /**
330
+ * @tsplus fluent fncts.Datum orElse
331
+ */
332
+
333
+ export function orElse(self, that) {
334
+ return match_1(self, {
335
+ Initial: that,
336
+ Pending: that,
337
+ Refresh: () => self,
338
+ Replete: () => self
339
+ });
340
+ }
341
+ export function partition(self, p) {
342
+ return [filter_1(self, tsplus_module_3.invert(p)), filter_1(self, p)];
343
+ }
344
+ /**
345
+ * @tsplus fluent fncts.Datum partitionMap
346
+ */
347
+
348
+ export function partitionMap(self, f) {
349
+ return match_1(self, {
350
+ Initial: () => [initial_1(), initial_1()],
351
+ Pending: () => [pending_1(), pending_1()],
352
+ Refresh: a => tsplus_module_4.match_(f(a), b => [refresh_1(b), initial_1()], c => [initial_1(), refresh_1(c)]),
353
+ Replete: a => tsplus_module_4.match_(f(a), b => [replete_1(b), initial_1()], c => [initial_1(), replete_1(c)])
354
+ });
355
+ }
356
+ /**
357
+ * @tsplus getter fncts.Datum toPending
358
+ */
359
+
360
+ export function toPending(self) {
361
+ return isEmpty_1(self) ? self : refresh_1(self.value);
362
+ }
363
+ /**
364
+ * @tsplus getter fncts.Datum toReplete
365
+ */
366
+
367
+ export function toReplete(self) {
368
+ return isEmpty_1(self) ? self : replete_1(self.value);
369
+ }
370
+ /**
371
+ * @tsplus fluent fncts.Datum traverse
372
+ */
373
+
374
+ export const traverse = self => A => f => match_1(self, {
375
+ Initial: () => A.pure(initial_1()),
376
+ Pending: () => A.pure(pending_1()),
377
+ Refresh: a => A.map(f(a), b => refresh_1(b)),
378
+ Replete: a => A.map(f(a), b => replete_1(b))
379
+ });
380
+ /**
381
+ * @tsplus fluent fncts.Datum zip
382
+ */
383
+
384
+ export function zip(self, that) {
385
+ return zipWith_1(self, that, (a, b) => tsplus_module_5.make(a, b));
386
+ }
387
+ /**
388
+ * @tsplus fluent fncts.Datum zipWith
389
+ */
390
+
391
+ function zipWith_1(self, that, f) {
392
+ if (isEmpty_1(self)) {
393
+ return self;
394
+ }
395
+
396
+ if (isEmpty_1(that)) {
397
+ return that;
398
+ }
399
+
400
+ const c = f(self.value, that.value);
401
+ return isRefresh_1(self) || isRefresh_1(that) ? refresh_1(c) : replete_1(c);
402
+ }
403
+ //# sourceMappingURL=api.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.mjs","mappings":";;;;;aAegBA,OAAO;aAUPC,OAAO;aAQPC,OAAO;aAQPC,OAAO;aAcPC,SAAS;aAOTC,SAAS;aAOTC,SAAS;aAOTC,S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EAAIY,CAAJ,KAAU+B,qBAAO3C,CAAP,EAAUY,CAAV,CAA7B,CAAP;AACD;AAED;;;;AAGA,mBAAiCtB,IAAjC,EAAiD0B,IAAjD,EAAiET,CAAjE,EAAqF;EACnF,IAAIQ,eAAJ,EAAoB;IAClB,OAAOzB,IAAP;EACD;;EACD,IAAIyB,eAAJ,EAAoB;IAClB,OAAOC,IAAP;EACD;;EACD,MAAMmB,CAAC,GAAG5B,CAAC,CAACjB,IAAI,CAACF,KAAN,EAAa4B,IAAI,CAAC5B,KAAlB,CAAX;EACA,OAAOQ,qBAAoBA,iBAApB,GAAuCiB,UAAQsB,CAAR,CAAvC,GAAoD3B,UAAQ2B,CAAR,CAA3D;AACD","names":["initial","pending","refresh","replete","isInitial","isPending","isRefresh","isReplete","isEmpty","isNonEmpty","filter","match","zipWith","Initial","Pending","Refresh","Replete","_Initial","_Pending","value","left","self","isNonEmpty_1","undefined","_tag","isInitial_1","isPending_1","isRefresh_1","isReplete_1","isLoading","elem","a","E","match_1","equals","exists","p","extend","f","replete_1","initial_1","filterMap","tsplus_module_2","b","refresh_1","flatMap","isEmpty_1","that","foldLeft","foldMap","M","nat","foldRight","getOrElse","cases","match2","onEmpty","onValue","map","orElse","partition","filter_1","tsplus_module_3","partitionMap","pending_1","tsplus_module_4","c","toPending","toReplete","traverse","A","pure","zip","zipWith_1","tsplus_module_5"],"sourceRoot":"","sources":["../../../_src/data/Datum/api.ts"],"sourcesContent":[null]}
@@ -0,0 +1,112 @@
1
+ import * as tsplus_module_1 from "@fncts/base/typeclass/Hashable/hash";
2
+ import * as tsplus_module_2 from "@fncts/base/typeclass/Hashable/definition";
3
+ import * as tsplus_module_3 from "@fncts/base/typeclass/Equatable/definition";
4
+ import * as tsplus_module_4 from "@fncts/base/typeclass/Equatable/api";
5
+ import * as tsplus_module_5 from "@fncts/base/util/predicates";
6
+ export const isDatum = isDatum_1;
7
+ export const DatumTypeId = /*#__PURE__*/Symbol.for("fncts.Datum");
8
+ export const Datum = {};
9
+ const datumHash = /*#__PURE__*/tsplus_module_1.hashString("fncts.Datum");
10
+ const initialHash = /*#__PURE__*/tsplus_module_1.combineHash(datumHash, /*#__PURE__*/tsplus_module_1.hashString("Initial"
11
+ /* DatumTag.Initial */
12
+ ));
13
+ /**
14
+ * @tsplus type fncts.Datum.Initial
15
+ * @tsplus companion fncts.Datum.InitialOps
16
+ */
17
+
18
+ export class Initial {
19
+ constructor() {
20
+ this._tag = "Initial"
21
+ /* DatumTag.Initial */
22
+ ;
23
+ }
24
+
25
+ get [tsplus_module_2.hashSymbol]() {
26
+ return initialHash;
27
+ }
28
+
29
+ [tsplus_module_3.equalsSymbol](that) {
30
+ return isDatum_1(that) && that._tag === this._tag;
31
+ }
32
+
33
+ }
34
+ const pendingHash = /*#__PURE__*/tsplus_module_1.combineHash(datumHash, /*#__PURE__*/tsplus_module_1.hashString("Pending"
35
+ /* DatumTag.Pending */
36
+ ));
37
+ /**
38
+ * @tsplus type fncts.Datum.Pending
39
+ * @tsplus companion fncts.Datum.PendingOps
40
+ */
41
+
42
+ export class Pending {
43
+ constructor() {
44
+ this._typeId = DatumTypeId;
45
+ this._tag = "Pending"
46
+ /* DatumTag.Pending */
47
+ ;
48
+ }
49
+
50
+ get [tsplus_module_2.hashSymbol]() {
51
+ return pendingHash;
52
+ }
53
+
54
+ [tsplus_module_3.equalsSymbol](that) {
55
+ return isDatum_1(that) && that._tag === this._tag;
56
+ }
57
+
58
+ }
59
+ /**
60
+ * @tsplus type fncts.Datum.Refresh
61
+ * @tsplus companion fncts.Datum.RefreshOps
62
+ */
63
+
64
+ export class Refresh {
65
+ constructor(value) {
66
+ this.value = value;
67
+ this._typeId = DatumTypeId;
68
+ this._tag = "Refresh"
69
+ /* DatumTag.Refresh */
70
+ ;
71
+ }
72
+
73
+ get [tsplus_module_2.hashSymbol]() {
74
+ return tsplus_module_1.combineHash(tsplus_module_1.combineHash(datumHash, tsplus_module_1.hashString(this._tag)), tsplus_module_1.hashUnknown(this.value));
75
+ }
76
+
77
+ [tsplus_module_3.equalsSymbol](that) {
78
+ return isDatum_1(that) && this._tag === that._tag && tsplus_module_4.strictEquals(this.value, that.value);
79
+ }
80
+
81
+ }
82
+ /**
83
+ * @tsplus type fncts.Datum.Replete
84
+ * @tsplus companion fncts.Datum.RepleteOps
85
+ */
86
+
87
+ export class Replete {
88
+ constructor(value) {
89
+ this.value = value;
90
+ this._typeId = DatumTypeId;
91
+ this._tag = "Replete"
92
+ /* DatumTag.Replete */
93
+ ;
94
+ }
95
+
96
+ get [tsplus_module_2.hashSymbol]() {
97
+ return tsplus_module_1.combineHash(tsplus_module_1.combineHash(datumHash, tsplus_module_1.hashString(this._tag)), tsplus_module_1.hashUnknown(this.value));
98
+ }
99
+
100
+ [tsplus_module_3.equalsSymbol](that) {
101
+ return isDatum_1(that) && this._tag === that._tag && tsplus_module_4.strictEquals(this.value, that.value);
102
+ }
103
+
104
+ }
105
+ /**
106
+ * @tsplus static fncts.DatumOps is
107
+ */
108
+
109
+ function isDatum_1(u) {
110
+ return tsplus_module_5.hasTypeId(u, DatumTypeId);
111
+ }
112
+ //# sourceMappingURL=definition.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"definition.mjs","mappings":";;;;;aAmGgBA,OAAO;AA5FvB,OAAO,MAAMC,WAAW,gBAAGC,MAAM,CAACC,GAAP,CAAW,aAAX,CAApB;AAoBP,OAAO,MAAMC,KAAK,GAAa,EAAxB;AAEP,MAAMC,SAAS,gBAAGC,2BAAgB,aAAhB,CAAlB;AAEA,MAAMC,WAAW,gBAAGD,4BAAiBD,SAAjB,eAA4BC;AAAA;AAAA,CAA5B,CAApB;AAEA;;;;;AAIA,OAAM,MAAOE,OAAP,CAAc;EAApBC;IACW,YAAI;IAAA;IAAJ;EAOV;;EANK,mCAAa;IACf,OAAOF,WAAP;EACD;;EACD,+BAAgBG,IAAhB,EAA6B;IAC3B,OAAOC,UAAQD,IAAR,KAAiBA,IAAI,CAACE,IAAL,KAAc,KAA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B,EAAmCN,IAAI,CAACM,KAAxC,CAAnD;EACD;;AATiB;AAYpB;;;;AAGA,mBAAwBG,CAAxB,EAAkC;EAChC,OAAOC,0BAAUD,CAAV,EAAalB,WAAb,CAAP;AACD","names":["isDatum","DatumTypeId","Symbol","for","Datum","datumHash","tsplus_module_1","initialHash","Initial","constructor","that","isDatum_1","_tag","pendingHash","Pending","Refresh","value","tsplus_module_4","Replete","u","tsplus_module_5"],"sourceRoot":"","sources":["../../../_src/data/Datum/definition.ts"],"sourcesContent":[null]}
@@ -0,0 +1,52 @@
1
+ import * as tsplus_module_1 from "@fncts/typelevel/HKT";
2
+ import { flatMap, map, replete, zip, zipWith } from "@fncts/base/data/Datum/api";
3
+ /**
4
+ * @tsplus static fncts.DatumOps Functor
5
+ * @tsplus implicit
6
+ */
7
+
8
+ export const Functor = {
9
+ map
10
+ };
11
+ /**
12
+ * @tsplus static fncts.DatumOps Semimonoidal
13
+ * @tsplus implicit
14
+ */
15
+
16
+ export const Semimonoidal = {
17
+ zip
18
+ };
19
+ /**
20
+ * @tsplus static fncts.DatumOps Apply
21
+ * @tsplus implicit
22
+ */
23
+
24
+ export const Apply = {
25
+ map,
26
+ zip,
27
+ zipWith
28
+ };
29
+ /**
30
+ * @tsplus static fncts.DatumOps Applicative
31
+ * @tsplus implicit
32
+ */
33
+
34
+ export const Applicative = {
35
+ map,
36
+ zip,
37
+ zipWith,
38
+ pure: replete
39
+ };
40
+ /**
41
+ * @tsplus static fncts.DatumOps Monad
42
+ * @tsplus implicit
43
+ */
44
+
45
+ export const Monad = {
46
+ map,
47
+ zip,
48
+ zipWith,
49
+ pure: replete,
50
+ flatMap
51
+ };
52
+ //# sourceMappingURL=instances.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"instances.mjs","mappings":";AAGA,SAASA,OAAT,EAAkBC,GAAlB,EAAuBC,OAAvB,EAAgCC,GAAhC,EAAqCC,OAArC,QAAoD,4BAApD;AAEA;;;;;AAIA,OAAO,MAAMC,OAAO,GAAmC;EAAEJ;AAAF,CAAhD;AAEP;;;;;AAIA,OAAO,MAAMK,YAAY,GAAwC;EAAEH;AAAF,CAA1D;AAEP;;;;;AAIA,OAAO,MAAMI,KAAK,GAAiC;EAAEN,GAAF;EAAOE,GAAP;EAAYC;AAAZ,CAA5C;AAEP;;;;;AAIA,OAAO,MAAMI,WAAW,GAAuC;EAAEP,GAAF;EAAOE,GAAP;EAAYC,OAAZ;EAAqBK,IAAI,EAAEP;AAA3B,CAAxD;AAEP;;;;;AAIA,OAAO,MAAMQ,KAAK,GAAiC;EAAET,GAAF;EAAOE,GAAP;EAAYC,OAAZ;EAAqBK,IAAI,EAAEP,OAA3B;EAAoCF;AAApC,CAA5C","names":["flatMap","map","replete","zip","zipWith","Functor","Semimonoidal","Apply","Applicative","pure","Monad"],"sourceRoot":"","sources":["../../../_src/data/Datum/instances.ts"],"sourcesContent":[null]}