functionalscript 0.13.0 → 0.14.0

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 (359) hide show
  1. package/{types → fs}/asn.1/module.f.d.ts +1 -1
  2. package/{types → fs}/asn.1/module.f.js +3 -3
  3. package/{types → fs}/asn.1/test.f.js +2 -2
  4. package/{types → fs}/base128/module.f.d.ts +1 -1
  5. package/{types → fs}/base128/module.f.js +1 -1
  6. package/{types → fs}/base128/test.f.js +2 -2
  7. package/{bnf → fs/bnf}/data/module.f.d.ts +1 -1
  8. package/{cas → fs/cas}/module.f.d.ts +4 -4
  9. package/{cas → fs/cas}/module.f.js +1 -1
  10. package/{types → fs}/cbase32/module.f.d.ts +2 -2
  11. package/{types → fs}/cbase32/module.f.js +1 -1
  12. package/{types → fs}/cbase32/test.f.js +1 -1
  13. package/fs/ci/bun/module.f.d.ts +2 -0
  14. package/fs/ci/bun/module.f.js +20 -0
  15. package/fs/ci/common/module.f.d.ts +43 -0
  16. package/fs/ci/common/module.f.js +32 -0
  17. package/fs/ci/config/module.f.d.ts +25 -0
  18. package/fs/ci/config/module.f.js +34 -0
  19. package/fs/ci/deno/module.f.d.ts +2 -0
  20. package/fs/ci/deno/module.f.js +13 -0
  21. package/fs/ci/module.f.js +40 -0
  22. package/fs/ci/node/module.f.d.ts +6 -0
  23. package/fs/ci/node/module.f.js +36 -0
  24. package/fs/ci/playwright/module.f.d.ts +2 -0
  25. package/fs/ci/playwright/module.f.js +23 -0
  26. package/fs/ci/rust/module.f.d.ts +2 -0
  27. package/fs/ci/rust/module.f.js +49 -0
  28. package/{crypto → fs/crypto}/secp/module.f.d.ts +1 -2
  29. package/{dev → fs/dev}/module.f.d.ts +2 -0
  30. package/{dev → fs/dev}/module.f.js +5 -0
  31. package/{dev → fs/dev}/tf/all.test.js +7 -5
  32. package/{dev → fs/dev}/tf/module.f.d.ts +1 -1
  33. package/{dev → fs/dev}/tf/module.f.js +12 -9
  34. package/fs/dev/tf/test.f.d.ts +16 -0
  35. package/fs/dev/tf/test.f.js +22 -0
  36. package/fs/dev/version/module.f.d.ts +3 -0
  37. package/{djs → fs/djs}/tokenizer/module.f.js +3 -3
  38. package/{djs/parser-new → fs/djs/tokenizer-new}/test.f.d.ts +2 -1
  39. package/fs/djs/tokenizer-new/test.f.js +894 -0
  40. package/{html → fs/html}/module.f.d.ts +14 -0
  41. package/{html → fs/html}/module.f.js +21 -2
  42. package/{js → fs/js}/tokenizer/module.f.js +34 -34
  43. package/{json → fs/json}/tokenizer/module.f.js +1 -1
  44. package/{path → fs/path}/module.f.d.ts +1 -1
  45. package/fs/sul/id/module.f.d.ts +33 -0
  46. package/fs/sul/id/module.f.js +94 -0
  47. package/fs/sul/id/test.f.d.ts +21 -0
  48. package/fs/sul/id/test.f.js +75 -0
  49. package/fs/sul/level/hash/module.f.d.ts +38 -0
  50. package/fs/sul/level/hash/module.f.js +43 -0
  51. package/fs/sul/level/hash/test.f.d.ts +14 -0
  52. package/fs/sul/level/hash/test.f.js +112 -0
  53. package/fs/sul/level/literal/module.f.d.ts +64 -0
  54. package/fs/sul/level/literal/module.f.js +88 -0
  55. package/fs/sul/level/literal/test.f.d.ts +12 -0
  56. package/fs/sul/level/literal/test.f.js +722 -0
  57. package/fs/sul/module.f.d.ts +23 -0
  58. package/fs/sul/module.f.js +46 -0
  59. package/fs/sul/test.f.d.ts +10 -0
  60. package/fs/sul/test.f.js +47 -0
  61. package/{text → fs/text}/module.f.d.ts +1 -1
  62. package/{text → fs/text}/utf16/module.f.js +8 -8
  63. package/{text → fs/text}/utf8/module.f.js +2 -2
  64. package/{types → fs/types}/bit_vec/module.f.d.ts +13 -1
  65. package/{types → fs/types}/bit_vec/module.f.js +33 -15
  66. package/{types → fs/types}/effects/module.f.d.ts +1 -0
  67. package/{types → fs/types}/effects/node/virtual/module.f.d.ts +3 -3
  68. package/{types → fs/types}/function/operator/module.f.d.ts +1 -1
  69. package/{types → fs/types}/function/operator/module.f.js +1 -1
  70. package/{types → fs/types}/list/module.f.js +1 -1
  71. package/fs/types/patricia_trie/module.f.d.ts +25 -0
  72. package/fs/types/patricia_trie/module.f.js +35 -0
  73. package/fs/types/patricia_trie/test.f.d.ts +8 -0
  74. package/fs/types/patricia_trie/test.f.js +121 -0
  75. package/fs/types/rtti/parse/module.f.d.ts +32 -0
  76. package/fs/types/rtti/parse/module.f.js +113 -0
  77. package/fs/types/rtti/parse/test.f.d.ts +104 -0
  78. package/fs/types/rtti/parse/test.f.js +316 -0
  79. package/fs/types/rtti/validate/module.f.d.ts +74 -0
  80. package/{types → fs/types}/rtti/validate/module.f.js +26 -24
  81. package/{types → fs/types}/rtti/validate/test.f.d.ts +11 -0
  82. package/{types → fs/types}/rtti/validate/test.f.js +38 -0
  83. package/{types → fs/types}/uint8array/module.f.d.ts +2 -2
  84. package/fs/website/module.f.d.ts +4 -0
  85. package/fs/website/module.f.js +15 -0
  86. package/package.json +8 -8
  87. package/ci/module.f.js +0 -183
  88. package/dev/tf/test.f.d.ts +0 -4
  89. package/dev/tf/test.f.js +0 -5
  90. package/dev/version/module.f.d.ts +0 -3
  91. package/djs/parser-new/test.f.js +0 -202
  92. package/types/rtti/validate/module.f.d.ts +0 -50
  93. package/website/module.f.d.ts +0 -4
  94. package/website/module.f.js +0 -19
  95. /package/{types → fs}/asn.1/test.f.d.ts +0 -0
  96. /package/{cas → fs/base128}/test.f.d.ts +0 -0
  97. /package/{bnf → fs/bnf}/data/module.f.js +0 -0
  98. /package/{bnf → fs/bnf}/data/test.f.d.ts +0 -0
  99. /package/{bnf → fs/bnf}/data/test.f.js +0 -0
  100. /package/{bnf → fs/bnf}/module.f.d.ts +0 -0
  101. /package/{bnf → fs/bnf}/module.f.js +0 -0
  102. /package/{bnf → fs/bnf}/test.f.d.ts +0 -0
  103. /package/{bnf → fs/bnf}/test.f.js +0 -0
  104. /package/{bnf → fs/bnf}/testlib.f.d.ts +0 -0
  105. /package/{bnf → fs/bnf}/testlib.f.js +0 -0
  106. /package/{types/base128 → fs/cas}/test.f.d.ts +0 -0
  107. /package/{cas → fs/cas}/test.f.js +0 -0
  108. /package/{types → fs}/cbase32/test.f.d.ts +0 -0
  109. /package/{ci → fs/ci}/module.f.d.ts +0 -0
  110. /package/{crypto → fs/crypto}/hmac/module.f.d.ts +0 -0
  111. /package/{crypto → fs/crypto}/hmac/module.f.js +0 -0
  112. /package/{crypto → fs/crypto}/hmac/test.f.d.ts +0 -0
  113. /package/{crypto → fs/crypto}/hmac/test.f.js +0 -0
  114. /package/{crypto → fs/crypto}/secp/module.f.js +0 -0
  115. /package/{crypto → fs/crypto}/secp/test.f.d.ts +0 -0
  116. /package/{crypto → fs/crypto}/secp/test.f.js +0 -0
  117. /package/{crypto → fs/crypto}/sha2/module.f.d.ts +0 -0
  118. /package/{crypto → fs/crypto}/sha2/module.f.js +0 -0
  119. /package/{crypto → fs/crypto}/sha2/test.f.d.ts +0 -0
  120. /package/{crypto → fs/crypto}/sha2/test.f.js +0 -0
  121. /package/{crypto → fs/crypto}/sign/module.f.d.ts +0 -0
  122. /package/{crypto → fs/crypto}/sign/module.f.js +0 -0
  123. /package/{crypto → fs/crypto}/sign/test.f.d.ts +0 -0
  124. /package/{crypto → fs/crypto}/sign/test.f.js +0 -0
  125. /package/{dev → fs/dev}/index/module.f.d.ts +0 -0
  126. /package/{dev → fs/dev}/index/module.f.js +0 -0
  127. /package/{dev → fs/dev}/test.f.d.ts +0 -0
  128. /package/{dev → fs/dev}/test.f.js +0 -0
  129. /package/{dev → fs/dev}/tf/all.test.d.ts +0 -0
  130. /package/{dev → fs/dev}/version/module.f.js +0 -0
  131. /package/{dev → fs/dev}/version/test.f.d.ts +0 -0
  132. /package/{dev → fs/dev}/version/test.f.js +0 -0
  133. /package/{djs → fs/djs}/ast/module.f.d.ts +0 -0
  134. /package/{djs → fs/djs}/ast/module.f.js +0 -0
  135. /package/{djs → fs/djs}/ast/test.f.d.ts +0 -0
  136. /package/{djs → fs/djs}/ast/test.f.js +0 -0
  137. /package/{djs → fs/djs}/examples/input.f.d.ts +0 -0
  138. /package/{djs → fs/djs}/examples/input.f.js +0 -0
  139. /package/{djs → fs/djs}/examples/m.f.d.ts +0 -0
  140. /package/{djs → fs/djs}/examples/m.f.js +0 -0
  141. /package/{djs → fs/djs}/module.f.d.ts +0 -0
  142. /package/{djs → fs/djs}/module.f.js +0 -0
  143. /package/{djs → fs/djs}/parser/module.f.d.ts +0 -0
  144. /package/{djs → fs/djs}/parser/module.f.js +0 -0
  145. /package/{djs → fs/djs}/parser/test.f.d.ts +0 -0
  146. /package/{djs → fs/djs}/parser/test.f.js +0 -0
  147. /package/{djs → fs/djs}/serializer/module.f.d.ts +0 -0
  148. /package/{djs → fs/djs}/serializer/module.f.js +0 -0
  149. /package/{djs → fs/djs}/serializer/test.f.d.ts +0 -0
  150. /package/{djs → fs/djs}/serializer/test.f.js +0 -0
  151. /package/{djs → fs/djs}/tokenizer/module.f.d.ts +0 -0
  152. /package/{djs → fs/djs}/tokenizer/test.f.d.ts +0 -0
  153. /package/{djs → fs/djs}/tokenizer/test.f.js +0 -0
  154. /package/{djs/parser-new → fs/djs/tokenizer-new}/module.f.d.ts +0 -0
  155. /package/{djs/parser-new → fs/djs/tokenizer-new}/module.f.js +0 -0
  156. /package/{djs → fs/djs}/transpiler/module.f.d.ts +0 -0
  157. /package/{djs → fs/djs}/transpiler/module.f.js +0 -0
  158. /package/{djs → fs/djs}/transpiler/test.f.d.ts +0 -0
  159. /package/{djs → fs/djs}/transpiler/test.f.js +0 -0
  160. /package/{fjs → fs/fjs}/module.d.ts +0 -0
  161. /package/{fjs → fs/fjs}/module.f.d.ts +0 -0
  162. /package/{fjs → fs/fjs}/module.f.js +0 -0
  163. /package/{fjs → fs/fjs}/module.js +0 -0
  164. /package/{fsc → fs/fsc}/bnf.f.d.ts +0 -0
  165. /package/{fsc → fs/fsc}/bnf.f.js +0 -0
  166. /package/{fsc → fs/fsc}/json.f.d.ts +0 -0
  167. /package/{fsc → fs/fsc}/json.f.js +0 -0
  168. /package/{fsc → fs/fsc}/module.f.d.ts +0 -0
  169. /package/{fsc → fs/fsc}/module.f.js +0 -0
  170. /package/{fsc → fs/fsc}/test.f.d.ts +0 -0
  171. /package/{fsc → fs/fsc}/test.f.js +0 -0
  172. /package/{fsm → fs/fsm}/module.f.d.ts +0 -0
  173. /package/{fsm → fs/fsm}/module.f.js +0 -0
  174. /package/{fsm → fs/fsm}/test.f.d.ts +0 -0
  175. /package/{fsm → fs/fsm}/test.f.js +0 -0
  176. /package/{html → fs/html}/test.f.d.ts +0 -0
  177. /package/{html → fs/html}/test.f.js +0 -0
  178. /package/{io → fs/io}/module.d.ts +0 -0
  179. /package/{io → fs/io}/module.f.d.ts +0 -0
  180. /package/{io → fs/io}/module.f.js +0 -0
  181. /package/{io → fs/io}/module.js +0 -0
  182. /package/{io → fs/io}/virtual/module.f.d.ts +0 -0
  183. /package/{io → fs/io}/virtual/module.f.js +0 -0
  184. /package/{js → fs/js}/tokenizer/module.f.d.ts +0 -0
  185. /package/{js → fs/js}/tokenizer/test.f.d.ts +0 -0
  186. /package/{js → fs/js}/tokenizer/test.f.js +0 -0
  187. /package/{json → fs/json}/module.f.d.ts +0 -0
  188. /package/{json → fs/json}/module.f.js +0 -0
  189. /package/{json → fs/json}/parser/module.f.d.ts +0 -0
  190. /package/{json → fs/json}/parser/module.f.js +0 -0
  191. /package/{json → fs/json}/parser/test.f.d.ts +0 -0
  192. /package/{json → fs/json}/parser/test.f.js +0 -0
  193. /package/{json → fs/json}/serializer/module.f.d.ts +0 -0
  194. /package/{json → fs/json}/serializer/module.f.js +0 -0
  195. /package/{json → fs/json}/serializer/test.f.d.ts +0 -0
  196. /package/{json → fs/json}/serializer/test.f.js +0 -0
  197. /package/{json → fs/json}/test.f.d.ts +0 -0
  198. /package/{json → fs/json}/test.f.js +0 -0
  199. /package/{json → fs/json}/tokenizer/module.f.d.ts +0 -0
  200. /package/{json → fs/json}/tokenizer/test.f.d.ts +0 -0
  201. /package/{json → fs/json}/tokenizer/test.f.js +0 -0
  202. /package/{path → fs/path}/module.f.js +0 -0
  203. /package/{path → fs/path}/test.f.d.ts +0 -0
  204. /package/{path → fs/path}/test.f.js +0 -0
  205. /package/{text → fs/text}/ascii/module.f.d.ts +0 -0
  206. /package/{text → fs/text}/ascii/module.f.js +0 -0
  207. /package/{text → fs/text}/ascii/test.f.d.ts +0 -0
  208. /package/{text → fs/text}/ascii/test.f.js +0 -0
  209. /package/{text → fs/text}/module.f.js +0 -0
  210. /package/{text → fs/text}/sgr/module.f.d.ts +0 -0
  211. /package/{text → fs/text}/sgr/module.f.js +0 -0
  212. /package/{text → fs/text}/sgr/test.f.d.ts +0 -0
  213. /package/{text → fs/text}/sgr/test.f.js +0 -0
  214. /package/{text → fs/text}/test.f.d.ts +0 -0
  215. /package/{text → fs/text}/test.f.js +0 -0
  216. /package/{text → fs/text}/utf16/module.f.d.ts +0 -0
  217. /package/{text → fs/text}/utf16/test.f.d.ts +0 -0
  218. /package/{text → fs/text}/utf16/test.f.js +0 -0
  219. /package/{text → fs/text}/utf8/module.f.d.ts +0 -0
  220. /package/{text → fs/text}/utf8/test.f.d.ts +0 -0
  221. /package/{text → fs/text}/utf8/test.f.js +0 -0
  222. /package/{types → fs/types}/array/module.f.d.ts +0 -0
  223. /package/{types → fs/types}/array/module.f.js +0 -0
  224. /package/{types → fs/types}/array/test.f.d.ts +0 -0
  225. /package/{types → fs/types}/array/test.f.js +0 -0
  226. /package/{types → fs/types}/bigfloat/module.f.d.ts +0 -0
  227. /package/{types → fs/types}/bigfloat/module.f.js +0 -0
  228. /package/{types → fs/types}/bigfloat/test.f.d.ts +0 -0
  229. /package/{types → fs/types}/bigfloat/test.f.js +0 -0
  230. /package/{types → fs/types}/bigint/module.f.d.ts +0 -0
  231. /package/{types → fs/types}/bigint/module.f.js +0 -0
  232. /package/{types → fs/types}/bigint/test.f.d.ts +0 -0
  233. /package/{types → fs/types}/bigint/test.f.js +0 -0
  234. /package/{types → fs/types}/bit_vec/test.f.d.ts +0 -0
  235. /package/{types → fs/types}/bit_vec/test.f.js +0 -0
  236. /package/{types → fs/types}/btree/find/module.f.d.ts +0 -0
  237. /package/{types → fs/types}/btree/find/module.f.js +0 -0
  238. /package/{types → fs/types}/btree/find/test.f.d.ts +0 -0
  239. /package/{types → fs/types}/btree/find/test.f.js +0 -0
  240. /package/{types → fs/types}/btree/module.f.d.ts +0 -0
  241. /package/{types → fs/types}/btree/module.f.js +0 -0
  242. /package/{types → fs/types}/btree/remove/module.f.d.ts +0 -0
  243. /package/{types → fs/types}/btree/remove/module.f.js +0 -0
  244. /package/{types → fs/types}/btree/remove/test.f.d.ts +0 -0
  245. /package/{types → fs/types}/btree/remove/test.f.js +0 -0
  246. /package/{types → fs/types}/btree/set/module.f.d.ts +0 -0
  247. /package/{types → fs/types}/btree/set/module.f.js +0 -0
  248. /package/{types → fs/types}/btree/set/test.f.d.ts +0 -0
  249. /package/{types → fs/types}/btree/set/test.f.js +0 -0
  250. /package/{types → fs/types}/btree/test.f.d.ts +0 -0
  251. /package/{types → fs/types}/btree/test.f.js +0 -0
  252. /package/{types → fs/types}/btree/types/module.f.d.ts +0 -0
  253. /package/{types → fs/types}/btree/types/module.f.js +0 -0
  254. /package/{types → fs/types}/byte_set/module.f.d.ts +0 -0
  255. /package/{types → fs/types}/byte_set/module.f.js +0 -0
  256. /package/{types → fs/types}/byte_set/test.f.d.ts +0 -0
  257. /package/{types → fs/types}/byte_set/test.f.js +0 -0
  258. /package/{types → fs/types}/effects/mock/module.f.d.ts +0 -0
  259. /package/{types → fs/types}/effects/mock/module.f.js +0 -0
  260. /package/{types → fs/types}/effects/module.d.ts +0 -0
  261. /package/{types → fs/types}/effects/module.f.js +0 -0
  262. /package/{types → fs/types}/effects/module.js +0 -0
  263. /package/{types → fs/types}/effects/node/module.f.d.ts +0 -0
  264. /package/{types → fs/types}/effects/node/module.f.js +0 -0
  265. /package/{types → fs/types}/effects/node/test.f.d.ts +0 -0
  266. /package/{types → fs/types}/effects/node/test.f.js +0 -0
  267. /package/{types → fs/types}/effects/node/virtual/module.f.js +0 -0
  268. /package/{types → fs/types}/function/compare/module.f.d.ts +0 -0
  269. /package/{types → fs/types}/function/compare/module.f.js +0 -0
  270. /package/{types → fs/types}/function/compare/test.f.d.ts +0 -0
  271. /package/{types → fs/types}/function/compare/test.f.js +0 -0
  272. /package/{types → fs/types}/function/module.f.d.ts +0 -0
  273. /package/{types → fs/types}/function/module.f.js +0 -0
  274. /package/{types → fs/types}/function/test.f.d.ts +0 -0
  275. /package/{types → fs/types}/function/test.f.js +0 -0
  276. /package/{types → fs/types}/list/module.f.d.ts +0 -0
  277. /package/{types → fs/types}/list/test.f.d.ts +0 -0
  278. /package/{types → fs/types}/list/test.f.js +0 -0
  279. /package/{types → fs/types}/map/module.f.d.ts +0 -0
  280. /package/{types → fs/types}/map/module.f.js +0 -0
  281. /package/{types → fs/types}/map/test.f.d.ts +0 -0
  282. /package/{types → fs/types}/map/test.f.js +0 -0
  283. /package/{types → fs/types}/monoid/module.f.d.ts +0 -0
  284. /package/{types → fs/types}/monoid/module.f.js +0 -0
  285. /package/{types → fs/types}/monoid/test.f.d.ts +0 -0
  286. /package/{types → fs/types}/monoid/test.f.js +0 -0
  287. /package/{types → fs/types}/nibble_set/module.f.d.ts +0 -0
  288. /package/{types → fs/types}/nibble_set/module.f.js +0 -0
  289. /package/{types → fs/types}/nibble_set/test.f.d.ts +0 -0
  290. /package/{types → fs/types}/nibble_set/test.f.js +0 -0
  291. /package/{types → fs/types}/nominal/module.f.d.ts +0 -0
  292. /package/{types → fs/types}/nominal/module.f.js +0 -0
  293. /package/{types → fs/types}/nominal/test.f.d.ts +0 -0
  294. /package/{types → fs/types}/nominal/test.f.js +0 -0
  295. /package/{types → fs/types}/nullable/module.f.d.ts +0 -0
  296. /package/{types → fs/types}/nullable/module.f.js +0 -0
  297. /package/{types → fs/types}/nullable/test.f.d.ts +0 -0
  298. /package/{types → fs/types}/nullable/test.f.js +0 -0
  299. /package/{types → fs/types}/number/module.f.d.ts +0 -0
  300. /package/{types → fs/types}/number/module.f.js +0 -0
  301. /package/{types → fs/types}/number/test.f.d.ts +0 -0
  302. /package/{types → fs/types}/number/test.f.js +0 -0
  303. /package/{types → fs/types}/object/module.f.d.ts +0 -0
  304. /package/{types → fs/types}/object/module.f.js +0 -0
  305. /package/{types → fs/types}/object/test.f.d.ts +0 -0
  306. /package/{types → fs/types}/object/test.f.js +0 -0
  307. /package/{types → fs/types}/option/module.f.d.ts +0 -0
  308. /package/{types → fs/types}/option/module.f.js +0 -0
  309. /package/{types → fs/types}/ordered_map/module.f.d.ts +0 -0
  310. /package/{types → fs/types}/ordered_map/module.f.js +0 -0
  311. /package/{types → fs/types}/ordered_map/test.f.d.ts +0 -0
  312. /package/{types → fs/types}/ordered_map/test.f.js +0 -0
  313. /package/{types → fs/types}/prime_field/module.f.d.ts +0 -0
  314. /package/{types → fs/types}/prime_field/module.f.js +0 -0
  315. /package/{types → fs/types}/prime_field/test.f.d.ts +0 -0
  316. /package/{types → fs/types}/prime_field/test.f.js +0 -0
  317. /package/{types → fs/types}/range/module.f.d.ts +0 -0
  318. /package/{types → fs/types}/range/module.f.js +0 -0
  319. /package/{types → fs/types}/range/test.f.d.ts +0 -0
  320. /package/{types → fs/types}/range/test.f.js +0 -0
  321. /package/{types → fs/types}/range_map/module.f.d.ts +0 -0
  322. /package/{types → fs/types}/range_map/module.f.js +0 -0
  323. /package/{types → fs/types}/range_map/test.f.d.ts +0 -0
  324. /package/{types → fs/types}/range_map/test.f.js +0 -0
  325. /package/{types → fs/types}/result/module.d.ts +0 -0
  326. /package/{types → fs/types}/result/module.f.d.ts +0 -0
  327. /package/{types → fs/types}/result/module.f.js +0 -0
  328. /package/{types → fs/types}/result/module.js +0 -0
  329. /package/{types → fs/types}/result/test.f.d.ts +0 -0
  330. /package/{types → fs/types}/result/test.f.js +0 -0
  331. /package/{types → fs/types}/rtti/module.f.d.ts +0 -0
  332. /package/{types → fs/types}/rtti/module.f.js +0 -0
  333. /package/{types → fs/types}/rtti/test.f.d.ts +0 -0
  334. /package/{types → fs/types}/rtti/test.f.js +0 -0
  335. /package/{types → fs/types}/rtti/ts/module.f.d.ts +0 -0
  336. /package/{types → fs/types}/rtti/ts/module.f.js +0 -0
  337. /package/{types → fs/types}/rtti/ts/test.f.d.ts +0 -0
  338. /package/{types → fs/types}/rtti/ts/test.f.js +0 -0
  339. /package/{types → fs/types}/sorted_list/module.f.d.ts +0 -0
  340. /package/{types → fs/types}/sorted_list/module.f.js +0 -0
  341. /package/{types → fs/types}/sorted_list/test.f.d.ts +0 -0
  342. /package/{types → fs/types}/sorted_list/test.f.js +0 -0
  343. /package/{types → fs/types}/sorted_set/module.f.d.ts +0 -0
  344. /package/{types → fs/types}/sorted_set/module.f.js +0 -0
  345. /package/{types → fs/types}/sorted_set/test.f.d.ts +0 -0
  346. /package/{types → fs/types}/sorted_set/test.f.js +0 -0
  347. /package/{types → fs/types}/string/module.f.d.ts +0 -0
  348. /package/{types → fs/types}/string/module.f.js +0 -0
  349. /package/{types → fs/types}/string/test.f.d.ts +0 -0
  350. /package/{types → fs/types}/string/test.f.js +0 -0
  351. /package/{types → fs/types}/string_set/module.f.d.ts +0 -0
  352. /package/{types → fs/types}/string_set/module.f.js +0 -0
  353. /package/{types → fs/types}/string_set/test.f.d.ts +0 -0
  354. /package/{types → fs/types}/string_set/test.f.js +0 -0
  355. /package/{types → fs/types}/ts/module.f.d.ts +0 -0
  356. /package/{types → fs/types}/ts/module.f.js +0 -0
  357. /package/{types → fs/types}/uint8array/module.f.js +0 -0
  358. /package/{types → fs/types}/uint8array/test.f.d.ts +0 -0
  359. /package/{types → fs/types}/uint8array/test.f.js +0 -0
@@ -1,50 +0,0 @@
1
- /**
2
- * Runtime validation of unknown values against RTTI schemas.
3
- *
4
- * The main entry point is `validate(rtti)`, which takes a schema `Type` and returns
5
- * a `Validate<T>` function. When called with an unknown value, it returns a `Result`
6
- * that is either `['ok', typedValue]` or `['error', message]`.
7
- *
8
- * ## Dispatch strategy
9
- *
10
- * - **`Thunk`** schemas are evaluated lazily: the thunk is called once to obtain an
11
- * `Info` descriptor, then dispatched by tag:
12
- * - `'const'` — delegates to `constValidate`
13
- * - `'unknown'` — always succeeds (any DJS value is valid)
14
- * - `Tag1` (`'array'`, `'record'`) — delegates to `containerValidate`
15
- * - `Tag0` (`'boolean'`, `'number'`, `'string'`, `'bigint'`) — uses `typeof` check
16
- * - **`Const`** schemas (primitives, tuples, structs) validate by exact equality or
17
- * recursive field/element checking.
18
- *
19
- * ## Recursion safety
20
- *
21
- * For `array` and `record` schemas, the inner item validator is instantiated lazily —
22
- * only after confirming the container is non-empty. This prevents infinite recursion
23
- * when validating recursive schemas like `const list = () => ['array', list]`.
24
- *
25
- * @module
26
- */
27
- import type { Unknown } from '../../../djs/module.f.ts';
28
- import { type Type } from '../module.f.ts';
29
- import { type Result as CommonResult } from '../../result/module.f.ts';
30
- import type { Ts } from '../ts/module.f.ts';
31
- /** Validation result: either the typed value or an error message. */
32
- export type Result<T extends Type> = CommonResult<Ts<T>, string>;
33
- /** A function that validates an unknown value against schema `T`. */
34
- export type Validate<T extends Type> = (value: Unknown) => Result<T>;
35
- /**
36
- * Creates a validator function for the given RTTI schema.
37
- *
38
- * @param rtti - A schema `Type`: a `Thunk` for tag-based schemas, or a `Const`
39
- * (primitive literal, tuple, or struct) for exact-value schemas.
40
- * @returns A `Validate<T>` function that checks an unknown value and returns
41
- * `['ok', value]` or `['error', message]`.
42
- *
43
- * @example
44
- * ```ts
45
- * const v = validate(array(number))
46
- * v([1, 2, 3]) // ['ok', [1, 2, 3]]
47
- * v(['a', 'b']) // ['error', 'unexpected value']
48
- * ```
49
- */
50
- export declare const validate: <T extends Type>(rtti: T) => Validate<T>;
@@ -1,4 +0,0 @@
1
- import { type NodeOp } from '../types/effects/node/module.f.ts';
2
- import { type Effect } from '../types/effects/module.f.ts';
3
- declare const _default: () => Effect<NodeOp, number>;
4
- export default _default;
@@ -1,19 +0,0 @@
1
- /**
2
- * Static website generation program for project landing content.
3
- *
4
- * @module
5
- */
6
- import { htmlToString } from "../html/module.f.js";
7
- import { writeFile } from "../types/effects/node/module.f.js";
8
- import { utf8 } from "../text/module.f.js";
9
- import { begin, pure } from "../types/effects/module.f.js";
10
- const html = utf8(htmlToString(['body',
11
- ['a',
12
- { href: 'https://github.com/functionalscript/functionalscript' },
13
- 'GitHub Repository'
14
- ]
15
- ]));
16
- const program = begin
17
- .step(() => writeFile('index.html', html))
18
- .step(() => pure(0));
19
- export default () => program;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes