@nfdi4plants/arctrl 3.0.0-beta.4 → 3.0.0-beta.6

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 (323) hide show
  1. package/dist/ts/node_modules/@fable-org/fable-library-js/Array.js +894 -4
  2. package/dist/ts/node_modules/@fable-org/fable-library-js/Async.js +121 -3
  3. package/dist/ts/node_modules/@fable-org/fable-library-js/BigInt.js +279 -1
  4. package/dist/ts/node_modules/@fable-org/fable-library-js/Char.js +101 -2
  5. package/dist/ts/node_modules/@fable-org/fable-library-js/Choice.js +187 -0
  6. package/dist/ts/node_modules/@fable-org/fable-library-js/CollectionUtil.js +156 -2
  7. package/dist/ts/node_modules/@fable-org/fable-library-js/Date.js +183 -7
  8. package/dist/ts/node_modules/@fable-org/fable-library-js/DateOffset.js +217 -5
  9. package/dist/ts/node_modules/@fable-org/fable-library-js/Decimal.js +154 -5
  10. package/dist/ts/node_modules/@fable-org/fable-library-js/Double.js +20 -1
  11. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Collections.js +30 -0
  12. package/dist/ts/node_modules/@fable-org/fable-library-js/FSharp.Core.js +68 -1
  13. package/dist/ts/node_modules/@fable-org/fable-library-js/Global.js +6 -1
  14. package/dist/ts/node_modules/@fable-org/fable-library-js/Guid.js +98 -1
  15. package/dist/ts/node_modules/@fable-org/fable-library-js/Int32.js +18 -1
  16. package/dist/ts/node_modules/@fable-org/fable-library-js/List.js +601 -5
  17. package/dist/ts/node_modules/@fable-org/fable-library-js/Long.js +10 -1
  18. package/dist/ts/node_modules/@fable-org/fable-library-js/Map.js +760 -16
  19. package/dist/ts/node_modules/@fable-org/fable-library-js/MapUtil.js +26 -1
  20. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableMap.js +18 -8
  21. package/dist/ts/node_modules/@fable-org/fable-library-js/MutableSet.js +36 -4
  22. package/dist/ts/node_modules/@fable-org/fable-library-js/Option.js +35 -1
  23. package/dist/ts/node_modules/@fable-org/fable-library-js/Range.js +26 -1
  24. package/dist/ts/node_modules/@fable-org/fable-library-js/Reflection.js +355 -1
  25. package/dist/ts/node_modules/@fable-org/fable-library-js/RegExp.js +21 -2
  26. package/dist/ts/node_modules/@fable-org/fable-library-js/Result.js +133 -1
  27. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq.js +543 -8
  28. package/dist/ts/node_modules/@fable-org/fable-library-js/Seq2.js +53 -4
  29. package/dist/ts/node_modules/@fable-org/fable-library-js/Set.js +673 -41
  30. package/dist/ts/node_modules/@fable-org/fable-library-js/String.js +197 -4
  31. package/dist/ts/node_modules/@fable-org/fable-library-js/System.Text.js +128 -3
  32. package/dist/ts/node_modules/@fable-org/fable-library-js/SystemException.js +8 -0
  33. package/dist/ts/node_modules/@fable-org/fable-library-js/TimeSpan.js +180 -0
  34. package/dist/ts/node_modules/@fable-org/fable-library-js/Types.js +20 -2
  35. package/dist/ts/node_modules/@fable-org/fable-library-js/Util.js +406 -2
  36. package/dist/ts/node_modules/@fable-org/fable-library-js/lib/big.js +2 -2
  37. package/dist/ts/ts/ARC.d.ts +12 -5
  38. package/dist/ts/ts/ARC.d.ts.map +1 -1
  39. package/dist/ts/ts/ARC.js +172 -93
  40. package/dist/ts/ts/Contract/ARC.d.ts.map +1 -1
  41. package/dist/ts/ts/Contract/ARC.js +8 -1
  42. package/dist/ts/ts/Contract/ArcAssay.js +14 -5
  43. package/dist/ts/ts/Contract/ArcInvestigation.js +10 -1
  44. package/dist/ts/ts/Contract/ArcRun.js +19 -6
  45. package/dist/ts/ts/Contract/ArcStudy.js +19 -6
  46. package/dist/ts/ts/Contract/ArcWorkflow.js +19 -6
  47. package/dist/ts/ts/Contract/Contract.js +42 -1
  48. package/dist/ts/ts/Contract/Datamap.js +61 -17
  49. package/dist/ts/ts/Contract/Git.d.ts.map +1 -1
  50. package/dist/ts/ts/Contract/Git.js +22 -6
  51. package/dist/ts/ts/Contract/License.d.ts +5 -0
  52. package/dist/ts/ts/Contract/License.d.ts.map +1 -0
  53. package/dist/ts/ts/Contract/License.js +34 -0
  54. package/dist/ts/ts/Contract/ValidationPackagesConfig.js +31 -6
  55. package/dist/ts/ts/ContractIO/ContractIO.js +5 -5
  56. package/dist/ts/ts/ContractIO/FileSystemHelper.js +16 -4
  57. package/dist/ts/ts/Conversion.js +321 -48
  58. package/dist/ts/ts/Core/ArcTypes.js +216 -15
  59. package/dist/ts/ts/Core/Comment.js +11 -1
  60. package/dist/ts/ts/Core/CommentList.js +77 -2
  61. package/dist/ts/ts/Core/Conversion.js +123 -43
  62. package/dist/ts/ts/Core/Data.js +9 -2
  63. package/dist/ts/ts/Core/DataContext.js +19 -4
  64. package/dist/ts/ts/Core/DataFile.js +38 -1
  65. package/dist/ts/ts/Core/DataMap.js +111 -5
  66. package/dist/ts/ts/Core/Helper/Collections.js +106 -5
  67. package/dist/ts/ts/Core/Helper/HashCodes.js +4 -4
  68. package/dist/ts/ts/Core/Helper/Identifier.js +100 -2
  69. package/dist/ts/ts/Core/Helper/Regex.js +134 -2
  70. package/dist/ts/ts/Core/Helper/SemVer.js +23 -2
  71. package/dist/ts/ts/Core/IdentifierSetters.d.ts +3 -1
  72. package/dist/ts/ts/Core/IdentifierSetters.d.ts.map +1 -1
  73. package/dist/ts/ts/Core/IdentifierSetters.js +27 -1
  74. package/dist/ts/ts/Core/OntologyAnnotation.js +4 -1
  75. package/dist/ts/ts/Core/OntologySourceReference.js +8 -1
  76. package/dist/ts/ts/Core/Person.js +8 -1
  77. package/dist/ts/ts/Core/Process/ColumnIndex.js +121 -4
  78. package/dist/ts/ts/Core/Process/Component.js +37 -4
  79. package/dist/ts/ts/Core/Process/Factor.js +9 -4
  80. package/dist/ts/ts/Core/Process/FactorValue.js +61 -4
  81. package/dist/ts/ts/Core/Process/Material.js +14 -4
  82. package/dist/ts/ts/Core/Process/MaterialAttribute.js +41 -3
  83. package/dist/ts/ts/Core/Process/MaterialAttributeValue.js +67 -4
  84. package/dist/ts/ts/Core/Process/MaterialType.js +15 -1
  85. package/dist/ts/ts/Core/Process/Process.js +150 -7
  86. package/dist/ts/ts/Core/Process/ProcessInput.js +48 -8
  87. package/dist/ts/ts/Core/Process/ProcessOutput.js +44 -7
  88. package/dist/ts/ts/Core/Process/ProcessParameterValue.js +10 -5
  89. package/dist/ts/ts/Core/Process/ProcessSequence.js +127 -6
  90. package/dist/ts/ts/Core/Process/Protocol.js +78 -4
  91. package/dist/ts/ts/Core/Process/ProtocolParameter.js +6 -2
  92. package/dist/ts/ts/Core/Process/Sample.js +21 -3
  93. package/dist/ts/ts/Core/Process/Source.js +13 -3
  94. package/dist/ts/ts/Core/Publication.js +8 -1
  95. package/dist/ts/ts/Core/Table/ArcTable.js +34 -25
  96. package/dist/ts/ts/Core/Table/ArcTableAux.js +150 -23
  97. package/dist/ts/ts/Core/Table/ArcTables.js +24 -15
  98. package/dist/ts/ts/Core/Table/CompositeCell.js +7 -3
  99. package/dist/ts/ts/Core/Table/CompositeColumn.js +8 -4
  100. package/dist/ts/ts/Core/Table/CompositeHeader.js +18 -15
  101. package/dist/ts/ts/Core/Template.js +12 -2
  102. package/dist/ts/ts/Core/Templates.js +8 -4
  103. package/dist/ts/ts/Core/Value.js +7 -3
  104. package/dist/ts/ts/CrossAsync.js +11 -1
  105. package/dist/ts/ts/FileSystem/Commit.js +18 -0
  106. package/dist/ts/ts/FileSystem/FileSystem.js +8 -3
  107. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts +1 -0
  108. package/dist/ts/ts/FileSystem/FileSystemTree.d.ts.map +1 -1
  109. package/dist/ts/ts/FileSystem/FileSystemTree.js +20 -13
  110. package/dist/ts/ts/FileSystem/Path.d.ts +2 -0
  111. package/dist/ts/ts/FileSystem/Path.d.ts.map +1 -1
  112. package/dist/ts/ts/FileSystem/Path.js +17 -3
  113. package/dist/ts/ts/Json/Assay.d.ts +1 -1
  114. package/dist/ts/ts/Json/Assay.js +28 -28
  115. package/dist/ts/ts/Json/Comment.js +10 -10
  116. package/dist/ts/ts/Json/Data.js +6 -6
  117. package/dist/ts/ts/Json/DataMap/DataContext.js +4 -4
  118. package/dist/ts/ts/Json/DataMap/DataMap.js +2 -2
  119. package/dist/ts/ts/Json/Decode.js +14 -9
  120. package/dist/ts/ts/Json/Encode.js +43 -11
  121. package/dist/ts/ts/Json/Investigation.js +40 -22
  122. package/dist/ts/ts/Json/OntologyAnnotation.js +5 -5
  123. package/dist/ts/ts/Json/OntologySourceReference.js +2 -2
  124. package/dist/ts/ts/Json/Person.js +26 -26
  125. package/dist/ts/ts/Json/Process/Component.d.ts +6 -4
  126. package/dist/ts/ts/Json/Process/Component.d.ts.map +1 -1
  127. package/dist/ts/ts/Json/Process/Component.js +27 -7
  128. package/dist/ts/ts/Json/Process/Factor.js +3 -3
  129. package/dist/ts/ts/Json/Process/FactorValue.js +8 -8
  130. package/dist/ts/ts/Json/Process/Material.js +9 -9
  131. package/dist/ts/ts/Json/Process/MaterialAttribute.js +1 -1
  132. package/dist/ts/ts/Json/Process/MaterialAttributeValue.js +8 -8
  133. package/dist/ts/ts/Json/Process/Process.js +12 -12
  134. package/dist/ts/ts/Json/Process/ProcessInput.js +4 -4
  135. package/dist/ts/ts/Json/Process/ProcessOutput.js +3 -3
  136. package/dist/ts/ts/Json/Process/ProcessParameterValue.js +11 -8
  137. package/dist/ts/ts/Json/Process/Protocol.js +13 -13
  138. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts +4 -2
  139. package/dist/ts/ts/Json/Process/ProtocolParameter.d.ts.map +1 -1
  140. package/dist/ts/ts/Json/Process/ProtocolParameter.js +21 -12
  141. package/dist/ts/ts/Json/Process/Sample.js +14 -14
  142. package/dist/ts/ts/Json/Process/Source.js +9 -9
  143. package/dist/ts/ts/Json/Process/Value.js +1 -1
  144. package/dist/ts/ts/Json/PropertyValue.js +1 -1
  145. package/dist/ts/ts/Json/Publication.js +6 -6
  146. package/dist/ts/ts/Json/ROCrate/LDContext.js +1 -0
  147. package/dist/ts/ts/Json/ROCrate/LDGraph.js +3 -3
  148. package/dist/ts/ts/Json/ROCrate/LDNode.js +19 -19
  149. package/dist/ts/ts/Json/Run.d.ts +11 -0
  150. package/dist/ts/ts/Json/Run.d.ts.map +1 -0
  151. package/dist/ts/ts/Json/Run.js +76 -0
  152. package/dist/ts/ts/Json/StringTable.js +1 -1
  153. package/dist/ts/ts/Json/Study.js +34 -34
  154. package/dist/ts/ts/Json/Table/ArcTable.js +29 -29
  155. package/dist/ts/ts/Json/Table/CellTable.js +6 -6
  156. package/dist/ts/ts/Json/Table/CompositeCell.js +4 -4
  157. package/dist/ts/ts/Json/Table/CompositeHeader.js +2 -2
  158. package/dist/ts/ts/Json/Table/IOType.js +1 -1
  159. package/dist/ts/ts/Json/Table/OATable.js +7 -7
  160. package/dist/ts/ts/Json/Table/Templates.js +92 -6
  161. package/dist/ts/ts/Json/Workflow.d.ts +11 -0
  162. package/dist/ts/ts/Json/Workflow.d.ts.map +1 -0
  163. package/dist/ts/ts/Json/Workflow.js +93 -0
  164. package/dist/ts/ts/Json/context/rocrate/isa_assay_context.js +27 -1
  165. package/dist/ts/ts/Json/context/rocrate/isa_comment_context.js +17 -1
  166. package/dist/ts/ts/Json/context/rocrate/isa_data_context.js +19 -1
  167. package/dist/ts/ts/Json/context/rocrate/isa_investigation_context.js +27 -1
  168. package/dist/ts/ts/Json/context/rocrate/isa_material_context.js +20 -1
  169. package/dist/ts/ts/Json/context/rocrate/isa_ontology_annotation_context.js +18 -1
  170. package/dist/ts/ts/Json/context/rocrate/isa_ontology_source_reference_context.js +20 -1
  171. package/dist/ts/ts/Json/context/rocrate/isa_organization_context.js +16 -1
  172. package/dist/ts/ts/Json/context/rocrate/isa_person_context.js +25 -1
  173. package/dist/ts/ts/Json/context/rocrate/isa_process_context.js +24 -1
  174. package/dist/ts/ts/Json/context/rocrate/isa_protocol_context.js +23 -1
  175. package/dist/ts/ts/Json/context/rocrate/isa_publication_context.js +20 -1
  176. package/dist/ts/ts/Json/context/rocrate/isa_sample_context.js +19 -1
  177. package/dist/ts/ts/Json/context/rocrate/isa_source_context.js +19 -1
  178. package/dist/ts/ts/Json/context/rocrate/isa_study_context.js +35 -1
  179. package/dist/ts/ts/Json/context/rocrate/rocrate_context.js +61 -0
  180. package/dist/ts/ts/Json.d.ts +34 -2
  181. package/dist/ts/ts/Json.d.ts.map +1 -1
  182. package/dist/ts/ts/Json.js +129 -2
  183. package/dist/ts/ts/JsonIO/Assay.js +15 -3
  184. package/dist/ts/ts/JsonIO/Investigation.js +15 -3
  185. package/dist/ts/ts/JsonIO/LDObject.js +17 -3
  186. package/dist/ts/ts/JsonIO/OntologyAnnotation.js +12 -2
  187. package/dist/ts/ts/JsonIO/Person.d.ts +16 -0
  188. package/dist/ts/ts/JsonIO/Person.d.ts.map +1 -0
  189. package/dist/ts/ts/JsonIO/Person.js +67 -0
  190. package/dist/ts/ts/JsonIO/Run.d.ts +10 -0
  191. package/dist/ts/ts/JsonIO/Run.d.ts.map +1 -0
  192. package/dist/ts/ts/JsonIO/Run.js +50 -0
  193. package/dist/ts/ts/JsonIO/Study.js +15 -3
  194. package/dist/ts/ts/JsonIO/Table/Compression.js +3 -3
  195. package/dist/ts/ts/JsonIO/Table/Templates.js +60 -5
  196. package/dist/ts/ts/JsonIO/Workflow.d.ts +10 -0
  197. package/dist/ts/ts/JsonIO/Workflow.d.ts.map +1 -0
  198. package/dist/ts/ts/JsonIO/Workflow.js +50 -0
  199. package/dist/ts/ts/License.d.ts +39 -0
  200. package/dist/ts/ts/License.d.ts.map +1 -0
  201. package/dist/ts/ts/License.js +123 -0
  202. package/dist/ts/ts/ROCrate/Generic/Comment.js +5 -1
  203. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts +69 -0
  204. package/dist/ts/ts/ROCrate/Generic/CreativeWork.d.ts.map +1 -0
  205. package/dist/ts/ts/ROCrate/Generic/CreativeWork.js +450 -0
  206. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts +1 -0
  207. package/dist/ts/ts/ROCrate/Generic/Dataset.d.ts.map +1 -1
  208. package/dist/ts/ts/ROCrate/Generic/Dataset.js +27 -1
  209. package/dist/ts/ts/ROCrate/Generic/DefinedTerm.js +5 -1
  210. package/dist/ts/ts/ROCrate/Generic/File.js +5 -1
  211. package/dist/ts/ts/ROCrate/Generic/LabProcess.js +5 -1
  212. package/dist/ts/ts/ROCrate/Generic/LabProtocol.js +5 -1
  213. package/dist/ts/ts/ROCrate/Generic/Organization.js +5 -1
  214. package/dist/ts/ts/ROCrate/Generic/Person.js +7 -2
  215. package/dist/ts/ts/ROCrate/Generic/PostalAddress.js +5 -1
  216. package/dist/ts/ts/ROCrate/Generic/PropertyValue.js +19 -15
  217. package/dist/ts/ts/ROCrate/Generic/Sample.js +5 -1
  218. package/dist/ts/ts/ROCrate/Generic/ScholarlyArticle.js +5 -1
  219. package/dist/ts/ts/ROCrate/LDContext.js +15 -6
  220. package/dist/ts/ts/ROCrate/LDObject.js +53 -17
  221. package/dist/ts/ts/ROCrateIO.d.ts +9 -3
  222. package/dist/ts/ts/ROCrateIO.d.ts.map +1 -1
  223. package/dist/ts/ts/ROCrateIO.js +67 -14
  224. package/dist/ts/ts/Spreadsheet/AnnotationTable/ArcTable.js +18 -15
  225. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeCell.js +5 -4
  226. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeColumn.js +40 -17
  227. package/dist/ts/ts/Spreadsheet/AnnotationTable/CompositeHeader.js +4 -4
  228. package/dist/ts/ts/Spreadsheet/ArcAssay.js +30 -15
  229. package/dist/ts/ts/Spreadsheet/ArcInvestigation.js +32 -18
  230. package/dist/ts/ts/Spreadsheet/ArcRun.js +23 -8
  231. package/dist/ts/ts/Spreadsheet/ArcStudy.js +22 -7
  232. package/dist/ts/ts/Spreadsheet/ArcWorkflow.js +23 -8
  233. package/dist/ts/ts/Spreadsheet/CollectionAux.js +75 -5
  234. package/dist/ts/ts/Spreadsheet/DataMap.js +1 -1
  235. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapColumn.js +4 -4
  236. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapHeader.js +8 -8
  237. package/dist/ts/ts/Spreadsheet/DataMapTable/DataMapTable.js +4 -4
  238. package/dist/ts/ts/Spreadsheet/Metadata/Assays.js +6 -6
  239. package/dist/ts/ts/Spreadsheet/Metadata/Comment.js +1 -1
  240. package/dist/ts/ts/Spreadsheet/Metadata/Contacts.js +2 -2
  241. package/dist/ts/ts/Spreadsheet/Metadata/Conversions.js +6 -3
  242. package/dist/ts/ts/Spreadsheet/Metadata/DesignDescriptors.js +9 -3
  243. package/dist/ts/ts/Spreadsheet/Metadata/Factors.js +6 -4
  244. package/dist/ts/ts/Spreadsheet/Metadata/OntologyAnnotation.js +7 -5
  245. package/dist/ts/ts/Spreadsheet/Metadata/OntologySourceReference.js +1 -1
  246. package/dist/ts/ts/Spreadsheet/Metadata/Protocols.js +10 -8
  247. package/dist/ts/ts/Spreadsheet/Metadata/Publication.js +5 -5
  248. package/dist/ts/ts/Spreadsheet/Metadata/Run.js +6 -6
  249. package/dist/ts/ts/Spreadsheet/Metadata/SparseTable.js +246 -10
  250. package/dist/ts/ts/Spreadsheet/Metadata/Study.js +19 -13
  251. package/dist/ts/ts/Spreadsheet/Metadata/Workflow.js +5 -5
  252. package/dist/ts/ts/Template.Web.js +5 -1
  253. package/dist/ts/ts/ValidationPackages/ValidationPackage.js +8 -1
  254. package/dist/ts/ts/ValidationPackages/ValidationPackagesConfig.js +10 -3
  255. package/dist/ts/ts/WebRequest/WebRequest.Node.js +1 -0
  256. package/dist/ts/ts/Xlsx.d.ts +21 -1
  257. package/dist/ts/ts/Xlsx.d.ts.map +1 -1
  258. package/dist/ts/ts/Xlsx.js +81 -1
  259. package/dist/ts/ts/Yaml/ValidationPackage.js +18 -2
  260. package/dist/ts/ts/Yaml/ValidationPackagesConfig.js +5 -2
  261. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/DynamicObj.fs.js +27 -4
  262. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/FableJS.fs.js +14 -3
  263. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/HashCodes.fs.js +30 -4
  264. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/PropertyHelper.fs.js +5 -1
  265. package/dist/ts/ts/fable_modules/DynamicObj.7.0.1/ReflectionUtils.fs.js +65 -2
  266. package/dist/ts/ts/fable_modules/Fable.Fetch.2.6.0/Fetch.fs.js +257 -1
  267. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/Promise.fs.js +71 -1
  268. package/dist/ts/ts/fable_modules/Fable.Promise.3.2.0/PromiseImpl.fs.js +11 -1
  269. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Http.fs.js +188 -11
  270. package/dist/ts/ts/fable_modules/Fable.SimpleHttp.3.5.0/Types.fs.js +80 -2
  271. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCell.fs.js +63 -4
  272. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Cells/FsCellsCollection.fs.js +17 -7
  273. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/CellBuilder.fs.js +198 -0
  274. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Expression.fs.js +46 -0
  275. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/RowBuilder.fs.js +131 -0
  276. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/DSL/Types.fs.js +307 -0
  277. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsAddress.fs.js +38 -2
  278. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsColumn.fs.js +11 -4
  279. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsRow.fs.js +12 -5
  280. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorkbook.fs.js +9 -2
  281. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/FsWorksheet.fs.js +14 -7
  282. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/HashCodes.fs.js +31 -1
  283. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Cell.fs.js +65 -0
  284. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Column.fs.js +38 -0
  285. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Row.fs.js +38 -0
  286. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Table.fs.js +34 -0
  287. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Value.fs.js +49 -3
  288. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Workbook.fs.js +44 -0
  289. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Json/Worksheet.fs.js +129 -0
  290. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRange.fs.js +9 -2
  291. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeAddress.fs.js +82 -3
  292. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeBase.fs.js +12 -3
  293. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeColumn.fs.js +17 -2
  294. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Ranges/FsRangeRow.fs.js +9 -2
  295. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTable.fs.js +12 -5
  296. package/dist/ts/ts/fable_modules/FsSpreadsheet.7.0.0-alpha.1/Tables/FsTableField.fs.js +12 -3
  297. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Cell.fs.js +2 -2
  298. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/FsExtensions.fs.js +42 -3
  299. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Json.fs.js +53 -0
  300. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Table.fs.js +9 -9
  301. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Workbook.fs.js +1 -1
  302. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Worksheet.fs.js +2 -2
  303. package/dist/ts/ts/fable_modules/FsSpreadsheet.Js.7.0.0-alpha.1/Xlsx.fs.js +5 -1
  304. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Decode.fs.js +730 -23
  305. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Encode.fs.js +192 -7
  306. package/dist/ts/ts/fable_modules/Thoth.Json.Core.0.7.0/Types.fs.js +45 -1
  307. package/dist/ts/ts/fable_modules/Thoth.Json.JavaScript.0.4.1/Decode.fs.js +15 -2
  308. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Decode.fs.js +1383 -15
  309. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Encode.fs.js +45 -4
  310. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Interop/JsInterop.fs.js +10 -0
  311. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Persil.fs.js +5 -5
  312. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Preprocessing.fs.js +16 -6
  313. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Reader.fs.js +26 -23
  314. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/RegexActivePatterns.fs.js +1 -1
  315. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/Writer.fs.js +8 -8
  316. package/dist/ts/ts/fable_modules/YAMLicious.0.0.3/YAMLiciousTypes.fs.js +18 -2
  317. package/package.json +1 -1
  318. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts +0 -2
  319. package/dist/ts/ts/FileSystem/DefaultGitattributes.d.ts.map +0 -1
  320. package/dist/ts/ts/FileSystem/DefaultGitattributes.js +0 -3
  321. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts +0 -2
  322. package/dist/ts/ts/FileSystem/DefaultGitignore.d.ts.map +0 -1
  323. package/dist/ts/ts/FileSystem/DefaultGitignore.js +0 -3
@@ -1,16 +1,21 @@
1
- import { value } from './Option.js';
1
+ import { class_type, record_type, list_type, bool_type, option_type } from './Reflection.js';
2
+ import { value, some } from './Option.js';
2
3
  import { isArrayLike, getEnumerator, disposeSafe, toIterator, structuralHash } from './Util.js';
3
4
  import { Record, toString } from './Types.js';
4
- import { FSharpList, fold as fold$1, singleton, isEmpty, head, cons, tail, ofArrayWithTail, empty } from './List.js';
5
- import { fold, setItem } from './Array.js';
5
+ import { isEmpty as isEmpty$1, head, tail, ofArrayWithTail, empty as empty$1, singleton as singleton$1, cons, fold as fold$2, FSharpList } from './List.js';
6
+ import { setItem, fill, fold as fold$1 } from './Array.js';
6
7
  import { join } from './String.js';
7
- import { map, iterate, fold as fold$2 } from './Seq.js';
8
+ import { map as map$1, iterate as iterate$1, reduce, fold as fold$3, forAll as forAll$1, cache, exists as exists$1 } from './Seq.js';
9
+ import { HashSet, HashSet_$ctor_Z6150332D, HashSet__get_Comparer } from './MutableSet.js';
8
10
 
9
11
  class SetTreeLeaf$1 {
10
12
  constructor(k) {
11
13
  this.k = k;
12
14
  }
13
15
  }
16
+ function SetTreeLeaf$1_$reflection(gen0) {
17
+ return class_type("Set.SetTreeLeaf`1", [gen0], SetTreeLeaf$1);
18
+ }
14
19
  function SetTreeLeaf$1_$ctor_2B595(k) {
15
20
  return new SetTreeLeaf$1(k);
16
21
  }
@@ -25,6 +30,9 @@ class SetTreeNode$1 extends SetTreeLeaf$1 {
25
30
  this.h = (h | 0);
26
31
  }
27
32
  }
33
+ function SetTreeNode$1_$reflection(gen0) {
34
+ return class_type("Set.SetTreeNode`1", [gen0], SetTreeNode$1, SetTreeLeaf$1_$reflection(gen0));
35
+ }
28
36
  function SetTreeNode$1_$ctor_5F465FC9(v, left, right, h) {
29
37
  return new SetTreeNode$1(v, left, right, h);
30
38
  }
@@ -58,6 +66,7 @@ function SetTreeModule_countAux(t_mut, acc_mut) {
58
66
  else {
59
67
  return acc | 0;
60
68
  }
69
+ break;
61
70
  }
62
71
  }
63
72
  function SetTreeModule_count(s) {
@@ -262,6 +271,63 @@ function SetTreeModule_split(comparer, pivot, t) {
262
271
  return [SetTreeModule_empty(), false, SetTreeModule_empty()];
263
272
  }
264
273
  }
274
+ function SetTreeModule_spliceOutSuccessor(t) {
275
+ if (t != null) {
276
+ const t2 = value(t);
277
+ if (t2 instanceof SetTreeNode$1) {
278
+ const tn = t2;
279
+ if (SetTreeNode$1__get_Left(tn) == null) {
280
+ return [SetTreeLeaf$1__get_Key(tn), SetTreeNode$1__get_Right(tn)];
281
+ }
282
+ else {
283
+ const patternInput = SetTreeModule_spliceOutSuccessor(SetTreeNode$1__get_Left(tn));
284
+ return [patternInput[0], SetTreeModule_mk(patternInput[1], SetTreeLeaf$1__get_Key(tn), SetTreeNode$1__get_Right(tn))];
285
+ }
286
+ }
287
+ else {
288
+ return [SetTreeLeaf$1__get_Key(t2), SetTreeModule_empty()];
289
+ }
290
+ }
291
+ else {
292
+ throw new Error("internal error: Set.spliceOutSuccessor");
293
+ }
294
+ }
295
+ function SetTreeModule_remove(comparer, k, t) {
296
+ if (t != null) {
297
+ const t2 = value(t);
298
+ const c = comparer.Compare(k, SetTreeLeaf$1__get_Key(t2)) | 0;
299
+ if (t2 instanceof SetTreeNode$1) {
300
+ const tn = t2;
301
+ if (c < 0) {
302
+ return SetTreeModule_rebalance(SetTreeModule_remove(comparer, k, SetTreeNode$1__get_Left(tn)), SetTreeLeaf$1__get_Key(tn), SetTreeNode$1__get_Right(tn));
303
+ }
304
+ else if (c === 0) {
305
+ if (SetTreeNode$1__get_Left(tn) == null) {
306
+ return SetTreeNode$1__get_Right(tn);
307
+ }
308
+ else if (SetTreeNode$1__get_Right(tn) == null) {
309
+ return SetTreeNode$1__get_Left(tn);
310
+ }
311
+ else {
312
+ const patternInput = SetTreeModule_spliceOutSuccessor(SetTreeNode$1__get_Right(tn));
313
+ return SetTreeModule_mk(SetTreeNode$1__get_Left(tn), patternInput[0], patternInput[1]);
314
+ }
315
+ }
316
+ else {
317
+ return SetTreeModule_rebalance(SetTreeNode$1__get_Left(tn), SetTreeLeaf$1__get_Key(tn), SetTreeModule_remove(comparer, k, SetTreeNode$1__get_Right(tn)));
318
+ }
319
+ }
320
+ else if (c === 0) {
321
+ return SetTreeModule_empty();
322
+ }
323
+ else {
324
+ return t;
325
+ }
326
+ }
327
+ else {
328
+ return t;
329
+ }
330
+ }
265
331
  function SetTreeModule_mem(comparer_mut, k_mut, t_mut) {
266
332
  SetTreeModule_mem: while (true) {
267
333
  const comparer = comparer_mut, k = k_mut, t = t_mut;
@@ -293,6 +359,7 @@ function SetTreeModule_mem(comparer_mut, k_mut, t_mut) {
293
359
  else {
294
360
  return false;
295
361
  }
362
+ break;
296
363
  }
297
364
  }
298
365
  function SetTreeModule_iter(f_mut, t_mut) {
@@ -315,6 +382,177 @@ function SetTreeModule_iter(f_mut, t_mut) {
315
382
  break;
316
383
  }
317
384
  }
385
+ function SetTreeModule_foldBackOpt(f_mut, t_mut, x_mut) {
386
+ SetTreeModule_foldBackOpt: while (true) {
387
+ const f = f_mut, t = t_mut, x = x_mut;
388
+ if (t != null) {
389
+ const t2 = value(t);
390
+ if (t2 instanceof SetTreeNode$1) {
391
+ const tn = t2;
392
+ f_mut = f;
393
+ t_mut = SetTreeNode$1__get_Left(tn);
394
+ x_mut = f(SetTreeLeaf$1__get_Key(tn), SetTreeModule_foldBackOpt(f, SetTreeNode$1__get_Right(tn), x));
395
+ continue SetTreeModule_foldBackOpt;
396
+ }
397
+ else {
398
+ return f(SetTreeLeaf$1__get_Key(t2), x);
399
+ }
400
+ }
401
+ else {
402
+ return x;
403
+ }
404
+ break;
405
+ }
406
+ }
407
+ function SetTreeModule_foldBack(f, m, x) {
408
+ return SetTreeModule_foldBackOpt(f, m, x);
409
+ }
410
+ function SetTreeModule_foldOpt(f_mut, x_mut, t_mut) {
411
+ SetTreeModule_foldOpt: while (true) {
412
+ const f = f_mut, x = x_mut, t = t_mut;
413
+ if (t != null) {
414
+ const t2 = value(t);
415
+ if (t2 instanceof SetTreeNode$1) {
416
+ const tn = t2;
417
+ f_mut = f;
418
+ x_mut = f(SetTreeModule_foldOpt(f, x, SetTreeNode$1__get_Left(tn)), SetTreeLeaf$1__get_Key(tn));
419
+ t_mut = SetTreeNode$1__get_Right(tn);
420
+ continue SetTreeModule_foldOpt;
421
+ }
422
+ else {
423
+ return f(x, SetTreeLeaf$1__get_Key(t2));
424
+ }
425
+ }
426
+ else {
427
+ return x;
428
+ }
429
+ break;
430
+ }
431
+ }
432
+ function SetTreeModule_fold(f, x, m) {
433
+ return SetTreeModule_foldOpt(f, x, m);
434
+ }
435
+ function SetTreeModule_forall(f_mut, t_mut) {
436
+ SetTreeModule_forall: while (true) {
437
+ const f = f_mut, t = t_mut;
438
+ if (t != null) {
439
+ const t2 = value(t);
440
+ if (t2 instanceof SetTreeNode$1) {
441
+ const tn = t2;
442
+ if (f(SetTreeLeaf$1__get_Key(tn)) && SetTreeModule_forall(f, SetTreeNode$1__get_Left(tn))) {
443
+ f_mut = f;
444
+ t_mut = SetTreeNode$1__get_Right(tn);
445
+ continue SetTreeModule_forall;
446
+ }
447
+ else {
448
+ return false;
449
+ }
450
+ }
451
+ else {
452
+ return f(SetTreeLeaf$1__get_Key(t2));
453
+ }
454
+ }
455
+ else {
456
+ return true;
457
+ }
458
+ break;
459
+ }
460
+ }
461
+ function SetTreeModule_exists(f_mut, t_mut) {
462
+ SetTreeModule_exists: while (true) {
463
+ const f = f_mut, t = t_mut;
464
+ if (t != null) {
465
+ const t2 = value(t);
466
+ if (t2 instanceof SetTreeNode$1) {
467
+ const tn = t2;
468
+ if (f(SetTreeLeaf$1__get_Key(tn)) ? true : SetTreeModule_exists(f, SetTreeNode$1__get_Left(tn))) {
469
+ return true;
470
+ }
471
+ else {
472
+ f_mut = f;
473
+ t_mut = SetTreeNode$1__get_Right(tn);
474
+ continue SetTreeModule_exists;
475
+ }
476
+ }
477
+ else {
478
+ return f(SetTreeLeaf$1__get_Key(t2));
479
+ }
480
+ }
481
+ else {
482
+ return false;
483
+ }
484
+ break;
485
+ }
486
+ }
487
+ function SetTreeModule_subset(comparer, a, b) {
488
+ return SetTreeModule_forall((x) => SetTreeModule_mem(comparer, x, b), a);
489
+ }
490
+ function SetTreeModule_properSubset(comparer, a, b) {
491
+ if (SetTreeModule_forall((x) => SetTreeModule_mem(comparer, x, b), a)) {
492
+ return SetTreeModule_exists((x_1) => !SetTreeModule_mem(comparer, x_1, a), b);
493
+ }
494
+ else {
495
+ return false;
496
+ }
497
+ }
498
+ function SetTreeModule_filterAux(comparer_mut, f_mut, t_mut, acc_mut) {
499
+ SetTreeModule_filterAux: while (true) {
500
+ const comparer = comparer_mut, f = f_mut, t = t_mut, acc = acc_mut;
501
+ if (t != null) {
502
+ const t2 = value(t);
503
+ if (t2 instanceof SetTreeNode$1) {
504
+ const tn = t2;
505
+ const acc_1 = f(SetTreeLeaf$1__get_Key(tn)) ? SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(tn), acc) : acc;
506
+ comparer_mut = comparer;
507
+ f_mut = f;
508
+ t_mut = SetTreeNode$1__get_Left(tn);
509
+ acc_mut = SetTreeModule_filterAux(comparer, f, SetTreeNode$1__get_Right(tn), acc_1);
510
+ continue SetTreeModule_filterAux;
511
+ }
512
+ else if (f(SetTreeLeaf$1__get_Key(t2))) {
513
+ return SetTreeModule_add(comparer, SetTreeLeaf$1__get_Key(t2), acc);
514
+ }
515
+ else {
516
+ return acc;
517
+ }
518
+ }
519
+ else {
520
+ return acc;
521
+ }
522
+ break;
523
+ }
524
+ }
525
+ function SetTreeModule_filter(comparer, f, s) {
526
+ return SetTreeModule_filterAux(comparer, f, s, SetTreeModule_empty());
527
+ }
528
+ function SetTreeModule_diffAux(comparer_mut, t_mut, acc_mut) {
529
+ SetTreeModule_diffAux: while (true) {
530
+ const comparer = comparer_mut, t = t_mut, acc = acc_mut;
531
+ if (acc == null) {
532
+ return acc;
533
+ }
534
+ else if (t != null) {
535
+ const t2 = value(t);
536
+ if (t2 instanceof SetTreeNode$1) {
537
+ const tn = t2;
538
+ comparer_mut = comparer;
539
+ t_mut = SetTreeNode$1__get_Left(tn);
540
+ acc_mut = SetTreeModule_diffAux(comparer, SetTreeNode$1__get_Right(tn), SetTreeModule_remove(comparer, SetTreeLeaf$1__get_Key(tn), acc));
541
+ continue SetTreeModule_diffAux;
542
+ }
543
+ else {
544
+ return SetTreeModule_remove(comparer, SetTreeLeaf$1__get_Key(t2), acc);
545
+ }
546
+ }
547
+ else {
548
+ return acc;
549
+ }
550
+ break;
551
+ }
552
+ }
553
+ function SetTreeModule_diff(comparer, a, b) {
554
+ return SetTreeModule_diffAux(comparer, b, a);
555
+ }
318
556
  function SetTreeModule_union(comparer, t1, t2) {
319
557
  if (t1 != null) {
320
558
  const t1$0027 = value(t1);
@@ -374,11 +612,140 @@ function SetTreeModule_intersectionAux(comparer_mut, b_mut, t_mut, acc_mut) {
374
612
  else {
375
613
  return acc;
376
614
  }
615
+ break;
377
616
  }
378
617
  }
379
618
  function SetTreeModule_intersection(comparer, a, b) {
380
619
  return SetTreeModule_intersectionAux(comparer, b, a, SetTreeModule_empty());
381
620
  }
621
+ function SetTreeModule_partition1(comparer, f, k, acc1, acc2) {
622
+ if (f(k)) {
623
+ return [SetTreeModule_add(comparer, k, acc1), acc2];
624
+ }
625
+ else {
626
+ return [acc1, SetTreeModule_add(comparer, k, acc2)];
627
+ }
628
+ }
629
+ function SetTreeModule_partitionAux(comparer_mut, f_mut, t_mut, acc__mut, acc__1_mut) {
630
+ SetTreeModule_partitionAux: while (true) {
631
+ const comparer = comparer_mut, f = f_mut, t = t_mut, acc_ = acc__mut, acc__1 = acc__1_mut;
632
+ const acc = [acc_, acc__1];
633
+ if (t != null) {
634
+ const t2 = value(t);
635
+ if (t2 instanceof SetTreeNode$1) {
636
+ const tn = t2;
637
+ const acc_1 = SetTreeModule_partitionAux(comparer, f, SetTreeNode$1__get_Right(tn), acc[0], acc[1]);
638
+ const acc_4 = SetTreeModule_partition1(comparer, f, SetTreeLeaf$1__get_Key(tn), acc_1[0], acc_1[1]);
639
+ comparer_mut = comparer;
640
+ f_mut = f;
641
+ t_mut = SetTreeNode$1__get_Left(tn);
642
+ acc__mut = acc_4[0];
643
+ acc__1_mut = acc_4[1];
644
+ continue SetTreeModule_partitionAux;
645
+ }
646
+ else {
647
+ return SetTreeModule_partition1(comparer, f, SetTreeLeaf$1__get_Key(t2), acc[0], acc[1]);
648
+ }
649
+ }
650
+ else {
651
+ return acc;
652
+ }
653
+ break;
654
+ }
655
+ }
656
+ function SetTreeModule_partition(comparer, f, s) {
657
+ return SetTreeModule_partitionAux(comparer, f, s, SetTreeModule_empty(), SetTreeModule_empty());
658
+ }
659
+ function SetTreeModule_minimumElementAux(t_mut, n_mut) {
660
+ SetTreeModule_minimumElementAux: while (true) {
661
+ const t = t_mut, n = n_mut;
662
+ if (t != null) {
663
+ const t2 = value(t);
664
+ if (t2 instanceof SetTreeNode$1) {
665
+ const tn = t2;
666
+ t_mut = SetTreeNode$1__get_Left(tn);
667
+ n_mut = SetTreeLeaf$1__get_Key(tn);
668
+ continue SetTreeModule_minimumElementAux;
669
+ }
670
+ else {
671
+ return SetTreeLeaf$1__get_Key(t2);
672
+ }
673
+ }
674
+ else {
675
+ return n;
676
+ }
677
+ break;
678
+ }
679
+ }
680
+ function SetTreeModule_minimumElementOpt(t) {
681
+ if (t != null) {
682
+ const t2 = value(t);
683
+ if (t2 instanceof SetTreeNode$1) {
684
+ const tn = t2;
685
+ return some(SetTreeModule_minimumElementAux(SetTreeNode$1__get_Left(tn), SetTreeLeaf$1__get_Key(tn)));
686
+ }
687
+ else {
688
+ return some(SetTreeLeaf$1__get_Key(t2));
689
+ }
690
+ }
691
+ else {
692
+ return undefined;
693
+ }
694
+ }
695
+ function SetTreeModule_maximumElementAux(t_mut, n_mut) {
696
+ SetTreeModule_maximumElementAux: while (true) {
697
+ const t = t_mut, n = n_mut;
698
+ if (t != null) {
699
+ const t2 = value(t);
700
+ if (t2 instanceof SetTreeNode$1) {
701
+ const tn = t2;
702
+ t_mut = SetTreeNode$1__get_Right(tn);
703
+ n_mut = SetTreeLeaf$1__get_Key(tn);
704
+ continue SetTreeModule_maximumElementAux;
705
+ }
706
+ else {
707
+ return SetTreeLeaf$1__get_Key(t2);
708
+ }
709
+ }
710
+ else {
711
+ return n;
712
+ }
713
+ break;
714
+ }
715
+ }
716
+ function SetTreeModule_maximumElementOpt(t) {
717
+ if (t != null) {
718
+ const t2 = value(t);
719
+ if (t2 instanceof SetTreeNode$1) {
720
+ const tn = t2;
721
+ return some(SetTreeModule_maximumElementAux(SetTreeNode$1__get_Right(tn), SetTreeLeaf$1__get_Key(tn)));
722
+ }
723
+ else {
724
+ return some(SetTreeLeaf$1__get_Key(t2));
725
+ }
726
+ }
727
+ else {
728
+ return undefined;
729
+ }
730
+ }
731
+ function SetTreeModule_minimumElement(s) {
732
+ const matchValue = SetTreeModule_minimumElementOpt(s);
733
+ if (matchValue == null) {
734
+ throw new Error("Set contains no elements");
735
+ }
736
+ else {
737
+ return value(matchValue);
738
+ }
739
+ }
740
+ function SetTreeModule_maximumElement(s) {
741
+ const matchValue = SetTreeModule_maximumElementOpt(s);
742
+ if (matchValue == null) {
743
+ throw new Error("Set contains no elements");
744
+ }
745
+ else {
746
+ return value(matchValue);
747
+ }
748
+ }
382
749
  class SetTreeModule_SetIterator$1 extends Record {
383
750
  constructor(stack, started) {
384
751
  super();
@@ -386,10 +753,13 @@ class SetTreeModule_SetIterator$1 extends Record {
386
753
  this.started = started;
387
754
  }
388
755
  }
756
+ function SetTreeModule_SetIterator$1_$reflection(gen0) {
757
+ return record_type("Set.SetTreeModule.SetIterator`1", [gen0], SetTreeModule_SetIterator$1, () => [["stack", list_type(option_type(SetTreeLeaf$1_$reflection(gen0)))], ["started", bool_type]]);
758
+ }
389
759
  function SetTreeModule_collapseLHS(stack_mut) {
390
760
  SetTreeModule_collapseLHS: while (true) {
391
761
  const stack = stack_mut;
392
- if (!isEmpty(stack)) {
762
+ if (!isEmpty$1(stack)) {
393
763
  const x = head(stack);
394
764
  const rest = tail(stack);
395
765
  if (x != null) {
@@ -409,12 +779,13 @@ function SetTreeModule_collapseLHS(stack_mut) {
409
779
  }
410
780
  }
411
781
  else {
412
- return empty();
782
+ return empty$1();
413
783
  }
784
+ break;
414
785
  }
415
786
  }
416
787
  function SetTreeModule_mkIterator(s) {
417
- return new SetTreeModule_SetIterator$1(SetTreeModule_collapseLHS(singleton(s)), false);
788
+ return new SetTreeModule_SetIterator$1(SetTreeModule_collapseLHS(singleton$1(s)), false);
418
789
  }
419
790
  function SetTreeModule_notStarted() {
420
791
  throw new Error("Enumeration not started");
@@ -425,7 +796,7 @@ function SetTreeModule_alreadyFinished() {
425
796
  function SetTreeModule_current(i) {
426
797
  if (i.started) {
427
798
  const matchValue = i.stack;
428
- if (isEmpty(matchValue)) {
799
+ if (isEmpty$1(matchValue)) {
429
800
  return SetTreeModule_alreadyFinished();
430
801
  }
431
802
  else if (head(matchValue) != null) {
@@ -443,7 +814,7 @@ function SetTreeModule_current(i) {
443
814
  function SetTreeModule_moveNext(i) {
444
815
  if (i.started) {
445
816
  const matchValue = i.stack;
446
- if (!isEmpty(matchValue)) {
817
+ if (!isEmpty$1(matchValue)) {
447
818
  if (head(matchValue) != null) {
448
819
  const t = value(head(matchValue));
449
820
  if (t instanceof SetTreeNode$1) {
@@ -451,7 +822,7 @@ function SetTreeModule_moveNext(i) {
451
822
  }
452
823
  else {
453
824
  i.stack = SetTreeModule_collapseLHS(tail(matchValue));
454
- return !isEmpty(i.stack);
825
+ return !isEmpty$1(i.stack);
455
826
  }
456
827
  }
457
828
  else {
@@ -464,7 +835,7 @@ function SetTreeModule_moveNext(i) {
464
835
  }
465
836
  else {
466
837
  i.started = true;
467
- return !isEmpty(i.stack);
838
+ return !isEmpty$1(i.stack);
468
839
  }
469
840
  }
470
841
  function SetTreeModule_mkIEnumerator(s) {
@@ -492,8 +863,8 @@ function SetTreeModule_mkIEnumerator(s) {
492
863
  function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
493
864
  SetTreeModule_compareStacks: while (true) {
494
865
  const comparer = comparer_mut, l1 = l1_mut, l2 = l2_mut;
495
- if (!isEmpty(l1)) {
496
- if (!isEmpty(l2)) {
866
+ if (!isEmpty$1(l1)) {
867
+ if (!isEmpty$1(l2)) {
497
868
  if (head(l2) != null) {
498
869
  if (head(l1) != null) {
499
870
  const x1_3 = value(head(l1));
@@ -517,13 +888,13 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
517
888
  }
518
889
  else {
519
890
  let matchResult, t1_6, x1_4, t2_6, x2_4;
520
- if (!isEmpty(l1)) {
891
+ if (!isEmpty$1(l1)) {
521
892
  if (head(l1) != null) {
522
893
  matchResult = 0;
523
894
  t1_6 = tail(l1);
524
895
  x1_4 = value(head(l1));
525
896
  }
526
- else if (!isEmpty(l2)) {
897
+ else if (!isEmpty$1(l2)) {
527
898
  if (head(l2) != null) {
528
899
  matchResult = 1;
529
900
  t2_6 = tail(l2);
@@ -537,7 +908,7 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
537
908
  matchResult = 2;
538
909
  }
539
910
  }
540
- else if (!isEmpty(l2)) {
911
+ else if (!isEmpty$1(l2)) {
541
912
  if (head(l2) != null) {
542
913
  matchResult = 1;
543
914
  t2_6 = tail(l2);
@@ -599,13 +970,13 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
599
970
  }
600
971
  else {
601
972
  let matchResult_1, t1_7, x1_5, t2_7, x2_5;
602
- if (!isEmpty(l1)) {
973
+ if (!isEmpty$1(l1)) {
603
974
  if (head(l1) != null) {
604
975
  matchResult_1 = 0;
605
976
  t1_7 = tail(l1);
606
977
  x1_5 = value(head(l1));
607
978
  }
608
- else if (!isEmpty(l2)) {
979
+ else if (!isEmpty$1(l2)) {
609
980
  if (head(l2) != null) {
610
981
  matchResult_1 = 1;
611
982
  t2_7 = tail(l2);
@@ -619,7 +990,7 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
619
990
  matchResult_1 = 2;
620
991
  }
621
992
  }
622
- else if (!isEmpty(l2)) {
993
+ else if (!isEmpty$1(l2)) {
623
994
  if (head(l2) != null) {
624
995
  matchResult_1 = 1;
625
996
  t2_7 = tail(l2);
@@ -682,13 +1053,13 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
682
1053
  }
683
1054
  else {
684
1055
  let matchResult_2, t1_8, x1_6, t2_8, x2_6;
685
- if (!isEmpty(l1)) {
1056
+ if (!isEmpty$1(l1)) {
686
1057
  if (head(l1) != null) {
687
1058
  matchResult_2 = 0;
688
1059
  t1_8 = tail(l1);
689
1060
  x1_6 = value(head(l1));
690
1061
  }
691
- else if (!isEmpty(l2)) {
1062
+ else if (!isEmpty$1(l2)) {
692
1063
  if (head(l2) != null) {
693
1064
  matchResult_2 = 1;
694
1065
  t2_8 = tail(l2);
@@ -702,7 +1073,7 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
702
1073
  matchResult_2 = 2;
703
1074
  }
704
1075
  }
705
- else if (!isEmpty(l2)) {
1076
+ else if (!isEmpty$1(l2)) {
706
1077
  if (head(l2) != null) {
707
1078
  matchResult_2 = 1;
708
1079
  t2_8 = tail(l2);
@@ -763,15 +1134,15 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
763
1134
  }
764
1135
  }
765
1136
  else {
766
- value(head(l2));
1137
+ const x2 = value(head(l2));
767
1138
  let matchResult_3, t1_2, x1, t2_2, x2_1;
768
- if (!isEmpty(l1)) {
1139
+ if (!isEmpty$1(l1)) {
769
1140
  if (head(l1) != null) {
770
1141
  matchResult_3 = 0;
771
1142
  t1_2 = tail(l1);
772
1143
  x1 = value(head(l1));
773
1144
  }
774
- else if (!isEmpty(l2)) {
1145
+ else if (!isEmpty$1(l2)) {
775
1146
  if (head(l2) != null) {
776
1147
  matchResult_3 = 1;
777
1148
  t2_2 = tail(l2);
@@ -785,7 +1156,7 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
785
1156
  matchResult_3 = 2;
786
1157
  }
787
1158
  }
788
- else if (!isEmpty(l2)) {
1159
+ else if (!isEmpty$1(l2)) {
789
1160
  if (head(l2) != null) {
790
1161
  matchResult_3 = 1;
791
1162
  t2_2 = tail(l2);
@@ -833,15 +1204,15 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
833
1204
  }
834
1205
  }
835
1206
  else if (head(l1) != null) {
836
- value(head(l1));
1207
+ const x1_1 = value(head(l1));
837
1208
  let matchResult_4, t1_4, x1_2, t2_4, x2_2;
838
- if (!isEmpty(l1)) {
1209
+ if (!isEmpty$1(l1)) {
839
1210
  if (head(l1) != null) {
840
1211
  matchResult_4 = 0;
841
1212
  t1_4 = tail(l1);
842
1213
  x1_2 = value(head(l1));
843
1214
  }
844
- else if (!isEmpty(l2)) {
1215
+ else if (!isEmpty$1(l2)) {
845
1216
  if (head(l2) != null) {
846
1217
  matchResult_4 = 1;
847
1218
  t2_4 = tail(l2);
@@ -855,7 +1226,7 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
855
1226
  matchResult_4 = 2;
856
1227
  }
857
1228
  }
858
- else if (!isEmpty(l2)) {
1229
+ else if (!isEmpty$1(l2)) {
859
1230
  if (head(l2) != null) {
860
1231
  matchResult_4 = 1;
861
1232
  t2_4 = tail(l2);
@@ -912,12 +1283,13 @@ function SetTreeModule_compareStacks(comparer_mut, l1_mut, l2_mut) {
912
1283
  return 1;
913
1284
  }
914
1285
  }
915
- else if (isEmpty(l2)) {
1286
+ else if (isEmpty$1(l2)) {
916
1287
  return 0;
917
1288
  }
918
1289
  else {
919
1290
  return -1;
920
1291
  }
1292
+ break;
921
1293
  }
922
1294
  }
923
1295
  function SetTreeModule_compare(comparer, t1, t2) {
@@ -933,9 +1305,36 @@ function SetTreeModule_compare(comparer, t1, t2) {
933
1305
  return 1;
934
1306
  }
935
1307
  else {
936
- return SetTreeModule_compareStacks(comparer, singleton(t1), singleton(t2)) | 0;
1308
+ return SetTreeModule_compareStacks(comparer, singleton$1(t1), singleton$1(t2)) | 0;
937
1309
  }
938
1310
  }
1311
+ function SetTreeModule_choose(s) {
1312
+ return SetTreeModule_minimumElement(s);
1313
+ }
1314
+ function SetTreeModule_toList(t) {
1315
+ const loop = (t$0027_mut, acc_mut) => {
1316
+ loop: while (true) {
1317
+ const t$0027 = t$0027_mut, acc = acc_mut;
1318
+ if (t$0027 != null) {
1319
+ const t2 = value(t$0027);
1320
+ if (t2 instanceof SetTreeNode$1) {
1321
+ const tn = t2;
1322
+ t$0027_mut = SetTreeNode$1__get_Left(tn);
1323
+ acc_mut = cons(SetTreeLeaf$1__get_Key(tn), loop(SetTreeNode$1__get_Right(tn), acc));
1324
+ continue loop;
1325
+ }
1326
+ else {
1327
+ return cons(SetTreeLeaf$1__get_Key(t2), acc);
1328
+ }
1329
+ }
1330
+ else {
1331
+ return acc;
1332
+ }
1333
+ break;
1334
+ }
1335
+ };
1336
+ return loop(t, empty$1());
1337
+ }
939
1338
  function SetTreeModule_copyToArray(s, arr, i) {
940
1339
  let j = i;
941
1340
  SetTreeModule_iter((x) => {
@@ -943,6 +1342,12 @@ function SetTreeModule_copyToArray(s, arr, i) {
943
1342
  j = ((j + 1) | 0);
944
1343
  }, s);
945
1344
  }
1345
+ function SetTreeModule_toArray(s) {
1346
+ const n = SetTreeModule_count(s) | 0;
1347
+ const res = fill(new Array(n), 0, n, null);
1348
+ SetTreeModule_copyToArray(s, res, 0);
1349
+ return res;
1350
+ }
946
1351
  function SetTreeModule_mkFromEnumerator(comparer_mut, acc_mut, e_mut) {
947
1352
  SetTreeModule_mkFromEnumerator: while (true) {
948
1353
  const comparer = comparer_mut, acc = acc_mut, e = e_mut;
@@ -955,13 +1360,14 @@ function SetTreeModule_mkFromEnumerator(comparer_mut, acc_mut, e_mut) {
955
1360
  else {
956
1361
  return acc;
957
1362
  }
1363
+ break;
958
1364
  }
959
1365
  }
960
1366
  function SetTreeModule_ofArray(comparer, l) {
961
- return fold((acc, k) => SetTreeModule_add(comparer, k, acc), SetTreeModule_empty(), l);
1367
+ return fold$1((acc, k) => SetTreeModule_add(comparer, k, acc), SetTreeModule_empty(), l);
962
1368
  }
963
1369
  function SetTreeModule_ofList(comparer, l) {
964
- return fold$1((acc, k) => SetTreeModule_add(comparer, k, acc), SetTreeModule_empty(), l);
1370
+ return fold$2((acc, k) => SetTreeModule_add(comparer, k, acc), SetTreeModule_empty(), l);
965
1371
  }
966
1372
  function SetTreeModule_ofSeq(comparer, c) {
967
1373
  if (isArrayLike(c)) {
@@ -996,7 +1402,7 @@ class FSharpSet {
996
1402
  }
997
1403
  toString() {
998
1404
  const this$ = this;
999
- return ("set [" + join("; ", map((x) => {
1405
+ return ("set [" + join("; ", map$1((x) => {
1000
1406
  let copyOfStruct = x;
1001
1407
  return toString(copyOfStruct);
1002
1408
  }, this$))) + "]";
@@ -1056,13 +1462,16 @@ class FSharpSet {
1056
1462
  return FSharpSet__get_Count(s) | 0;
1057
1463
  }
1058
1464
  add(k) {
1465
+ const s = this;
1059
1466
  throw new Error("Set cannot be mutated");
1467
+ return s;
1060
1468
  }
1061
1469
  clear() {
1062
1470
  throw new Error("Set cannot be mutated");
1063
1471
  }
1064
1472
  delete(k) {
1065
1473
  throw new Error("Set cannot be mutated");
1474
+ return false;
1066
1475
  }
1067
1476
  has(k) {
1068
1477
  const s = this;
@@ -1070,23 +1479,26 @@ class FSharpSet {
1070
1479
  }
1071
1480
  keys() {
1072
1481
  const s = this;
1073
- return map((x) => x, s);
1482
+ return map$1((x) => x, s);
1074
1483
  }
1075
1484
  values() {
1076
1485
  const s = this;
1077
- return map((x) => x, s);
1486
+ return map$1((x) => x, s);
1078
1487
  }
1079
1488
  entries() {
1080
1489
  const s = this;
1081
- return map((v) => [v, v], s);
1490
+ return map$1((v) => [v, v], s);
1082
1491
  }
1083
1492
  forEach(f, thisArg) {
1084
1493
  const s = this;
1085
- iterate((x) => {
1494
+ iterate$1((x) => {
1086
1495
  f(x, x, s);
1087
1496
  }, s);
1088
1497
  }
1089
1498
  }
1499
+ function FSharpSet_$reflection(gen0) {
1500
+ return class_type("Set.FSharpSet", [gen0], FSharpSet);
1501
+ }
1090
1502
  function FSharpSet_$ctor(comparer, tree) {
1091
1503
  return new FSharpSet(comparer, tree);
1092
1504
  }
@@ -1099,15 +1511,65 @@ function FSharpSet__get_Tree(set$) {
1099
1511
  function FSharpSet_Empty(comparer) {
1100
1512
  return FSharpSet_$ctor(comparer, SetTreeModule_empty());
1101
1513
  }
1514
+ function FSharpSet__Add(s, value) {
1515
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(s), SetTreeModule_add(FSharpSet__get_Comparer(s), value, FSharpSet__get_Tree(s)));
1516
+ }
1517
+ function FSharpSet__Remove(s, value) {
1518
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(s), SetTreeModule_remove(FSharpSet__get_Comparer(s), value, FSharpSet__get_Tree(s)));
1519
+ }
1102
1520
  function FSharpSet__get_Count(s) {
1103
1521
  return SetTreeModule_count(FSharpSet__get_Tree(s));
1104
1522
  }
1105
1523
  function FSharpSet__Contains(s, value) {
1106
1524
  return SetTreeModule_mem(FSharpSet__get_Comparer(s), value, FSharpSet__get_Tree(s));
1107
1525
  }
1526
+ function FSharpSet__Iterate(s, x) {
1527
+ SetTreeModule_iter(x, FSharpSet__get_Tree(s));
1528
+ }
1529
+ function FSharpSet__Fold(s, f, z) {
1530
+ const f_1 = f;
1531
+ return SetTreeModule_fold((x, z_1) => f_1(z_1, x), z, FSharpSet__get_Tree(s));
1532
+ }
1108
1533
  function FSharpSet__get_IsEmpty(s) {
1109
1534
  return FSharpSet__get_Tree(s) == null;
1110
1535
  }
1536
+ function FSharpSet__Partition(s, f) {
1537
+ if (FSharpSet__get_Tree(s) == null) {
1538
+ return [s, s];
1539
+ }
1540
+ else {
1541
+ const patternInput = SetTreeModule_partition(FSharpSet__get_Comparer(s), f, FSharpSet__get_Tree(s));
1542
+ return [FSharpSet_$ctor(FSharpSet__get_Comparer(s), patternInput[0]), FSharpSet_$ctor(FSharpSet__get_Comparer(s), patternInput[1])];
1543
+ }
1544
+ }
1545
+ function FSharpSet__Filter(s, f) {
1546
+ if (FSharpSet__get_Tree(s) == null) {
1547
+ return s;
1548
+ }
1549
+ else {
1550
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(s), SetTreeModule_filter(FSharpSet__get_Comparer(s), f, FSharpSet__get_Tree(s)));
1551
+ }
1552
+ }
1553
+ function FSharpSet__Map(s, f, comparer) {
1554
+ return FSharpSet_$ctor(comparer, SetTreeModule_fold((acc, k) => SetTreeModule_add(comparer, f(k), acc), SetTreeModule_empty(), FSharpSet__get_Tree(s)));
1555
+ }
1556
+ function FSharpSet__Exists(s, f) {
1557
+ return SetTreeModule_exists(f, FSharpSet__get_Tree(s));
1558
+ }
1559
+ function FSharpSet__ForAll(s, f) {
1560
+ return SetTreeModule_forall(f, FSharpSet__get_Tree(s));
1561
+ }
1562
+ function FSharpSet_op_Subtraction(set1, set2) {
1563
+ if (FSharpSet__get_Tree(set1) == null) {
1564
+ return set1;
1565
+ }
1566
+ else if (FSharpSet__get_Tree(set2) == null) {
1567
+ return set1;
1568
+ }
1569
+ else {
1570
+ return FSharpSet_$ctor(FSharpSet__get_Comparer(set1), SetTreeModule_diff(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set1), FSharpSet__get_Tree(set2)));
1571
+ }
1572
+ }
1111
1573
  function FSharpSet_op_Addition(set1, set2) {
1112
1574
  if (FSharpSet__get_Tree(set2) == null) {
1113
1575
  return set1;
@@ -1130,6 +1592,42 @@ function FSharpSet_Intersection(a, b) {
1130
1592
  return FSharpSet_$ctor(FSharpSet__get_Comparer(a), SetTreeModule_intersection(FSharpSet__get_Comparer(a), FSharpSet__get_Tree(a), FSharpSet__get_Tree(b)));
1131
1593
  }
1132
1594
  }
1595
+ function FSharpSet_IntersectionMany(sets) {
1596
+ return reduce(FSharpSet_Intersection, sets);
1597
+ }
1598
+ function FSharpSet_Equality(a, b) {
1599
+ return SetTreeModule_compare(FSharpSet__get_Comparer(a), FSharpSet__get_Tree(a), FSharpSet__get_Tree(b)) === 0;
1600
+ }
1601
+ function FSharpSet_Compare(a, b) {
1602
+ return SetTreeModule_compare(FSharpSet__get_Comparer(a), FSharpSet__get_Tree(a), FSharpSet__get_Tree(b));
1603
+ }
1604
+ function FSharpSet__get_Choose(x) {
1605
+ return SetTreeModule_choose(FSharpSet__get_Tree(x));
1606
+ }
1607
+ function FSharpSet__get_MinimumElement(x) {
1608
+ return SetTreeModule_minimumElement(FSharpSet__get_Tree(x));
1609
+ }
1610
+ function FSharpSet__get_MaximumElement(x) {
1611
+ return SetTreeModule_maximumElement(FSharpSet__get_Tree(x));
1612
+ }
1613
+ function FSharpSet__IsSubsetOf(x, otherSet) {
1614
+ return SetTreeModule_subset(FSharpSet__get_Comparer(x), FSharpSet__get_Tree(x), FSharpSet__get_Tree(otherSet));
1615
+ }
1616
+ function FSharpSet__IsSupersetOf(x, otherSet) {
1617
+ return SetTreeModule_subset(FSharpSet__get_Comparer(x), FSharpSet__get_Tree(otherSet), FSharpSet__get_Tree(x));
1618
+ }
1619
+ function FSharpSet__IsProperSubsetOf(x, otherSet) {
1620
+ return SetTreeModule_properSubset(FSharpSet__get_Comparer(x), FSharpSet__get_Tree(x), FSharpSet__get_Tree(otherSet));
1621
+ }
1622
+ function FSharpSet__IsProperSupersetOf(x, otherSet) {
1623
+ return SetTreeModule_properSubset(FSharpSet__get_Comparer(x), FSharpSet__get_Tree(otherSet), FSharpSet__get_Tree(x));
1624
+ }
1625
+ function FSharpSet__ToList(x) {
1626
+ return SetTreeModule_toList(FSharpSet__get_Tree(x));
1627
+ }
1628
+ function FSharpSet__ToArray(x) {
1629
+ return SetTreeModule_toArray(FSharpSet__get_Tree(x));
1630
+ }
1133
1631
  function FSharpSet__ComputeHashCode(this$) {
1134
1632
  let res = 0;
1135
1633
  const enumerator = getEnumerator(this$);
@@ -1144,17 +1642,151 @@ function FSharpSet__ComputeHashCode(this$) {
1144
1642
  }
1145
1643
  return Math.abs(res) | 0;
1146
1644
  }
1645
+ function isEmpty(set$) {
1646
+ return FSharpSet__get_IsEmpty(set$);
1647
+ }
1147
1648
  function contains(element, set$) {
1148
1649
  return FSharpSet__Contains(set$, element);
1149
1650
  }
1651
+ function add(value, set$) {
1652
+ return FSharpSet__Add(set$, value);
1653
+ }
1654
+ function singleton(value, comparer) {
1655
+ return FSharpSet__Add(FSharpSet_Empty(comparer), value);
1656
+ }
1657
+ function remove(value, set$) {
1658
+ return FSharpSet__Remove(set$, value);
1659
+ }
1660
+ function union(set1, set2) {
1661
+ return FSharpSet_op_Addition(set1, set2);
1662
+ }
1150
1663
  function unionMany(sets, comparer) {
1151
- return fold$2(FSharpSet_op_Addition, FSharpSet_Empty(comparer), sets);
1664
+ return fold$3(FSharpSet_op_Addition, FSharpSet_Empty(comparer), sets);
1152
1665
  }
1153
1666
  function intersect(set1, set2) {
1154
1667
  return FSharpSet_Intersection(set1, set2);
1155
1668
  }
1669
+ function intersectMany(sets) {
1670
+ return FSharpSet_IntersectionMany(sets);
1671
+ }
1672
+ function iterate(action, set$) {
1673
+ FSharpSet__Iterate(set$, action);
1674
+ }
1675
+ function empty(comparer) {
1676
+ return FSharpSet_Empty(comparer);
1677
+ }
1678
+ function forAll(predicate, set$) {
1679
+ return FSharpSet__ForAll(set$, predicate);
1680
+ }
1681
+ function exists(predicate, set$) {
1682
+ return FSharpSet__Exists(set$, predicate);
1683
+ }
1684
+ function filter(predicate, set$) {
1685
+ return FSharpSet__Filter(set$, predicate);
1686
+ }
1687
+ function partition(predicate, set$) {
1688
+ return FSharpSet__Partition(set$, predicate);
1689
+ }
1690
+ function fold(folder, state, set$) {
1691
+ return SetTreeModule_fold(folder, state, FSharpSet__get_Tree(set$));
1692
+ }
1693
+ function foldBack(folder, set$, state) {
1694
+ return SetTreeModule_foldBack(folder, FSharpSet__get_Tree(set$), state);
1695
+ }
1696
+ function map(mapping, set$, comparer) {
1697
+ return FSharpSet__Map(set$, mapping, comparer);
1698
+ }
1699
+ function count(set$) {
1700
+ return FSharpSet__get_Count(set$);
1701
+ }
1702
+ function ofList(elements, comparer) {
1703
+ return FSharpSet_$ctor(comparer, SetTreeModule_ofSeq(comparer, elements));
1704
+ }
1705
+ function ofArray(array, comparer) {
1706
+ return FSharpSet_$ctor(comparer, SetTreeModule_ofArray(comparer, array));
1707
+ }
1708
+ function toList(set$) {
1709
+ return FSharpSet__ToList(set$);
1710
+ }
1711
+ function toArray(set$) {
1712
+ return FSharpSet__ToArray(set$);
1713
+ }
1714
+ function toSeq(set$) {
1715
+ return map$1((x) => x, set$);
1716
+ }
1156
1717
  function ofSeq(elements, comparer) {
1157
1718
  return FSharpSet_$ctor(comparer, SetTreeModule_ofSeq(comparer, elements));
1158
1719
  }
1720
+ function difference(set1, set2) {
1721
+ return FSharpSet_op_Subtraction(set1, set2);
1722
+ }
1723
+ function isSubset(set1, set2) {
1724
+ return SetTreeModule_subset(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set1), FSharpSet__get_Tree(set2));
1725
+ }
1726
+ function isSuperset(set1, set2) {
1727
+ return SetTreeModule_subset(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set2), FSharpSet__get_Tree(set1));
1728
+ }
1729
+ function isProperSubset(set1, set2) {
1730
+ return SetTreeModule_properSubset(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set1), FSharpSet__get_Tree(set2));
1731
+ }
1732
+ function isProperSuperset(set1, set2) {
1733
+ return SetTreeModule_properSubset(FSharpSet__get_Comparer(set1), FSharpSet__get_Tree(set2), FSharpSet__get_Tree(set1));
1734
+ }
1735
+ function minElement(set$) {
1736
+ return FSharpSet__get_MinimumElement(set$);
1737
+ }
1738
+ function maxElement(set$) {
1739
+ return FSharpSet__get_MaximumElement(set$);
1740
+ }
1741
+ function unionWith(s1, s2) {
1742
+ return fold$3((acc, x) => acc.add(x), s1, s2);
1743
+ }
1744
+ function newMutableSetWith(s1, s2) {
1745
+ if (s1 instanceof HashSet) {
1746
+ const s1_1 = s1;
1747
+ return HashSet_$ctor_Z6150332D(s2, HashSet__get_Comparer(s1_1));
1748
+ }
1749
+ else {
1750
+ return new Set(s2);
1751
+ }
1752
+ }
1753
+ function intersectWith(s1, s2) {
1754
+ const s2_1 = newMutableSetWith(s1, s2);
1755
+ iterate$1((x) => {
1756
+ if (!s2_1.has(x)) {
1757
+ s1.delete(x);
1758
+ }
1759
+ }, s1.values());
1760
+ }
1761
+ function exceptWith(s1, s2) {
1762
+ iterate$1((x) => {
1763
+ s1.delete(x);
1764
+ }, s2);
1765
+ }
1766
+ function isSubsetOf(s1, s2) {
1767
+ const s2_1 = newMutableSetWith(s1, s2);
1768
+ return forAll$1((value) => s2_1.has(value), s1.values());
1769
+ }
1770
+ function isSupersetOf(s1, s2) {
1771
+ return forAll$1((value) => s1.has(value), s2);
1772
+ }
1773
+ function isProperSubsetOf(s1, s2) {
1774
+ const s2_1 = newMutableSetWith(s1, s2);
1775
+ if (s2_1.size > s1.size) {
1776
+ return forAll$1((value) => s2_1.has(value), s1.values());
1777
+ }
1778
+ else {
1779
+ return false;
1780
+ }
1781
+ }
1782
+ function isProperSupersetOf(s1, s2) {
1783
+ const s2_1 = cache(s2);
1784
+ if (exists$1((arg) => !s1.has(arg), s2_1)) {
1785
+ return forAll$1((value_2) => s1.has(value_2), s2_1);
1786
+ }
1787
+ else {
1788
+ return false;
1789
+ }
1790
+ }
1159
1791
 
1160
- export { FSharpSet, FSharpSet_$ctor, FSharpSet_Empty, FSharpSet_Intersection, FSharpSet__ComputeHashCode, FSharpSet__Contains, FSharpSet__get_Comparer, FSharpSet__get_Count, FSharpSet__get_IsEmpty, FSharpSet__get_Tree, FSharpSet_op_Addition, SetTreeLeaf$1, SetTreeLeaf$1_$ctor_2B595, SetTreeLeaf$1__get_Key, SetTreeModule_SetIterator$1, SetTreeModule_add, SetTreeModule_alreadyFinished, SetTreeModule_balance, SetTreeModule_collapseLHS, SetTreeModule_compare, SetTreeModule_compareStacks, SetTreeModule_copyToArray, SetTreeModule_count, SetTreeModule_countAux, SetTreeModule_current, SetTreeModule_empty, SetTreeModule_intersection, SetTreeModule_intersectionAux, SetTreeModule_iter, SetTreeModule_mem, SetTreeModule_mk, SetTreeModule_mkFromEnumerator, SetTreeModule_mkIEnumerator, SetTreeModule_mkIterator, SetTreeModule_moveNext, SetTreeModule_notStarted, SetTreeModule_ofArray, SetTreeModule_ofList, SetTreeModule_ofSeq, SetTreeModule_rebalance, SetTreeModule_split, SetTreeModule_union, SetTreeNode$1, SetTreeNode$1_$ctor_5F465FC9, SetTreeNode$1__get_Height, SetTreeNode$1__get_Left, SetTreeNode$1__get_Right, contains, intersect, ofSeq, unionMany };
1792
+ export { FSharpSet, FSharpSet_$ctor, FSharpSet_$reflection, FSharpSet_Compare, FSharpSet_Empty, FSharpSet_Equality, FSharpSet_Intersection, FSharpSet_IntersectionMany, FSharpSet__Add, FSharpSet__ComputeHashCode, FSharpSet__Contains, FSharpSet__Exists, FSharpSet__Filter, FSharpSet__Fold, FSharpSet__ForAll, FSharpSet__IsProperSubsetOf, FSharpSet__IsProperSupersetOf, FSharpSet__IsSubsetOf, FSharpSet__IsSupersetOf, FSharpSet__Iterate, FSharpSet__Map, FSharpSet__Partition, FSharpSet__Remove, FSharpSet__ToArray, FSharpSet__ToList, FSharpSet__get_Choose, FSharpSet__get_Comparer, FSharpSet__get_Count, FSharpSet__get_IsEmpty, FSharpSet__get_MaximumElement, FSharpSet__get_MinimumElement, FSharpSet__get_Tree, FSharpSet_op_Addition, FSharpSet_op_Subtraction, SetTreeLeaf$1, SetTreeLeaf$1_$ctor_2B595, SetTreeLeaf$1_$reflection, SetTreeLeaf$1__get_Key, SetTreeModule_SetIterator$1, SetTreeModule_SetIterator$1_$reflection, SetTreeModule_add, SetTreeModule_alreadyFinished, SetTreeModule_balance, SetTreeModule_choose, SetTreeModule_collapseLHS, SetTreeModule_compare, SetTreeModule_compareStacks, SetTreeModule_copyToArray, SetTreeModule_count, SetTreeModule_countAux, SetTreeModule_current, SetTreeModule_diff, SetTreeModule_diffAux, SetTreeModule_empty, SetTreeModule_exists, SetTreeModule_filter, SetTreeModule_filterAux, SetTreeModule_fold, SetTreeModule_foldBack, SetTreeModule_foldBackOpt, SetTreeModule_foldOpt, SetTreeModule_forall, SetTreeModule_intersection, SetTreeModule_intersectionAux, SetTreeModule_iter, SetTreeModule_maximumElement, SetTreeModule_maximumElementAux, SetTreeModule_maximumElementOpt, SetTreeModule_mem, SetTreeModule_minimumElement, SetTreeModule_minimumElementAux, SetTreeModule_minimumElementOpt, SetTreeModule_mk, SetTreeModule_mkFromEnumerator, SetTreeModule_mkIEnumerator, SetTreeModule_mkIterator, SetTreeModule_moveNext, SetTreeModule_notStarted, SetTreeModule_ofArray, SetTreeModule_ofList, SetTreeModule_ofSeq, SetTreeModule_partition, SetTreeModule_partition1, SetTreeModule_partitionAux, SetTreeModule_properSubset, SetTreeModule_rebalance, SetTreeModule_remove, SetTreeModule_spliceOutSuccessor, SetTreeModule_split, SetTreeModule_subset, SetTreeModule_toArray, SetTreeModule_toList, SetTreeModule_union, SetTreeNode$1, SetTreeNode$1_$ctor_5F465FC9, SetTreeNode$1_$reflection, SetTreeNode$1__get_Height, SetTreeNode$1__get_Left, SetTreeNode$1__get_Right, add, contains, count, difference, empty, exceptWith, exists, filter, fold, foldBack, forAll, intersect, intersectMany, intersectWith, isEmpty, isProperSubset, isProperSubsetOf, isProperSuperset, isProperSupersetOf, isSubset, isSubsetOf, isSuperset, isSupersetOf, iterate, map, maxElement, minElement, newMutableSetWith, ofArray, ofList, ofSeq, partition, remove, singleton, toArray, toList, toSeq, union, unionMany, unionWith };