@glutinum/cli 0.13.0 → 0.14.1

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 (319) hide show
  1. package/README.md +19 -1
  2. package/dist/Glutinum.Converter/Abbreviations.js +246 -0
  3. package/dist/Glutinum.Converter/FsharpAST.js +87 -28
  4. package/dist/Glutinum.Converter/Generate.js +55 -8
  5. package/dist/Glutinum.Converter/GlueAST.js +333 -34
  6. package/dist/Glutinum.Converter/Log.js +7 -8
  7. package/dist/Glutinum.Converter/Merge.js +683 -31
  8. package/dist/Glutinum.Converter/Packages.js +308 -0
  9. package/dist/Glutinum.Converter/Printer.js +323 -186
  10. package/dist/Glutinum.Converter/Read.js +279 -6
  11. package/dist/Glutinum.Converter/Reader/ClassDeclaration.js +13 -7
  12. package/dist/Glutinum.Converter/Reader/Declaration.js +102 -17
  13. package/dist/Glutinum.Converter/Reader/Documentation.js +168 -73
  14. package/dist/Glutinum.Converter/Reader/EnumDeclaration.js +7 -51
  15. package/dist/Glutinum.Converter/Reader/ExportAssignment.js +64 -15
  16. package/dist/Glutinum.Converter/Reader/ExportDeclaration.js +165 -0
  17. package/dist/Glutinum.Converter/Reader/FunctionDeclaration.js +30 -5
  18. package/dist/Glutinum.Converter/Reader/IndexedAccessType.js +122 -4
  19. package/dist/Glutinum.Converter/Reader/InterfaceDeclaration.js +83 -7
  20. package/dist/Glutinum.Converter/Reader/MappedTypeNode.js +8 -8
  21. package/dist/Glutinum.Converter/Reader/ModuleDeclaration.js +11 -9
  22. package/dist/Glutinum.Converter/Reader/NamedTupleMember.js +3 -2
  23. package/dist/Glutinum.Converter/Reader/Node.js +24 -10
  24. package/dist/Glutinum.Converter/Reader/Parameters.js +110 -7
  25. package/dist/Glutinum.Converter/Reader/Report.js +31 -12
  26. package/dist/Glutinum.Converter/Reader/TypeAliasDeclaration.js +4 -3
  27. package/dist/Glutinum.Converter/Reader/TypeNode.js +1524 -253
  28. package/dist/Glutinum.Converter/Reader/TypeOperatorNode.js +75 -20
  29. package/dist/Glutinum.Converter/Reader/TypeParameters.js +8 -5
  30. package/dist/Glutinum.Converter/Reader/TypeQueryNode.js +184 -50
  31. package/dist/Glutinum.Converter/Reader/TypeScriptReader.js +32 -13
  32. package/dist/Glutinum.Converter/Reader/Types.js +180 -0
  33. package/dist/Glutinum.Converter/Reader/UnionTypeNode.js +99 -43
  34. package/dist/Glutinum.Converter/Reader/Utils.js +1143 -55
  35. package/dist/Glutinum.Converter/Reader/VariableStatement.js +59 -14
  36. package/dist/Glutinum.Converter/Transform.js +8292 -1119
  37. package/dist/Glutinum.Converter/TypeScript.Extensions.js +3 -3
  38. package/dist/Glutinum.Converter/TypeScript.js +3 -3
  39. package/dist/Glutinum.Converter/Utils/Keywords.js +6 -6
  40. package/dist/Glutinum.Converter/Utils/List.js +3 -3
  41. package/dist/Glutinum.Converter/Utils/Naming.js +61 -12
  42. package/dist/Glutinum.Converter/Utils/String.js +7 -3
  43. package/dist/Program.js +230 -72
  44. package/dist/fable_modules/Fable.Promise.3.2.1/AsyncIterable.fs +89 -0
  45. package/dist/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.3.2.1}/AsyncIterable.fs.js +29 -29
  46. package/dist/fable_modules/Fable.Promise.3.2.1/Fable.Promise.fableproj +25 -0
  47. package/dist/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.3.2.1}/Promise.fs +842 -766
  48. package/dist/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.3.2.1}/Promise.fs.js +26 -12
  49. package/dist/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.3.2.1}/PromiseImpl.fs +31 -31
  50. package/dist/fable_modules/{Fable.Promise.3.2.0 → Fable.Promise.3.2.1}/PromiseImpl.fs.js +5 -5
  51. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Array.fs +235 -0
  52. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Array.fs.js +384 -0
  53. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AssemblyInfo.fs +4 -4
  54. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/Async.fs +89 -9
  55. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/Async.fs.js +13 -12
  56. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncOption.fs +50 -4
  57. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncOptionCE.fs +30 -39
  58. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncOptionCE.fs.js +10 -10
  59. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncResult.fs +52 -8
  60. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncResultCE.fs +26 -42
  61. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncResultCE.fs.js +3 -3
  62. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncResultOption.fs +17 -5
  63. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/AsyncResultOption.fs.js +26 -0
  64. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncResultOptionCE.fs +31 -33
  65. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncResultOptionCE.fs.js +3 -3
  66. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncValidation.fs +1 -6
  67. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncValidationCE.fs +10 -18
  68. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncValidationCE.fs.js +3 -3
  69. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/FsToolkit.ErrorHandling.fableproj +69 -0
  70. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/List.fs +68 -10
  71. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/List.fs.js +47 -41
  72. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Nullness.fs +81 -0
  73. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/Option.fs +133 -2
  74. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/OptionCE.fs +139 -0
  75. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/OptionCE.fs.js +48 -0
  76. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/OptionOp.fs +3 -3
  77. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResult.fs +88 -0
  78. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResult.fs.js +30 -0
  79. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResultCE.fs +200 -0
  80. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncResultCE.fs.js +18 -0
  81. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncValidation.fs +34 -0
  82. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncValidationCE.fs +244 -0
  83. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ParallelAsyncValidationCE.fs.js +18 -0
  84. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/Result.fs +87 -0
  85. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/Result.fs.js +8 -8
  86. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ResultCE.fs +8 -23
  87. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ResultCE.fs.js +5 -5
  88. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ResultOption.fs +1 -1
  89. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ResultOption.fs.js +10 -10
  90. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ResultOptionCE.fs +7 -18
  91. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ResultOptionCE.fs.js +3 -3
  92. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Seq.fs +503 -0
  93. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/Seq.fs.js +295 -0
  94. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/Validation.fs +0 -5
  95. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ValidationCE.fs +7 -13
  96. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ValidationCE.fs.js +3 -3
  97. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ValueOption.fs +1 -4
  98. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValueTaskValueOption.fs +102 -0
  99. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValueTaskValueOptionCE.fs +587 -0
  100. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/ValueTaskValueOptionOp.fs +10 -0
  101. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/obj/Debug/netstandard2.1/FsToolkit.ErrorHandling.AssemblyInfo.fs +3 -3
  102. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Release/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.fs +3 -0
  103. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0/obj/Release/netstandard2.1 → FsToolkit.ErrorHandling.5.2.0/obj/Release/net9.0}/FsToolkit.ErrorHandling.AssemblyInfo.fs +4 -4
  104. package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/obj/Release/netstandard2.0/FsToolkit.ErrorHandling.AssemblyInfo.fs +4 -4
  105. package/dist/fable_modules/FsToolkit.ErrorHandling.5.2.0/obj/Release/netstandard2.1/FsToolkit.ErrorHandling.AssemblyInfo.fs +20 -0
  106. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Array.js +192 -86
  107. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Async.js +58 -53
  108. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/AsyncBuilder.js +29 -8
  109. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/BigInt.js +71 -46
  110. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/BitConverter.js +2 -2
  111. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Boolean.js +4 -3
  112. package/dist/fable_modules/fable-library-js.5.17.2/CHANGELOG.md +348 -0
  113. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Char.js +64 -31
  114. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Choice.js +2 -2
  115. package/dist/fable_modules/fable-library-js.5.17.2/CollectionUtil.js +182 -0
  116. package/dist/fable_modules/fable-library-js.5.17.2/ConditionalWeakTable.js +21 -0
  117. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Date.js +197 -112
  118. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/DateOffset.js +46 -62
  119. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/DateOnly.js +6 -6
  120. package/dist/fable_modules/fable-library-js.5.17.2/DateOnlyTemporal.js +146 -0
  121. package/dist/fable_modules/fable-library-js.5.17.2/DateTimeFormat.js +523 -0
  122. package/dist/fable_modules/fable-library-js.5.17.2/DateTimeOffsetTemporal.js +283 -0
  123. package/dist/fable_modules/fable-library-js.5.17.2/DateTimeTemporal.js +243 -0
  124. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Decimal.js +39 -13
  125. package/dist/fable_modules/fable-library-js.5.17.2/Directory.js +11 -0
  126. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Double.js +10 -3
  127. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Encoding.js +20 -8
  128. package/dist/fable_modules/fable-library-js.5.17.2/Environment.js +3 -0
  129. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Event.js +10 -1
  130. package/dist/fable_modules/fable-library-js.5.17.2/FSharp.Collections.js +45 -0
  131. package/dist/fable_modules/fable-library-js.5.17.2/FSharp.Core.js +156 -0
  132. package/dist/fable_modules/fable-library-js.5.17.2/File.js +27 -0
  133. package/dist/fable_modules/fable-library-js.5.17.2/Global.js +29 -0
  134. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Guid.js +33 -12
  135. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Int32.js +17 -17
  136. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/List.js +170 -106
  137. package/dist/fable_modules/fable-library-js.5.17.2/Long.js +38 -0
  138. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/MailboxProcessor.js +13 -6
  139. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Map.js +65 -61
  140. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/MapUtil.js +22 -4
  141. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/MutableMap.js +28 -16
  142. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/MutableSet.js +7 -7
  143. package/dist/fable_modules/fable-library-js.5.17.2/Native.js +14 -0
  144. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Numeric.js +44 -3
  145. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Observable.js +5 -3
  146. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Option.js +11 -20
  147. package/dist/fable_modules/fable-library-js.5.17.2/Path.js +31 -0
  148. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Random.js +22 -20
  149. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Range.js +12 -12
  150. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Reflection.js +50 -22
  151. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/RegExp.js +68 -30
  152. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Result.js +6 -6
  153. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Seq.js +229 -104
  154. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Seq2.js +1 -1
  155. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Set.js +153 -113
  156. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/String.js +238 -50
  157. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/System.Collections.Generic.js +30 -14
  158. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/System.Text.js +69 -31
  159. package/dist/fable_modules/fable-library-js.5.17.2/System.js +289 -0
  160. package/dist/fable_modules/fable-library-js.5.17.2/Task.js +27 -0
  161. package/dist/fable_modules/fable-library-js.5.17.2/TaskBuilder.js +72 -0
  162. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/TimeOnly.js +6 -6
  163. package/dist/fable_modules/fable-library-js.5.17.2/TimeOnlyTemporal.js +142 -0
  164. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/TimeSpan.js +18 -15
  165. package/dist/fable_modules/fable-library-js.5.17.2/TimeSpanTemporal.js +259 -0
  166. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Types.js +14 -24
  167. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Uri.js +44 -21
  168. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Util.js +49 -12
  169. package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/lib/big.js +14 -11
  170. package/dist/fable_modules/fable-library-js.5.17.2/package.json +24 -0
  171. package/dist/fable_modules/fable-library-js.5.17.2/quotation.js +682 -0
  172. package/package.json +4 -4
  173. package/src/Glutinum.Converter/js/bootstrap.js +109 -2
  174. package/src/Glutinum.Converter/js/host.js +144 -0
  175. package/src/Glutinum.Converter/js/npm.js +137 -0
  176. package/src/Glutinum.Converter/js/resolve.js +402 -0
  177. package/dist/Glutinum.Converter/FsharpAST.js.map +0 -1
  178. package/dist/Glutinum.Converter/Generate.js.map +0 -1
  179. package/dist/Glutinum.Converter/GlueAST.js.map +0 -1
  180. package/dist/Glutinum.Converter/Log.js.map +0 -1
  181. package/dist/Glutinum.Converter/Merge.js.map +0 -1
  182. package/dist/Glutinum.Converter/Printer.js.map +0 -1
  183. package/dist/Glutinum.Converter/Read.js.map +0 -1
  184. package/dist/Glutinum.Converter/Reader/ClassDeclaration.js.map +0 -1
  185. package/dist/Glutinum.Converter/Reader/Declaration.js.map +0 -1
  186. package/dist/Glutinum.Converter/Reader/Documentation.js.map +0 -1
  187. package/dist/Glutinum.Converter/Reader/EnumDeclaration.js.map +0 -1
  188. package/dist/Glutinum.Converter/Reader/ExportAssignment.js.map +0 -1
  189. package/dist/Glutinum.Converter/Reader/FunctionDeclaration.js.map +0 -1
  190. package/dist/Glutinum.Converter/Reader/IndexedAccessType.js.map +0 -1
  191. package/dist/Glutinum.Converter/Reader/InterfaceDeclaration.js.map +0 -1
  192. package/dist/Glutinum.Converter/Reader/MappedTypeNode.js.map +0 -1
  193. package/dist/Glutinum.Converter/Reader/ModuleDeclaration.js.map +0 -1
  194. package/dist/Glutinum.Converter/Reader/NamedTupleMember.js.map +0 -1
  195. package/dist/Glutinum.Converter/Reader/Node.js.map +0 -1
  196. package/dist/Glutinum.Converter/Reader/Parameters.js.map +0 -1
  197. package/dist/Glutinum.Converter/Reader/Report.js.map +0 -1
  198. package/dist/Glutinum.Converter/Reader/TypeAliasDeclaration.js.map +0 -1
  199. package/dist/Glutinum.Converter/Reader/TypeNode.js.map +0 -1
  200. package/dist/Glutinum.Converter/Reader/TypeOperatorNode.js.map +0 -1
  201. package/dist/Glutinum.Converter/Reader/TypeParameters.js.map +0 -1
  202. package/dist/Glutinum.Converter/Reader/TypeQueryNode.js.map +0 -1
  203. package/dist/Glutinum.Converter/Reader/TypeScriptReader.js.map +0 -1
  204. package/dist/Glutinum.Converter/Reader/UnionTypeNode.js.map +0 -1
  205. package/dist/Glutinum.Converter/Reader/Utils.js.map +0 -1
  206. package/dist/Glutinum.Converter/Reader/VariableStatement.js.map +0 -1
  207. package/dist/Glutinum.Converter/Transform.js.map +0 -1
  208. package/dist/Glutinum.Converter/TypeScript.Extensions.js.map +0 -1
  209. package/dist/Glutinum.Converter/TypeScript.js.map +0 -1
  210. package/dist/Glutinum.Converter/Utils/Keywords.js.map +0 -1
  211. package/dist/Glutinum.Converter/Utils/List.js.map +0 -1
  212. package/dist/Glutinum.Converter/Utils/Naming.js.map +0 -1
  213. package/dist/Glutinum.Converter/Utils/String.js.map +0 -1
  214. package/dist/Program.js.map +0 -1
  215. package/dist/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs +0 -57
  216. package/dist/fable_modules/Fable.Promise.3.2.0/AsyncIterable.fs.js.map +0 -1
  217. package/dist/fable_modules/Fable.Promise.3.2.0/Fable.Promise.fableproj +0 -20
  218. package/dist/fable_modules/Fable.Promise.3.2.0/Promise.fs.js.map +0 -1
  219. package/dist/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js.map +0 -1
  220. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Async.fs.js.map +0 -1
  221. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncOptionCE.fs.js.map +0 -1
  222. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultCE.fs.js.map +0 -1
  223. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOption.fs.js +0 -26
  224. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOption.fs.js.map +0 -1
  225. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncResultOptionCE.fs.js.map +0 -1
  226. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/AsyncValidationCE.fs.js.map +0 -1
  227. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/FsToolkit.ErrorHandling.fableproj +0 -51
  228. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/List.fs.js.map +0 -1
  229. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionCE.fs +0 -186
  230. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionCE.fs.js +0 -18
  231. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/OptionCE.fs.js.map +0 -1
  232. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Result.fs.js.map +0 -1
  233. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultCE.fs.js.map +0 -1
  234. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOption.fs.js.map +0 -1
  235. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ResultOptionCE.fs.js.map +0 -1
  236. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Seq.fs +0 -19
  237. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Seq.fs.js +0 -31
  238. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Seq.fs.js.map +0 -1
  239. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Shims.fs +0 -22
  240. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Shims.fs.js +0 -18
  241. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/Shims.fs.js.map +0 -1
  242. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValidationCE.fs.js.map +0 -1
  243. package/dist/fable_modules/FsToolkit.ErrorHandling.4.16.0/ValueOptionCE.fs +0 -165
  244. package/dist/fable_modules/fable-library-js.4.14.0/Array.d.ts +0 -123
  245. package/dist/fable_modules/fable-library-js.4.14.0/Async.d.ts +0 -32
  246. package/dist/fable_modules/fable-library-js.4.14.0/AsyncBuilder.d.ts +0 -59
  247. package/dist/fable_modules/fable-library-js.4.14.0/BigInt.d.ts +0 -115
  248. package/dist/fable_modules/fable-library-js.4.14.0/BitConverter.d.ts +0 -27
  249. package/dist/fable_modules/fable-library-js.4.14.0/Boolean.d.ts +0 -3
  250. package/dist/fable_modules/fable-library-js.4.14.0/CHANGELOG.md +0 -37
  251. package/dist/fable_modules/fable-library-js.4.14.0/Char.d.ts +0 -65
  252. package/dist/fable_modules/fable-library-js.4.14.0/Choice.d.ts +0 -121
  253. package/dist/fable_modules/fable-library-js.4.14.0/Date.d.ts +0 -70
  254. package/dist/fable_modules/fable-library-js.4.14.0/DateOffset.d.ts +0 -63
  255. package/dist/fable_modules/fable-library-js.4.14.0/DateOnly.d.ts +0 -18
  256. package/dist/fable_modules/fable-library-js.4.14.0/Decimal.d.ts +0 -45
  257. package/dist/fable_modules/fable-library-js.4.14.0/Double.d.ts +0 -11
  258. package/dist/fable_modules/fable-library-js.4.14.0/Encoding.d.ts +0 -12
  259. package/dist/fable_modules/fable-library-js.4.14.0/Event.d.ts +0 -31
  260. package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Collections.d.ts +0 -7
  261. package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Collections.js +0 -27
  262. package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Core.CompilerServices.d.ts +0 -12
  263. package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Core.d.ts +0 -17
  264. package/dist/fable_modules/fable-library-js.4.14.0/FSharp.Core.js +0 -69
  265. package/dist/fable_modules/fable-library-js.4.14.0/Global.d.ts +0 -24
  266. package/dist/fable_modules/fable-library-js.4.14.0/Global.js +0 -8
  267. package/dist/fable_modules/fable-library-js.4.14.0/Guid.d.ts +0 -10
  268. package/dist/fable_modules/fable-library-js.4.14.0/Int32.d.ts +0 -28
  269. package/dist/fable_modules/fable-library-js.4.14.0/List.d.ts +0 -143
  270. package/dist/fable_modules/fable-library-js.4.14.0/Long.d.ts +0 -3
  271. package/dist/fable_modules/fable-library-js.4.14.0/Long.js +0 -46
  272. package/dist/fable_modules/fable-library-js.4.14.0/MailboxProcessor.d.ts +0 -25
  273. package/dist/fable_modules/fable-library-js.4.14.0/Map.d.ts +0 -178
  274. package/dist/fable_modules/fable-library-js.4.14.0/MapUtil.d.ts +0 -10
  275. package/dist/fable_modules/fable-library-js.4.14.0/MutableMap.d.ts +0 -52
  276. package/dist/fable_modules/fable-library-js.4.14.0/MutableSet.d.ts +0 -39
  277. package/dist/fable_modules/fable-library-js.4.14.0/Native.d.ts +0 -2
  278. package/dist/fable_modules/fable-library-js.4.14.0/Native.js +0 -8
  279. package/dist/fable_modules/fable-library-js.4.14.0/Numeric.d.ts +0 -19
  280. package/dist/fable_modules/fable-library-js.4.14.0/Observable.d.ts +0 -32
  281. package/dist/fable_modules/fable-library-js.4.14.0/Option.d.ts +0 -28
  282. package/dist/fable_modules/fable-library-js.4.14.0/Random.d.ts +0 -37
  283. package/dist/fable_modules/fable-library-js.4.14.0/Range.d.ts +0 -12
  284. package/dist/fable_modules/fable-library-js.4.14.0/Reflection.d.ts +0 -119
  285. package/dist/fable_modules/fable-library-js.4.14.0/RegExp.d.ts +0 -10
  286. package/dist/fable_modules/fable-library-js.4.14.0/Result.d.ts +0 -37
  287. package/dist/fable_modules/fable-library-js.4.14.0/Seq.d.ts +0 -165
  288. package/dist/fable_modules/fable-library-js.4.14.0/Seq2.d.ts +0 -18
  289. package/dist/fable_modules/fable-library-js.4.14.0/Set.d.ts +0 -190
  290. package/dist/fable_modules/fable-library-js.4.14.0/String.d.ts +0 -50
  291. package/dist/fable_modules/fable-library-js.4.14.0/System.Collections.Generic.d.ts +0 -79
  292. package/dist/fable_modules/fable-library-js.4.14.0/System.Text.d.ts +0 -38
  293. package/dist/fable_modules/fable-library-js.4.14.0/SystemException.d.ts +0 -5
  294. package/dist/fable_modules/fable-library-js.4.14.0/SystemException.js +0 -5
  295. package/dist/fable_modules/fable-library-js.4.14.0/TimeOnly.d.ts +0 -15
  296. package/dist/fable_modules/fable-library-js.4.14.0/TimeSpan.d.ts +0 -34
  297. package/dist/fable_modules/fable-library-js.4.14.0/Timer.d.ts +0 -19
  298. package/dist/fable_modules/fable-library-js.4.14.0/Types.d.ts +0 -58
  299. package/dist/fable_modules/fable-library-js.4.14.0/Unicode.13.0.0.d.ts +0 -2
  300. package/dist/fable_modules/fable-library-js.4.14.0/Uri.d.ts +0 -29
  301. package/dist/fable_modules/fable-library-js.4.14.0/Util.d.ts +0 -207
  302. package/dist/fable_modules/fable-library-js.4.14.0/lib/big.d.ts +0 -5
  303. package/dist/fable_modules/fable-library-js.4.14.0/package.json +0 -24
  304. package/dist/fable_modules/project_cracked.json +0 -1
  305. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncOptionOp.fs +0 -0
  306. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncResultOp.fs +0 -0
  307. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncResultOptionOp.fs +0 -0
  308. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/AsyncValidationOp.fs +0 -0
  309. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ResultOp.fs +0 -0
  310. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ResultOptionOp.fs +0 -0
  311. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/ValidationOp.fs +0 -0
  312. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/obj/Debug/netstandard2.1/.NETStandard,Version=v2.1.AssemblyAttributes.fs +0 -0
  313. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/obj/Release/netstandard2.0/.NETStandard,Version=v2.0.AssemblyAttributes.fs +0 -0
  314. /package/dist/fable_modules/{FsToolkit.ErrorHandling.4.16.0 → FsToolkit.ErrorHandling.5.2.0}/obj/Release/netstandard2.1/.NETStandard,Version=v2.1.AssemblyAttributes.fs +0 -0
  315. /package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/FSharp.Core.CompilerServices.js +0 -0
  316. /package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/README.md +0 -0
  317. /package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Timer.js +0 -0
  318. /package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/Unicode.13.0.0.js +0 -0
  319. /package/dist/fable_modules/{fable-library-js.4.14.0 → fable-library-js.5.17.2}/big.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./Seq.fs","./Result.fs"],"names":["loop","xs","ts","matchValue","input"],"mappings":";;;;;AAMgBA;;;kBAAKC,iBAAGC;AACNC,\u002BBAAA,QAAYF;AAAZ,gBAAA,AAAAE;AAKF,uBAAA,uBACI,QAASD;;;ACwCpBE,gCD5COD;AC8CF,oBAAA,AAAAC;AAEO,2BAAA,uBAAA,AAAAA;;;\u002BBD/C0B,KAASH;6BAAK,KC8C3C,AAAAG,mBD9CgDF;AAAzB;;;;;;AAQjC,WAAA,AAAAF,KAAM,MAAUC,KAAI","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1,22 +0,0 @@
1
- namespace FsToolkit.ErrorHandling
2
-
3
-
4
- #if NETSTANDARD2_0
5
- open System
6
-
7
- /// InlineIfLambda doesn't exist until FSharp.Core 6.0.
8
- /// Since we're targeting netstandard2.0 with FSharp.Core 4.7 to keep this libraries' reach
9
- /// we need to create a fake attribute that does nothing instead of having ifdefs in each function argument
10
- [<AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)>]
11
- [<Sealed>]
12
- type internal InlineIfLambdaAttribute() =
13
- inherit System.Attribute()
14
-
15
- open System.Runtime.CompilerServices
16
-
17
- // Let all the child libraries have access to this shim as well
18
- [<assembly: InternalsVisibleTo("FsToolkit.ErrorHandling.TaskResult")>]
19
- [<assembly: InternalsVisibleTo("FsToolkit.ErrorHandling.JobResult")>]
20
- [<assembly: InternalsVisibleTo("FsToolkit.ErrorHandling.AsyncSeq")>]
21
- do ()
22
- #endif
@@ -1,18 +0,0 @@
1
- import { Attribute } from "../fable-library-js.4.14.0/Types.js";
2
- import { class_type } from "../fable-library-js.4.14.0/Reflection.js";
3
-
4
- export class InlineIfLambdaAttribute extends Attribute {
5
- constructor() {
6
- super();
7
- }
8
- }
9
-
10
- export function InlineIfLambdaAttribute_$reflection() {
11
- return class_type("FsToolkit.ErrorHandling.InlineIfLambdaAttribute", void 0, InlineIfLambdaAttribute, class_type("System.Attribute"));
12
- }
13
-
14
- export function InlineIfLambdaAttribute_$ctor() {
15
- return new InlineIfLambdaAttribute();
16
- }
17
-
18
- //# sourceMappingURL=Shims.fs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1 +0,0 @@
1
- {"version":3,"sources":["./ValidationCE.fs"],"names":["\u0060\u0060.ctor\u0060\u0060"],"mappings":";;;;;;;;;;;;;;;uCA0HqB,AAAAA","file":null,"sourcesContent":null,"sourceRoot":null}
@@ -1,165 +0,0 @@
1
- namespace FsToolkit.ErrorHandling
2
-
3
-
4
- #if !FABLE_COMPILER
5
- [<AutoOpen>]
6
- module ValueOptionCE =
7
- open System
8
-
9
- type ValueOptionBuilder() =
10
- member inline _.Return(x: 'value) : 'value voption = ValueSome x
11
-
12
- member inline _.ReturnFrom(m: 'value voption) : 'value voption = m
13
-
14
- member inline _.Bind
15
- (
16
- input: 'input voption,
17
- [<InlineIfLambda>] binder: 'input -> 'output voption
18
- ) : 'output voption =
19
- ValueOption.bind binder input
20
-
21
- // Could not get it to work solely with Source. In loop cases it would potentially match the #seq overload and ask for type annotation
22
- member inline this.Bind
23
- (
24
- input: 'input when 'input: null,
25
- [<InlineIfLambda>] binder: 'input -> 'output voption
26
- ) : 'output voption =
27
- this.Bind(ValueOption.ofObj input, binder)
28
-
29
- member inline this.Zero() : unit voption = this.Return()
30
-
31
- member inline _.Combine
32
- (
33
- input: 'input voption,
34
- [<InlineIfLambda>] binder: 'input -> 'output voption
35
- ) : 'output voption =
36
- ValueOption.bind binder input
37
-
38
- member inline this.Combine(input: unit voption, output: 'output voption) : 'output voption =
39
- this.Bind(input, (fun () -> output))
40
-
41
- member inline _.Delay([<InlineIfLambda>] f: unit -> 'a) = f
42
-
43
- member inline _.Run([<InlineIfLambda>] f: unit -> 'v) = f ()
44
-
45
- member inline this.TryWith([<InlineIfLambda>] m, [<InlineIfLambda>] handler) =
46
- try
47
- this.Run m
48
- with e ->
49
- handler e
50
-
51
- member inline this.TryFinally([<InlineIfLambda>] m, [<InlineIfLambda>] compensation) =
52
- try
53
- this.Run m
54
- finally
55
- compensation ()
56
-
57
- member inline this.Using
58
- (
59
- resource: 'T :> IDisposable,
60
- [<InlineIfLambda>] binder
61
- ) : _ voption =
62
- this.TryFinally(
63
- (fun () -> binder resource),
64
- (fun () ->
65
- if not (obj.ReferenceEquals(resource, null)) then
66
- resource.Dispose()
67
- )
68
- )
69
-
70
- member inline this.While
71
- (
72
- [<InlineIfLambda>] guard: unit -> bool,
73
- [<InlineIfLambda>] generator: unit -> _ voption
74
- ) : _ voption =
75
-
76
- let mutable doContinue = true
77
- let mutable result = ValueSome()
78
-
79
- while doContinue
80
- && guard () do
81
- match generator () with
82
- | ValueSome() -> ()
83
- | ValueNone ->
84
- doContinue <- false
85
- result <- ValueNone
86
-
87
- result
88
-
89
- member inline this.For
90
- (
91
- sequence: #seq<'T>,
92
- [<InlineIfLambda>] binder: 'T -> _ voption
93
- ) : _ voption =
94
- this.Using(
95
- sequence.GetEnumerator(),
96
- fun enum -> this.While(enum.MoveNext, this.Delay(fun () -> binder enum.Current))
97
- )
98
-
99
- member inline _.BindReturn(x, [<InlineIfLambda>] f) = ValueOption.map f x
100
-
101
- member inline _.BindReturn(x, [<InlineIfLambda>] f) =
102
- x
103
- |> ValueOption.ofObj
104
- |> ValueOption.map f
105
-
106
- member inline _.MergeSources(option1, option2) = ValueOption.zip option1 option2
107
-
108
- /// <summary>
109
- /// Method lets us transform data types into our internal representation. This is the identity method to recognize the self type.
110
- ///
111
- /// See https://stackoverflow.com/questions/35286541/why-would-you-use-builder-source-in-a-custom-computation-expression-builder
112
- /// </summary>
113
- member inline _.Source(result: _ voption) : _ voption = result
114
-
115
-
116
- // /// <summary>
117
- // /// Method lets us transform data types into our internal representation.
118
- // /// </summary>
119
- member inline _.Source(vopt: _ option) : _ voption =
120
- vopt
121
- |> ValueOption.ofOption
122
-
123
- let voption = ValueOptionBuilder()
124
-
125
- [<AutoOpen>]
126
- module ValueOptionExtensionsLower =
127
- type ValueOptionBuilder with
128
-
129
- member inline _.Source(nullableObj: 'a when 'a: null) =
130
- nullableObj
131
- |> ValueOption.ofObj
132
-
133
- member inline _.Source(m: string) =
134
- m
135
- |> ValueOption.ofObj
136
-
137
- member inline _.MergeSources(nullableObj1, option2) =
138
- ValueOption.zip (ValueOption.ofObj nullableObj1) option2
139
-
140
-
141
- member inline _.MergeSources(option1, nullableObj2) =
142
- ValueOption.zip (option1) (ValueOption.ofObj nullableObj2)
143
-
144
-
145
- member inline _.MergeSources(nullableObj1, nullableObj2) =
146
- ValueOption.zip (ValueOption.ofObj nullableObj1) (ValueOption.ofObj nullableObj2)
147
-
148
- [<AutoOpen>]
149
- module ValueOptionExtensions =
150
- open System
151
-
152
- type ValueOptionBuilder with
153
-
154
- /// <summary>
155
- /// Needed to allow `for..in` and `for..do` functionality
156
- /// </summary>
157
- member inline _.Source(s: #seq<_>) = s
158
-
159
- // /// <summary>
160
- // /// Method lets us transform data types into our internal representation.
161
- // /// </summary>
162
- member inline _.Source(nullable: Nullable<'a>) : 'a voption =
163
- nullable
164
- |> ValueOption.ofNullable
165
- #endif
@@ -1,123 +0,0 @@
1
- import { int32 } from "./Int32.js";
2
- import { Option } from "./Option.js";
3
- import { IComparer, IEqualityComparer } from "./Util.js";
4
- import { FSharpRef } from "./Types.js";
5
- export declare function append<T>(array1: T[], array2: T[], cons?: any): T[];
6
- export declare function filter<T>(predicate: ((arg0: T) => boolean), array: T[]): T[];
7
- export declare function fill<T>(target: T[], targetIndex: int32, count: int32, value: T): T[];
8
- export declare function getSubArray<T>(array: T[], start: int32, count: int32): T[];
9
- export declare function last<T>(array: T[]): T;
10
- export declare function tryLast<T>(array: T[]): Option<T>;
11
- export declare function mapIndexed<T, U>(f: ((arg0: int32, arg1: T) => U), source: T[], cons?: any): U[];
12
- export declare function map<T, U>(f: ((arg0: T) => U), source: T[], cons?: any): U[];
13
- export declare function mapIndexed2<T1, T2, U>(f: ((arg0: int32, arg1: T1, arg2: T2) => U), source1: T1[], source2: T2[], cons?: any): U[];
14
- export declare function map2<T1, T2, U>(f: ((arg0: T1, arg1: T2) => U), source1: T1[], source2: T2[], cons?: any): U[];
15
- export declare function mapIndexed3<T1, T2, T3, U>(f: ((arg0: int32, arg1: T1, arg2: T2, arg3: T3) => U), source1: T1[], source2: T2[], source3: T3[], cons?: any): U[];
16
- export declare function map3<T1, T2, T3, U>(f: ((arg0: T1, arg1: T2, arg2: T3) => U), source1: T1[], source2: T2[], source3: T3[], cons?: any): U[];
17
- export declare function mapFold<T, State, Result>(mapping: ((arg0: State, arg1: T) => [Result, State]), state: State, array: T[], cons?: any): [Result[], State];
18
- export declare function mapFoldBack<T, State, Result>(mapping: ((arg0: T, arg1: State) => [Result, State]), array: T[], state: State, cons?: any): [Result[], State];
19
- export declare function indexed<T>(source: T[]): [int32, T][];
20
- export declare function truncate<T>(count: int32, array: T[]): T[];
21
- export declare function concat<T>(arrays: Iterable<T[]>, cons?: any): T[];
22
- export declare function collect<T, U>(mapping: ((arg0: T) => U[]), array: T[], cons?: any): U[];
23
- export declare function where<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): $a[];
24
- export declare function indexOf<T>(array: T[], item_1: T, start: Option<int32>, count: Option<int32>, eq: IEqualityComparer<T>): int32;
25
- export declare function contains<T>(value: T, array: T[], eq: IEqualityComparer<T>): boolean;
26
- export declare function empty<$a>(cons: any): $a[];
27
- export declare function singleton<T>(value: T, cons?: any): T[];
28
- export declare function initialize<T>(count: int32, initializer: ((arg0: int32) => T), cons?: any): T[];
29
- export declare function pairwise<T>(array: T[]): [T, T][];
30
- export declare function replicate<T>(count: int32, initial: T, cons?: any): T[];
31
- export declare function copy<T>(array: T[]): T[];
32
- export declare function copyTo<T>(source: T[], sourceIndex: int32, target: T[], targetIndex: int32, count: int32): void;
33
- export declare function reverse<T>(array: T[]): T[];
34
- export declare function scan<T, State>(folder: ((arg0: State, arg1: T) => State), state: State, array: T[], cons?: any): State[];
35
- export declare function scanBack<T, State>(folder: ((arg0: T, arg1: State) => State), array: T[], state: State, cons?: any): State[];
36
- export declare function skip<T>(count: int32, array: T[], cons?: any): T[];
37
- export declare function skipWhile<T>(predicate: ((arg0: T) => boolean), array: T[], cons?: any): T[];
38
- export declare function take<T>(count: int32, array: T[], cons?: any): T[];
39
- export declare function takeWhile<T>(predicate: ((arg0: T) => boolean), array: T[], cons?: any): T[];
40
- export declare function addInPlace<T>(x: T, array: T[]): void;
41
- export declare function addRangeInPlace<T>(range: Iterable<T>, array: T[]): void;
42
- export declare function insertRangeInPlace<T>(index: int32, range: Iterable<T>, array: T[]): void;
43
- export declare function removeInPlace<T>(item_1: T, array: T[], eq: IEqualityComparer<T>): boolean;
44
- export declare function removeAllInPlace<T>(predicate: ((arg0: T) => boolean), array: T[]): int32;
45
- export declare function partition<T>(f: ((arg0: T) => boolean), source: T[], cons?: any): [T[], T[]];
46
- export declare function find<T>(predicate: ((arg0: T) => boolean), array: T[]): T;
47
- export declare function tryFind<T>(predicate: ((arg0: T) => boolean), array: T[]): Option<T>;
48
- export declare function findIndex<T>(predicate: ((arg0: T) => boolean), array: T[]): int32;
49
- export declare function tryFindIndex<T>(predicate: ((arg0: T) => boolean), array: T[]): Option<int32>;
50
- export declare function pick<$a, $b>(chooser: ((arg0: $a) => Option<$b>), array: $a[]): $b;
51
- export declare function tryPick<$a, $b>(chooser: ((arg0: $a) => Option<$b>), array: $a[]): Option<$b>;
52
- export declare function findBack<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): $a;
53
- export declare function tryFindBack<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): Option<$a>;
54
- export declare function findLastIndex<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): int32;
55
- export declare function findIndexBack<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): int32;
56
- export declare function tryFindIndexBack<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): Option<int32>;
57
- export declare function choose<T, U>(chooser: ((arg0: T) => Option<U>), array: T[], cons?: any): U[];
58
- export declare function foldIndexed<T, State>(folder: ((arg0: int32, arg1: State, arg2: T) => State), state: State, array: T[]): State;
59
- export declare function fold<T, State>(folder: ((arg0: State, arg1: T) => State), state: State, array: T[]): State;
60
- export declare function iterate<T>(action: ((arg0: T) => void), array: T[]): void;
61
- export declare function iterateIndexed<T>(action: ((arg0: int32, arg1: T) => void), array: T[]): void;
62
- export declare function iterate2<T1, T2>(action: ((arg0: T1, arg1: T2) => void), array1: T1[], array2: T2[]): void;
63
- export declare function iterateIndexed2<T1, T2>(action: ((arg0: int32, arg1: T1, arg2: T2) => void), array1: T1[], array2: T2[]): void;
64
- export declare function isEmpty<T>(array: T[]): boolean;
65
- export declare function forAll<T>(predicate: ((arg0: T) => boolean), array: T[]): boolean;
66
- export declare function permute<T>(f: ((arg0: int32) => int32), array: T[]): T[];
67
- export declare function setSlice<T>(target: T[], lower: Option<int32>, upper: Option<int32>, source: T[]): void;
68
- export declare function sortInPlaceBy<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): void;
69
- export declare function sortInPlace<T>(xs: T[], comparer: IComparer<T>): void;
70
- export declare function sort<T>(xs: T[], comparer: IComparer<T>): T[];
71
- export declare function sortBy<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): a[];
72
- export declare function sortDescending<T>(xs: T[], comparer: IComparer<T>): T[];
73
- export declare function sortByDescending<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): a[];
74
- export declare function sortWith<T>(comparer: ((arg0: T, arg1: T) => int32), xs: T[]): T[];
75
- export declare function allPairs<T1, T2>(xs: T1[], ys: T2[]): [T1, T2][];
76
- export declare function unfold<T, State>(generator: ((arg0: State) => Option<[T, State]>), state: State): T[];
77
- export declare function unzip<$a, $b>(array: [$a, $b][]): [$a[], $b[]];
78
- export declare function unzip3<$a, $b, $c>(array: [$a, $b, $c][]): [$a[], $b[], $c[]];
79
- export declare function zip<T, U>(array1: T[], array2: U[]): [T, U][];
80
- export declare function zip3<T, U, V>(array1: T[], array2: U[], array3: V[]): [T, U, V][];
81
- export declare function chunkBySize<T>(chunkSize: int32, array: T[]): T[][];
82
- export declare function splitAt<T>(index: int32, array: T[]): [T[], T[]];
83
- export declare function compareWith<T>(comparer: ((arg0: T, arg1: T) => int32), source1: T[], source2: T[]): int32;
84
- export declare function compareTo<T>(comparer: ((arg0: T, arg1: T) => int32), source1: T[], source2: T[]): int32;
85
- export declare function equalsWith<T>(equals: ((arg0: T, arg1: T) => boolean), array1: T[], array2: T[]): boolean;
86
- export declare function exactlyOne<T>(array: T[]): T;
87
- export declare function tryExactlyOne<T>(array: T[]): Option<T>;
88
- export declare function head<T>(array: T[]): T;
89
- export declare function tryHead<T>(array: T[]): Option<T>;
90
- export declare function tail<T>(array: T[]): T[];
91
- export declare function item<T>(index: int32, array: T[]): T;
92
- export declare function setItem<T>(array: T[], index: int32, value: T): void;
93
- export declare function tryItem<T>(index: int32, array: T[]): Option<T>;
94
- export declare function foldBackIndexed<T, State>(folder: ((arg0: int32, arg1: T, arg2: State) => State), array: T[], state: State): State;
95
- export declare function foldBack<T, State>(folder: ((arg0: T, arg1: State) => State), array: T[], state: State): State;
96
- export declare function foldIndexed2<$a, $b, $c>(folder: ((arg0: int32, arg1: $a, arg2: $b, arg3: $c) => $a), state: $a, array1: $b[], array2: $c[]): $a;
97
- export declare function fold2<T1, T2, State>(folder: ((arg0: State, arg1: T1, arg2: T2) => State), state: State, array1: T1[], array2: T2[]): State;
98
- export declare function foldBackIndexed2<T1, T2, State>(folder: ((arg0: int32, arg1: T1, arg2: T2, arg3: State) => State), array1: T1[], array2: T2[], state: State): State;
99
- export declare function foldBack2<T1, T2, State>(f: ((arg0: T1, arg1: T2, arg2: State) => State), array1: T1[], array2: T2[], state: State): State;
100
- export declare function reduce<T>(reduction: ((arg0: T, arg1: T) => T), array: T[]): T;
101
- export declare function reduceBack<T>(reduction: ((arg0: T, arg1: T) => T), array: T[]): T;
102
- export declare function forAll2<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), array1: $a[], array2: $b[]): boolean;
103
- export declare function existsOffset<T>(predicate_mut: ((arg0: T) => boolean), array_mut: T[], index_mut: int32): boolean;
104
- export declare function exists<$a>(predicate: ((arg0: $a) => boolean), array: $a[]): boolean;
105
- export declare function existsOffset2<$a, $b>(predicate_mut: ((arg0: $a, arg1: $b) => boolean), array1_mut: $a[], array2_mut: $b[], index_mut: int32): boolean;
106
- export declare function exists2<$a, $b>(predicate: ((arg0: $a, arg1: $b) => boolean), array1: $a[], array2: $b[]): boolean;
107
- export declare function sum<T>(array: T[], adder: any): T;
108
- export declare function sumBy<T, T2>(projection: ((arg0: T) => T2), array: T[], adder: any): T2;
109
- export declare function maxBy<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): a;
110
- export declare function max<a>(xs: a[], comparer: IComparer<a>): a;
111
- export declare function minBy<a, b>(projection: ((arg0: a) => b), xs: a[], comparer: IComparer<b>): a;
112
- export declare function min<a>(xs: a[], comparer: IComparer<a>): a;
113
- export declare function average<T>(array: T[], averager: any): T;
114
- export declare function averageBy<T, T2>(projection: ((arg0: T) => T2), array: T[], averager: any): T2;
115
- export declare function windowed<T>(windowSize: int32, source: T[]): T[][];
116
- export declare function splitInto<T>(chunks: int32, array: T[]): T[][];
117
- export declare function transpose<T>(arrays: Iterable<T[]>, cons?: any): T[][];
118
- export declare function insertAt<T>(index: int32, y: T, xs: T[], cons?: any): T[];
119
- export declare function insertManyAt<T>(index: int32, ys: Iterable<T>, xs: T[], cons?: any): T[];
120
- export declare function removeAt<T>(index: int32, xs: T[]): T[];
121
- export declare function removeManyAt<T>(index: int32, count: int32, xs: T[]): T[];
122
- export declare function updateAt<T>(index: int32, y: T, xs: T[], cons?: any): T[];
123
- export declare function resize<T>(xs: FSharpRef<T[]>, newSize: int32, zero?: Option<T>, cons?: any): void;
@@ -1,32 +0,0 @@
1
- import { Continuation, Continuations } from "./AsyncBuilder.js";
2
- import { CancellationToken } from "./AsyncBuilder.js";
3
- import { IAsync } from "./AsyncBuilder.js";
4
- import { IAsyncContext } from "./AsyncBuilder.js";
5
- import { FSharpChoice$2_$union } from "./Choice.js";
6
- export declare class Async<_T> {
7
- }
8
- export declare function makeAsync<T>(body: IAsync<T>): IAsync<T>;
9
- export declare function invoke<T>(computation: IAsync<T>, ctx: IAsyncContext<T>): void;
10
- export declare function callThenInvoke<T, U>(ctx: IAsyncContext<T>, result1: U, part2: (x: U) => IAsync<T>): void;
11
- export declare function bind<T, U>(ctx: IAsyncContext<T>, part1: IAsync<U>, part2: (x: U) => IAsync<T>): void;
12
- export declare function createCancellationToken(arg?: boolean | number): CancellationToken;
13
- export declare function cancel(token: CancellationToken): void;
14
- export declare function cancelAfter(token: CancellationToken, ms: number): void;
15
- export declare function isCancellationRequested(token: CancellationToken): boolean;
16
- export declare function throwIfCancellationRequested(token: CancellationToken): void;
17
- export declare function startChild<T>(computation: IAsync<T>, ms?: number): IAsync<IAsync<T>>;
18
- export declare function awaitPromise<T>(p: Promise<T>): (ctx: IAsyncContext<T>) => void;
19
- export declare function cancellationToken(): (ctx: IAsyncContext<CancellationToken>) => void;
20
- export declare const defaultCancellationToken: CancellationToken;
21
- export declare function catchAsync<T>(work: IAsync<T>): (ctx: IAsyncContext<FSharpChoice$2_$union<T, Error>>) => void;
22
- export declare function fromContinuations<T>(f: (conts: Continuations<T>) => void): (ctx: IAsyncContext<T>) => void;
23
- export declare function ignore<T>(computation: IAsync<T>): (ctx: IAsyncContext<undefined>) => void;
24
- export declare function parallel<T>(computations: Iterable<IAsync<T>>): (ctx: IAsyncContext<Awaited<T>[]>) => void;
25
- export declare function sequential<T>(computations: Iterable<IAsync<T>>): (ctx: IAsyncContext<T[]>) => void;
26
- export declare function sleep(millisecondsDueTime: number): (ctx: IAsyncContext<void>) => void;
27
- export declare function runSynchronously(): never;
28
- export declare function start<T>(computation: IAsync<T>, cancellationToken?: CancellationToken): void;
29
- export declare function startImmediate<T>(computation: IAsync<T>, cancellationToken?: CancellationToken): void;
30
- export declare function startWithContinuations<T>(computation: IAsync<T>, continuation?: Continuation<T> | CancellationToken, exceptionContinuation?: Continuation<any>, cancellationContinuation?: Continuation<any>, cancelToken?: CancellationToken): void;
31
- export declare function startAsPromise<T>(computation: IAsync<T>, cancellationToken?: CancellationToken): Promise<T>;
32
- export default Async;
@@ -1,59 +0,0 @@
1
- import { IDisposable } from "./Util.js";
2
- export interface AsyncReplyChannel<Reply> {
3
- reply(value: Reply): void;
4
- }
5
- export type Continuation<T> = (x: T) => void;
6
- export type Continuations<T> = [
7
- Continuation<T>,
8
- Continuation<Error>,
9
- Continuation<OperationCanceledError>
10
- ];
11
- export declare class CancellationToken implements IDisposable {
12
- private _id;
13
- private _cancelled;
14
- private _listeners;
15
- constructor(cancelled?: boolean);
16
- get isCancelled(): boolean;
17
- cancel(): void;
18
- addListener(f: () => void): number;
19
- removeListener(id: number): boolean;
20
- register(f: (state?: any) => void, state?: any): {
21
- Dispose(): void;
22
- };
23
- Dispose(): void;
24
- }
25
- export declare class OperationCanceledError extends Error {
26
- constructor();
27
- }
28
- export declare class Trampoline {
29
- static get maxTrampolineCallCount(): number;
30
- private callCount;
31
- constructor();
32
- incrementAndCheck(): boolean;
33
- hijack(f: () => void): void;
34
- }
35
- export interface IAsyncContext<T> {
36
- onSuccess: Continuation<T>;
37
- onError: Continuation<Error>;
38
- onCancel: Continuation<OperationCanceledError>;
39
- cancelToken: CancellationToken;
40
- trampoline: Trampoline;
41
- }
42
- export type IAsync<T> = (x: IAsyncContext<T>) => void;
43
- export declare function protectedCont<T>(f: IAsync<T>): (ctx: IAsyncContext<T>) => void;
44
- export declare function protectedBind<T, U>(computation: IAsync<T>, binder: (x: T) => IAsync<U>): (ctx: IAsyncContext<U>) => void;
45
- export declare function protectedReturn<T>(value: T): (ctx: IAsyncContext<T>) => void;
46
- export declare class AsyncBuilder {
47
- Bind<T, U>(computation: IAsync<T>, binder: (x: T) => IAsync<U>): (ctx: IAsyncContext<U>) => void;
48
- Combine<T>(computation1: IAsync<void>, computation2: IAsync<T>): (ctx: IAsyncContext<T>) => void;
49
- Delay<T>(generator: () => IAsync<T>): (ctx: IAsyncContext<T>) => void;
50
- For<T>(sequence: Iterable<T>, body: (x: T) => IAsync<void>): IAsync<void>;
51
- Return<T>(value?: T): (ctx: IAsyncContext<T | undefined>) => void;
52
- ReturnFrom<T>(computation: IAsync<T>): IAsync<T>;
53
- TryFinally<T>(computation: IAsync<T>, compensation: () => void): (ctx: IAsyncContext<T>) => void;
54
- TryWith<T>(computation: IAsync<T>, catchHandler: (e: any) => IAsync<T>): (ctx: IAsyncContext<T>) => void;
55
- Using<T extends IDisposable, U>(resource: T, binder: (x: T) => IAsync<U>): (ctx: IAsyncContext<U>) => void;
56
- While(guard: () => boolean, computation: IAsync<void>): IAsync<void>;
57
- Zero(): (ctx: IAsyncContext<void>) => void;
58
- }
59
- export declare const singleton: AsyncBuilder;
@@ -1,115 +0,0 @@
1
- import { FSharpRef } from "./Types.js";
2
- import { int8, uint8, int16, uint16, int32, uint32, float16, float32, float64 } from "./Int32.js";
3
- import { decimal } from "./Decimal.js";
4
- export type int64 = bigint;
5
- export type uint64 = bigint;
6
- export type int128 = bigint;
7
- export type uint128 = bigint;
8
- export type nativeint = bigint;
9
- export type unativeint = bigint;
10
- export declare function isBigInt(x: any): boolean;
11
- export declare function hash(x: bigint): int32;
12
- export declare function equals(x: bigint, y: bigint): boolean;
13
- export declare function compare(x: bigint, y: bigint): int32;
14
- export declare function abs(x: bigint): bigint;
15
- export declare function sign(x: bigint): int32;
16
- export declare function max(x: bigint, y: bigint): bigint;
17
- export declare function min(x: bigint, y: bigint): bigint;
18
- export declare function maxMagnitude(x: bigint, y: bigint): bigint;
19
- export declare function minMagnitude(x: bigint, y: bigint): bigint;
20
- export declare function clamp(x: bigint, min: bigint, max: bigint): bigint;
21
- export declare function add(x: bigint, y: bigint): bigint;
22
- export declare function subtract(x: bigint, y: bigint): bigint;
23
- export declare function multiply(x: bigint, y: bigint): bigint;
24
- export declare function divide(x: bigint, y: bigint): bigint;
25
- export declare function remainder(x: bigint, y: bigint): bigint;
26
- export declare function negate(x: bigint): bigint;
27
- export declare function op_UnaryNegation(x: bigint): bigint;
28
- export declare function op_LogicalNot(x: bigint): bigint;
29
- export declare function op_UnaryPlus(x: bigint): bigint;
30
- export declare function op_Addition(x: bigint, y: bigint): bigint;
31
- export declare function op_Subtraction(x: bigint, y: bigint): bigint;
32
- export declare function op_Multiply(x: bigint, y: bigint): bigint;
33
- export declare function op_Division(x: bigint, y: bigint): bigint;
34
- export declare function op_Modulus(x: bigint, y: bigint): bigint;
35
- export declare function op_RightShift(x: bigint, n: int32): bigint;
36
- export declare function op_LeftShift(x: bigint, n: int32): bigint;
37
- export declare function op_BitwiseAnd(x: bigint, y: bigint): bigint;
38
- export declare function op_BitwiseOr(x: bigint, y: bigint): bigint;
39
- export declare function op_ExclusiveOr(x: bigint, y: bigint): bigint;
40
- export declare function op_LessThan(x: bigint, y: bigint): boolean;
41
- export declare function op_LessThanOrEqual(x: bigint, y: bigint): boolean;
42
- export declare function op_GreaterThan(x: bigint, y: bigint): boolean;
43
- export declare function op_GreaterThanOrEqual(x: bigint, y: bigint): boolean;
44
- export declare function op_Equality(x: bigint, y: bigint): boolean;
45
- export declare function op_Inequality(x: bigint, y: bigint): boolean;
46
- export declare function get_Zero(): bigint;
47
- export declare function get_One(): bigint;
48
- export declare function get_MinusOne(): bigint;
49
- export declare function get_IsZero(x: bigint): boolean;
50
- export declare function get_IsOne(x: bigint): boolean;
51
- export declare function get_IsEven(x: bigint): boolean;
52
- export declare function get_IsPowerOfTwo(x: bigint): boolean;
53
- export declare function get_Sign(x: bigint): int32;
54
- export declare function isNegative(x: bigint): boolean;
55
- export declare function isPositive(x: bigint): boolean;
56
- export declare function isEvenInteger(x: bigint): boolean;
57
- export declare function isOddInteger(x: bigint): boolean;
58
- export declare function isPow2(x: bigint): boolean;
59
- export declare function fromZero(): bigint;
60
- export declare function fromOne(): bigint;
61
- export declare function fromInt8(n: int8): bigint;
62
- export declare function fromUInt8(n: uint8): bigint;
63
- export declare function fromInt16(n: int16): bigint;
64
- export declare function fromUInt16(n: uint16): bigint;
65
- export declare function fromInt32(n: int32): bigint;
66
- export declare function fromUInt32(n: uint32): bigint;
67
- export declare function fromInt64(n: int64): bigint;
68
- export declare function fromUInt64(n: uint64): bigint;
69
- export declare function fromInt128(n: int128): bigint;
70
- export declare function fromUInt128(n: uint128): bigint;
71
- export declare function fromNativeInt(n: nativeint): bigint;
72
- export declare function fromUNativeInt(n: unativeint): bigint;
73
- export declare function fromFloat16(n: float16): bigint;
74
- export declare function fromFloat32(n: float32): bigint;
75
- export declare function fromFloat64(n: float64): bigint;
76
- export declare function fromDecimal(d: decimal): bigint;
77
- export declare function fromBigInt(x: bigint): bigint;
78
- export declare function fromBoolean(b: boolean): bigint;
79
- export declare function fromChar(c: string): bigint;
80
- export declare function fromString(s: string): bigint;
81
- export declare function fromByteArray(bytes: ArrayLike<uint8>): bigint;
82
- export declare function toByteArray(value: bigint): number[];
83
- export declare function toInt8(x: bigint): int8;
84
- export declare function toUInt8(x: bigint): uint8;
85
- export declare function toInt16(x: bigint): int16;
86
- export declare function toUInt16(x: bigint): uint16;
87
- export declare function toInt32(x: bigint): int32;
88
- export declare function toUInt32(x: bigint): uint32;
89
- export declare function toInt64(x: bigint): int64;
90
- export declare function toUInt64(x: bigint): uint64;
91
- export declare function toInt128(x: bigint): int128;
92
- export declare function toUInt128(x: bigint): uint128;
93
- export declare function toNativeInt(x: bigint): nativeint;
94
- export declare function toUNativeInt(x: bigint): unativeint;
95
- export declare function toFloat16(x: bigint): float32;
96
- export declare function toFloat32(x: bigint): float32;
97
- export declare function toFloat64(x: bigint): float64;
98
- export declare function toDecimal(x: bigint): decimal;
99
- export declare function toBigInt(x: bigint): bigint;
100
- export declare function toBoolean(x: bigint): boolean;
101
- export declare function toChar(x: bigint): string;
102
- export declare function toString(x: bigint): string;
103
- export declare function tryParse(s: string, res: FSharpRef<bigint>): boolean;
104
- export declare function parse(s: string): bigint;
105
- export declare function pow(x: bigint, n: int32): bigint;
106
- export declare function modPow(x: bigint, e: bigint, m: bigint): bigint;
107
- export declare function divRem(x: bigint, y: bigint): [bigint, bigint];
108
- export declare function divRem(x: bigint, y: bigint, out: FSharpRef<bigint>): bigint;
109
- export declare function greatestCommonDivisor(x: bigint, y: bigint): bigint;
110
- export declare function getBitLength(x: bigint): int64;
111
- export declare function log2(x: bigint): float64;
112
- export declare function log10(x: bigint): float64;
113
- export declare function ln(x: bigint): float64;
114
- export declare function log(x: bigint, base: float64): float64;
115
- export declare function ilog2(x: bigint): bigint;
@@ -1,27 +0,0 @@
1
- import { uint8, int16, uint16, int32, uint32, float32, float64 } from "./Int32.js";
2
- import { int64, uint64 } from "./BigInt.js";
3
- import { char } from "./Char.js";
4
- export declare function isLittleEndian(): boolean;
5
- export declare function getBytesBoolean(value: boolean): Uint8Array;
6
- export declare function getBytesChar(value: char): Uint8Array;
7
- export declare function getBytesInt16(value: int16): Uint8Array;
8
- export declare function getBytesInt32(value: int32): Uint8Array;
9
- export declare function getBytesInt64(value: int64): Uint8Array;
10
- export declare function getBytesUInt16(value: uint16): Uint8Array;
11
- export declare function getBytesUInt32(value: uint32): Uint8Array;
12
- export declare function getBytesUInt64(value: uint64): Uint8Array;
13
- export declare function getBytesSingle(value: float32): Uint8Array;
14
- export declare function getBytesDouble(value: float64): Uint8Array;
15
- export declare function int64BitsToDouble(value: int64): float64;
16
- export declare function doubleToInt64Bits(value: float64): int64;
17
- export declare function toBoolean(bytes: ArrayLike<uint8>, offset: int32): boolean;
18
- export declare function toChar(bytes: ArrayLike<uint8>, offset: int32): char;
19
- export declare function toInt16(bytes: ArrayLike<uint8>, offset: int32): int16;
20
- export declare function toInt32(bytes: ArrayLike<uint8>, offset: int32): int32;
21
- export declare function toInt64(bytes: ArrayLike<uint8>, offset: int32): int64;
22
- export declare function toUInt16(bytes: ArrayLike<uint8>, offset: int32): uint16;
23
- export declare function toUInt32(bytes: ArrayLike<uint8>, offset: int32): uint32;
24
- export declare function toUInt64(bytes: ArrayLike<uint8>, offset: int32): uint64;
25
- export declare function toSingle(bytes: ArrayLike<uint8>, offset: int32): float32;
26
- export declare function toDouble(bytes: ArrayLike<uint8>, offset: int32): float64;
27
- export declare function toString(bytes: ArrayLike<uint8>, offset?: int32, count?: int32): string;
@@ -1,3 +0,0 @@
1
- import { FSharpRef } from "./Types.js";
2
- export declare function tryParse(str: string, defValue: FSharpRef<boolean>): boolean;
3
- export declare function parse(str: string): boolean;
@@ -1,37 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## Unreleased
9
-
10
- ## 1.2.0 - 2024-03-01
11
-
12
- ### Fixed
13
-
14
- * [GH-3772](https://github.com/fable-compiler/Fable/pull/3772) [JS/TS] Re-implement `DateTime.ToString` custom format handling (by @MangelMaxime)
15
-
16
- It now supports all custom format specifiers, and behave as if `CultureInfo.InvariantCulture` was used (Fable does not support Globalization).
17
-
18
- ## 1.1.0 - 2024-02-20
19
-
20
- ### Added
21
-
22
- #### JavaScript
23
-
24
- * [GH-3759](https://github.com/fable-compiler/Fable/issues/3759) Add `StringBuilder.Chars` (by @MangelMaxime)
25
- * Add `StringBuilder.AppendFormat` (by @ncave)
26
- * [GH-3748](https://github.com/fable-compiler/Fable/pull/3748) Add `Array.getItem` and `Array.setItem` (by @MangelMaxime)
27
-
28
- ## 1.0.0 - 2024-02-13
29
-
30
- * Release stable version
31
-
32
- ## 1.0.0-beta-001 - 2024-02-12
33
-
34
- ### Changed
35
-
36
- * Separate `Result` from `Choice`
37
- * Released as part of Fable 4.12.0