diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 7d5357267..a710b3d1f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1 +1 @@ -{".":"0.5.13","cli":"0.5.13","compiler":"0.5.13","stdlib":"0.5.13"} \ No newline at end of file +{".":"0.6.0","cli":"0.6.0","compiler":"0.6.0","stdlib":"0.6.0"} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 17b167b80..83c423e26 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,277 @@ # Changelog +## [0.6.0](https://github.com/grain-lang/grain/compare/grain-v0.5.13...grain-v0.6.0) (2024-03-04) + + +### ⚠ BREAKING CHANGES + +* **stdlib:** Replace `parseInt` error strings with structured error enum ([#1755](https://github.com/grain-lang/grain/issues/1755)) +* **stdlib:** Move stdlib `sys` modules to `wasi` ([#2056](https://github.com/grain-lang/grain/issues/2056)) +* **compiler:** Remove arbitrary per-file compiler flags, add acceptable options as module attributes ([#1804](https://github.com/grain-lang/grain/issues/1804)) +* **compiler:** Require extension when including relative file paths ([#1842](https://github.com/grain-lang/grain/issues/1842)) +* **compiler:** Update include syntax ([#2043](https://github.com/grain-lang/grain/issues/2043)) +* **stdlib:** Remove `sin`, `cos`, `tan`, `gamma`, `factorial` from `Number` module ([#2046](https://github.com/grain-lang/grain/issues/2046)) +* **compiler:** Update use syntax ([#2041](https://github.com/grain-lang/grain/issues/2041)) +* **grainfmt:** Implement new formatter ([#1976](https://github.com/grain-lang/grain/issues/1976)) +* **stdlib:** Use default arguments in more of stdlib ([#1772](https://github.com/grain-lang/grain/issues/1772)) +* **stdlib:** Add `print` suffix default argument ([#1768](https://github.com/grain-lang/grain/issues/1768)) +* **graindoc:** Allow `@since` and `@returns` once per export ([#1946](https://github.com/grain-lang/grain/issues/1946)) +* **graindoc:** Improve docgen for labeled & default arguments ([#1776](https://github.com/grain-lang/grain/issues/1776)) +* **stdlib:** Replace `Float64` arithmatic/comparison functions with operators ([#1957](https://github.com/grain-lang/grain/issues/1957)) +* **stdlib:** Replace `Float32` arithmatic/comparison functions with operators ([#1954](https://github.com/grain-lang/grain/issues/1954)) +* **stdlib:** Replace `Int64` arithmatic functions with operators ([#1935](https://github.com/grain-lang/grain/issues/1935)) +* **stdlib:** Replace `Int32` arithmatic functions with operators ([#1936](https://github.com/grain-lang/grain/issues/1936)) +* **stdlib:** Switch to using records for `getInternalStats` ([#1898](https://github.com/grain-lang/grain/issues/1898)) +* **cli:** Ensure `--use-start-section` can only be used with compile command ([#1871](https://github.com/grain-lang/grain/issues/1871)) +* **cli:** Allow specifying WASI environment variables and CLI args ([#1840](https://github.com/grain-lang/grain/issues/1840)) +* **compiler:** Require `module` prefix on `use`/`provide` for modules ([#1868](https://github.com/grain-lang/grain/issues/1868)) +* **stdlib:** Reorder parameters to `List.insert` ([#1857](https://github.com/grain-lang/grain/issues/1857)) +* **stdlib:** Handle printing of reference cycles ([#1844](https://github.com/grain-lang/grain/issues/1844)) +* **compiler:** Change `->` to `=>` in type signatures ([#1855](https://github.com/grain-lang/grain/issues/1855)) +* **compiler:** Make types nonrecursive by default ([#1826](https://github.com/grain-lang/grain/issues/1826)) +* **compiler:** Remove static runtime pointers ([#1806](https://github.com/grain-lang/grain/issues/1806)) +* **compiler:** Remove memory import from _genv ([#1830](https://github.com/grain-lang/grain/issues/1830)) +* **compiler:** Changed comma to `and` in mutually rec types +* **compiler:** Changed comma to `and` in recursive types and bindings ([#1827](https://github.com/grain-lang/grain/issues/1827)) +* Remove js-runner ([#1585](https://github.com/grain-lang/grain/issues/1585)) +* **stdlib:** Replace `Result`/`Option` `and`/`or` functions with operators ([#1821](https://github.com/grain-lang/grain/issues/1821)) +* **compiler:** Reduce size of runtime heap ([#1807](https://github.com/grain-lang/grain/issues/1807)) +* Require node version >=18.15 for WASI support ([#1612](https://github.com/grain-lang/grain/issues/1612)) +* **stdlib:** Ensure `Array.fillRange` works with negative indexing & throws IndexOutOfBound ([#1761](https://github.com/grain-lang/grain/issues/1761)) +* **compiler:** Disallow enum variants with parens but no types ([#1809](https://github.com/grain-lang/grain/issues/1809)) +* **stdlib:** Remove extra space when converting Bytes to String ([#1800](https://github.com/grain-lang/grain/issues/1800)) +* **stdlib:** Convert unsafe `Wasm` functions to operators ([#1734](https://github.com/grain-lang/grain/issues/1734)) +* **stdlib:** Use Array length as default end in `Array.slice` function ([#1762](https://github.com/grain-lang/grain/issues/1762)) +* **compiler:** Remove recursive_types and principal config ([#1751](https://github.com/grain-lang/grain/issues/1751)) +* **stdlib:** Use String length as default end in `String.slice` function ([#1748](https://github.com/grain-lang/grain/issues/1748)) +* Rework preopened directories ([#1656](https://github.com/grain-lang/grain/issues/1656)) +* **stdlib:** Group mutable/immutable data structures ([#1652](https://github.com/grain-lang/grain/issues/1652)) +* **compiler:** Optimize type metadata loading ([#1741](https://github.com/grain-lang/grain/issues/1741)) +* **compiler:** Labeled and default arguments ([#1623](https://github.com/grain-lang/grain/issues/1623)) +* **compiler:** Remove built-in FileDescriptor type ([#1747](https://github.com/grain-lang/grain/issues/1747)) +* **compiler:** Enable tail calls by default ([#1589](https://github.com/grain-lang/grain/issues/1589)) +* **stdlib:** Replace bigint/number arithmetic functions with operators ([#1742](https://github.com/grain-lang/grain/issues/1742)) +* **stdlib:** Update Operator `uint` operator Names ([#1738](https://github.com/grain-lang/grain/issues/1738)) +* **stdlib:** Provide empty byte array from Bytes.make ([#1729](https://github.com/grain-lang/grain/issues/1729)) +* **stdlib:** Add optimization for `Number.pow(Rational, Int)` ([#1716](https://github.com/grain-lang/grain/issues/1716)) +* **compiler:** Custom box printing ([#1713](https://github.com/grain-lang/grain/issues/1713)) +* **stdlib:** Update Buffer/Bytes to use new integer types ([#1704](https://github.com/grain-lang/grain/issues/1704)) +* **compiler:** Require floats always have a digit on left & right of dot ([#1703](https://github.com/grain-lang/grain/issues/1703)) +* **compiler:** Remove 32-bit numbers from `Number` type ([#1683](https://github.com/grain-lang/grain/issues/1683)) +* **compiler:** Short integer values ([#1669](https://github.com/grain-lang/grain/issues/1669)) +* **compiler:** Supply primitive types via the compiler ([#1667](https://github.com/grain-lang/grain/issues/1667)) +* **compiler:** Allocate closures only when necessary ([#1660](https://github.com/grain-lang/grain/issues/1660)) +* **stdlib:** Add `**` (pow) operator to Pervasives module ([#1690](https://github.com/grain-lang/grain/issues/1690)) +* **compiler:** Remove Exclusive/Inclusive Ranges, provide as record via compiler ([#1616](https://github.com/grain-lang/grain/issues/1616)) +* **stdlib:** Make queue and stack mutable & provide Immutable submodules ([#1479](https://github.com/grain-lang/grain/issues/1479)) +* **compiler:** Disallow multiple `provide`s of the same value ([#1689](https://github.com/grain-lang/grain/issues/1689)) +* **graindoc:** Only use original doc blocks when re-providing ([#1687](https://github.com/grain-lang/grain/issues/1687)) +* **graindoc:** Support docblocks on submodules ([#1684](https://github.com/grain-lang/grain/issues/1684)) +* **graindoc:** Remove section attribute ([#1681](https://github.com/grain-lang/grain/issues/1681)) +* **compiler:** Explicit abstract types ([#1680](https://github.com/grain-lang/grain/issues/1680)) +* **compiler:** Add Uint32 and Uint64 types ([#1531](https://github.com/grain-lang/grain/issues/1531)) +* **stdlib:** Remove `cons` and `empty` from Pervasives ([#1657](https://github.com/grain-lang/grain/issues/1657)) +* **stdlib:** Sys/File reading and writing operate on Bytes ([#1655](https://github.com/grain-lang/grain/issues/1655)) +* **compiler:** Make List a language-supplied type ([#1648](https://github.com/grain-lang/grain/issues/1648)) +* **stdlib:** Use correct casing for BigInt module name +* **graindoc:** Replace module attribute with docblock on module header ([#1647](https://github.com/grain-lang/grain/issues/1647)) +* **compiler:** Apply correct rules for parsing Unicode whitespace ([#1554](https://github.com/grain-lang/grain/issues/1554)) +* **compiler:** Module system ([#1584](https://github.com/grain-lang/grain/issues/1584)) +* **compiler:** Change Char internal representation ([#1622](https://github.com/grain-lang/grain/issues/1622)) +* **compiler:** Inline record constructors ([#1586](https://github.com/grain-lang/grain/issues/1586)) +* **stdlib:** Replace Number.nan & Number.infinity constants with keywords ([#1618](https://github.com/grain-lang/grain/issues/1618)) +* **compiler:** Remove support of single-argument tuples ([#1608](https://github.com/grain-lang/grain/issues/1608)) +* **compiler:** Rename `_grainEnv` to `_genv` ([#1607](https://github.com/grain-lang/grain/issues/1607)) +* **compiler:** Add `yield` and `macro` reserved keywords ([#1471](https://github.com/grain-lang/grain/issues/1471)) +* **compiler:** Implement `Infinity` and `NaN` syntax ([#1472](https://github.com/grain-lang/grain/issues/1472)) +* **stdlib:** `List.rotate` wraparound for count > length ([#1558](https://github.com/grain-lang/grain/issues/1558)) +* **compiler:** Early return ([#1464](https://github.com/grain-lang/grain/issues/1464)) +* **compiler:** Include Option and Result as language-supplied types ([#1591](https://github.com/grain-lang/grain/issues/1591)) +* **stdlib:** Change array rotation direction ([#1552](https://github.com/grain-lang/grain/issues/1552)) +* **stdlib:** Support zipping arrays of different sizes ([#1402](https://github.com/grain-lang/grain/issues/1402)) +* Remove --parser-debug-level ([#1311](https://github.com/grain-lang/grain/issues/1311)) (#1447) +* **compiler:** Refactor enum constructors ([#1211](https://github.com/grain-lang/grain/issues/1211)) + +### Features + +* Add `exception` opentype implementation to `Oprint` ([#1896](https://github.com/grain-lang/grain/issues/1896)) ([51d53f7](https://github.com/grain-lang/grain/commit/51d53f7e1f3f3bdb6508a8ad925887f9854cd84f)) +* Add Hex Exponent Decimals ([8a69eb3](https://github.com/grain-lang/grain/commit/8a69eb31e4e22e6148c42ecd0efb677f3fbb222c)) +* **ci:** Add builds for preview binaries ([#1777](https://github.com/grain-lang/grain/issues/1777)) ([d512c5a](https://github.com/grain-lang/grain/commit/d512c5ae7c314d4dd34394a81c8746c0641aff38)) +* **cli:** Allow specifying WASI environment variables and CLI args ([#1840](https://github.com/grain-lang/grain/issues/1840)) ([fb8fbf2](https://github.com/grain-lang/grain/commit/fb8fbf2b8ca2a024e3983d25b52443337ec9746a)) +* **cli:** Improve error handling around `grain run` ([#1913](https://github.com/grain-lang/grain/issues/1913)) ([fc9b434](https://github.com/grain-lang/grain/commit/fc9b434995a5521b6346534afe58cd38fdd7c59e)) +* **compiler:** Add `magic` primitive ([#1766](https://github.com/grain-lang/grain/issues/1766)) ([a28ebb4](https://github.com/grain-lang/grain/commit/a28ebb4e7404b3badb01dad40dc74c2919a4f79b)) +* **compiler:** Add `yield` and `macro` reserved keywords ([#1471](https://github.com/grain-lang/grain/issues/1471)) ([f0e29c5](https://github.com/grain-lang/grain/commit/f0e29c5e6d2fc3a4deb884816014fa4d90ee8f1b)) +* **compiler:** Add ability to match on low level wasm types ([#1588](https://github.com/grain-lang/grain/issues/1588)) ([0d30888](https://github.com/grain-lang/grain/commit/0d3088846bcf865d8c3aa4298db9148b071664fc)) +* **compiler:** Add hex float syntax ([#1743](https://github.com/grain-lang/grain/issues/1743)) ([8a69eb3](https://github.com/grain-lang/grain/commit/8a69eb31e4e22e6148c42ecd0efb677f3fbb222c)) +* **compiler:** Add stack allocation information to small ints ([#1780](https://github.com/grain-lang/grain/issues/1780)) ([6f1a1a9](https://github.com/grain-lang/grain/commit/6f1a1a9adf2b7a9e732f7503a0955938c6e65543)) +* **compiler:** Add Uint32 and Uint64 types ([#1531](https://github.com/grain-lang/grain/issues/1531)) ([42ffdc4](https://github.com/grain-lang/grain/commit/42ffdc408096901696abb6e3fa862b65d3d7e2a2)) +* **compiler:** Allocate closures only when necessary ([#1660](https://github.com/grain-lang/grain/issues/1660)) ([c40df12](https://github.com/grain-lang/grain/commit/c40df12b95f6f3a74bf89d637d60c64714b1d31e)) +* **compiler:** Allow a newline character after 'as' when aliasing ([#1641](https://github.com/grain-lang/grain/issues/1641)) ([2719034](https://github.com/grain-lang/grain/commit/27190343160fe99957a9ca7169c48c0d673c81ef)) +* **compiler:** Allow arrays to do binary operation assignment ([#1928](https://github.com/grain-lang/grain/issues/1928)) ([8a335ae](https://github.com/grain-lang/grain/commit/8a335ae1e3d9874131f1c6402e3bc4de6a9cfdb3)) +* **compiler:** Allow importing a memory ([#1661](https://github.com/grain-lang/grain/issues/1661)) ([3140ba2](https://github.com/grain-lang/grain/commit/3140ba249f47de8e66af236ddc681f4e9f481e1b)) +* **compiler:** Bytes literals ([#1662](https://github.com/grain-lang/grain/issues/1662)) ([3d8e4c5](https://github.com/grain-lang/grain/commit/3d8e4c5ee074e393eebeed82d2c4bd0590a0ad31)) +* **compiler:** Change `->` to `=>` in type signatures ([#1855](https://github.com/grain-lang/grain/issues/1855)) ([b3d68a4](https://github.com/grain-lang/grain/commit/b3d68a4f2e99222a69d7066164892077f83ebf8c)) +* **compiler:** Change Char internal representation ([#1622](https://github.com/grain-lang/grain/issues/1622)) ([58c9a51](https://github.com/grain-lang/grain/commit/58c9a5145a6c1c53e280657e4e41f79f2662eb8a)) +* **compiler:** Changed comma to `and` in mutually rec types ([923625d](https://github.com/grain-lang/grain/commit/923625dfaf276be894546e67db66a17d00df9f14)) +* **compiler:** Changed comma to `and` in recursive types and bindings ([#1827](https://github.com/grain-lang/grain/issues/1827)) ([923625d](https://github.com/grain-lang/grain/commit/923625dfaf276be894546e67db66a17d00df9f14)) +* **compiler:** Custom box printing ([#1713](https://github.com/grain-lang/grain/issues/1713)) ([3c86e45](https://github.com/grain-lang/grain/commit/3c86e459235ad9bf0abbefb575021736ad45f310)) +* **compiler:** Early return ([#1464](https://github.com/grain-lang/grain/issues/1464)) ([1bffc82](https://github.com/grain-lang/grain/commit/1bffc821002e10c6fcbfb0fcf65750cda5c1e29f)) +* **compiler:** Enable tail calls by default ([#1589](https://github.com/grain-lang/grain/issues/1589)) ([f6e5b00](https://github.com/grain-lang/grain/commit/f6e5b002475f62e04e9f1feb452ff8e9262dacbb)) +* **compiler:** Explicit abstract types ([#1680](https://github.com/grain-lang/grain/issues/1680)) ([58cd224](https://github.com/grain-lang/grain/commit/58cd2247441f16cfc95b415ad272da7a37b82fb5)) +* **compiler:** Implement `Infinity` and `NaN` syntax ([#1472](https://github.com/grain-lang/grain/issues/1472)) ([74a196d](https://github.com/grain-lang/grain/commit/74a196d947dea8a31e3f80154f952903f1f8bb89)) +* **compiler:** Include Option and Result as language-supplied types ([#1591](https://github.com/grain-lang/grain/issues/1591)) ([bd5403f](https://github.com/grain-lang/grain/commit/bd5403f94f30366adc7d3307adc3c6c4fa5e1803)) +* **compiler:** Inline record constructors ([#1586](https://github.com/grain-lang/grain/issues/1586)) ([43082f5](https://github.com/grain-lang/grain/commit/43082f52692d90b1419b6b72ebe66406a0a01d99)) +* **compiler:** Labeled and default arguments ([#1623](https://github.com/grain-lang/grain/issues/1623)) ([28a38ac](https://github.com/grain-lang/grain/commit/28a38ac149d396cd034b6c53b0aa3eb478ed29ed)) +* **compiler:** Make List a language-supplied type ([#1648](https://github.com/grain-lang/grain/issues/1648)) ([2ee1328](https://github.com/grain-lang/grain/commit/2ee13282427718d8849a334d085a3f833037127b)) +* **compiler:** Make types nonrecursive by default ([#1826](https://github.com/grain-lang/grain/issues/1826)) ([46b8a5a](https://github.com/grain-lang/grain/commit/46b8a5aaa384eb52b34b82faea5b0a06adc22568)) +* **compiler:** Module system ([#1584](https://github.com/grain-lang/grain/issues/1584)) ([752da69](https://github.com/grain-lang/grain/commit/752da69057b2b06a1415710d6da93fbb948e8185)) +* **compiler:** Propagate attribute locations to Anftree ([#1642](https://github.com/grain-lang/grain/issues/1642)) ([cce2821](https://github.com/grain-lang/grain/commit/cce2821e3b4bedbe8eef5a9814fed3eb24d7eccd)) +* **compiler:** Providing, including, reproviding exceptions ([#1849](https://github.com/grain-lang/grain/issues/1849)) ([687e747](https://github.com/grain-lang/grain/commit/687e747fb5d4c242d3bfceec6541ade58f6863a8)) +* **compiler:** Rational number type ([#1603](https://github.com/grain-lang/grain/issues/1603)) ([350f850](https://github.com/grain-lang/grain/commit/350f8503c3e6976275aaa8ee4d8c02554e7c238a)) +* **compiler:** Reduce size of runtime heap ([#1807](https://github.com/grain-lang/grain/issues/1807)) ([246f894](https://github.com/grain-lang/grain/commit/246f894951be6ee4f2cb13df3d851583efc1498d)) +* **compiler:** Refactor enum constructors ([#1211](https://github.com/grain-lang/grain/issues/1211)) ([8d465b7](https://github.com/grain-lang/grain/commit/8d465b7cd73d9549eeb89c7d52083d592ebd66fd)) +* **compiler:** Remove 32-bit numbers from `Number` type ([#1683](https://github.com/grain-lang/grain/issues/1683)) ([50bf8ee](https://github.com/grain-lang/grain/commit/50bf8ee39d017805091fe1ae7536621e956c03ce)) +* **compiler:** Remove arbitrary per-file compiler flags, add acceptable options as module attributes ([#1804](https://github.com/grain-lang/grain/issues/1804)) ([72b2139](https://github.com/grain-lang/grain/commit/72b21393b0c82669ff9005730cafb0b345a8a992)) +* **compiler:** Remove Exclusive/Inclusive Ranges, provide as record via compiler ([#1616](https://github.com/grain-lang/grain/issues/1616)) ([49a399d](https://github.com/grain-lang/grain/commit/49a399dbcfc24957a3875ae094ad0a2c4b636a32)) +* **compiler:** Remove Pervasives' dependency on toString when types are elided ([#1664](https://github.com/grain-lang/grain/issues/1664)) ([f703476](https://github.com/grain-lang/grain/commit/f703476db8d376d68a1c50fece48f335f455a791)) +* **compiler:** Remove support of single-argument tuples ([#1608](https://github.com/grain-lang/grain/issues/1608)) ([509cd85](https://github.com/grain-lang/grain/commit/509cd85801eb165c0ce65347047a0380f2304b25)) +* **compiler:** Require `module` prefix on `use`/`provide` for modules ([#1868](https://github.com/grain-lang/grain/issues/1868)) ([5efb54c](https://github.com/grain-lang/grain/commit/5efb54c199e674a3715779f97239b7b47744d88f)) +* **compiler:** Require extension when including relative file paths ([#1842](https://github.com/grain-lang/grain/issues/1842)) ([dde62d3](https://github.com/grain-lang/grain/commit/dde62d39c501bd25cccac6569b426406711a5735)) +* **compiler:** Short integer values ([#1669](https://github.com/grain-lang/grain/issues/1669)) ([fc4670d](https://github.com/grain-lang/grain/commit/fc4670de13c46dfac3def1ca59d718ffb36aca1c)) +* **compiler:** Streamlined reference counting ([#1714](https://github.com/grain-lang/grain/issues/1714)) ([0711868](https://github.com/grain-lang/grain/commit/071186801ccf7f6dc3eef653382f6d82b8b23b6c)) +* **compiler:** Supply primitive types via the compiler ([#1667](https://github.com/grain-lang/grain/issues/1667)) ([b41feb7](https://github.com/grain-lang/grain/commit/b41feb73976d4ef3d9c17c31f0dbcfc22df32d9d)) +* **compiler:** Suppress warnings about using fromNumber for Int32/64 and Float32/64 tests ([#1638](https://github.com/grain-lang/grain/issues/1638)) ([b687e31](https://github.com/grain-lang/grain/commit/b687e31d6e5d82260cb31f355253934da407d3c5)) +* **compiler:** Update include syntax ([#2043](https://github.com/grain-lang/grain/issues/2043)) ([5f44d4e](https://github.com/grain-lang/grain/commit/5f44d4e5a1cd432faddcfb1a138ac6a7797423fd)) +* **compiler:** Update use syntax ([#2041](https://github.com/grain-lang/grain/issues/2041)) ([cd346ab](https://github.com/grain-lang/grain/commit/cd346ab761aaa5e8e7692ebce1bae4e5e7e47f45)) +* **graindoc:** Add test harness ([#1767](https://github.com/grain-lang/grain/issues/1767)) ([8a93ebe](https://github.com/grain-lang/grain/commit/8a93ebeebafe5938448e7e2968c6a48b90d43e3c)) +* **graindoc:** Allow `[@since](https://github.com/since)` and `[@returns](https://github.com/returns)` once per export ([#1946](https://github.com/grain-lang/grain/issues/1946)) ([ad977aa](https://github.com/grain-lang/grain/commit/ad977aa3aa191692606e59e4971f93058ede42c9)) +* **graindoc:** Allow doc comments on variants and record fields ([#1852](https://github.com/grain-lang/grain/issues/1852)) ([53f770c](https://github.com/grain-lang/grain/commit/53f770c24ef9057b7b5e63d3dda75b166c28536d)) +* **graindoc:** Improve docgen for labeled & default arguments ([#1776](https://github.com/grain-lang/grain/issues/1776)) ([be7ff9d](https://github.com/grain-lang/grain/commit/be7ff9d9ec2237ad5028f8d9e3e2f10a6bd3f9dd)) +* **graindoc:** Only use original doc blocks when re-providing ([#1687](https://github.com/grain-lang/grain/issues/1687)) ([97c7ce4](https://github.com/grain-lang/grain/commit/97c7ce4dfb7e4474358a62c3699dd3edc121c961)) +* **graindoc:** Refactored Graindoc parser ([#1658](https://github.com/grain-lang/grain/issues/1658)) ([b447ced](https://github.com/grain-lang/grain/commit/b447cedc648ece5c5c892ff66172d2f264831647)) +* **graindoc:** Replace module attribute with docblock on module header ([#1647](https://github.com/grain-lang/grain/issues/1647)) ([2ff9d9e](https://github.com/grain-lang/grain/commit/2ff9d9ec49c727778c6d0ee74219f746df8a11e2)) +* **graindoc:** Support docblocks on submodules ([#1684](https://github.com/grain-lang/grain/issues/1684)) ([bc13017](https://github.com/grain-lang/grain/commit/bc1301751c90380e53c0ca9048a928468245d13c)) +* **grainfmt:** Implement new formatter ([#1976](https://github.com/grain-lang/grain/issues/1976)) ([1568aa0](https://github.com/grain-lang/grain/commit/1568aa06f625c4d91d9151e3f969ec648e8d4231)) +* **grainlsp:** Implement goto definition ([#1787](https://github.com/grain-lang/grain/issues/1787)) ([3cb862a](https://github.com/grain-lang/grain/commit/3cb862a9b7c046aeab22796ebd88de63d4853525)) +* **grainlsp:** Implement inlay hints for module includes ([#1793](https://github.com/grain-lang/grain/issues/1793)) ([408da76](https://github.com/grain-lang/grain/commit/408da761bd5945892ea19bb21833a15c1506cf6d)) +* **grainlsp:** Provide hovers on use statements ([#1688](https://github.com/grain-lang/grain/issues/1688)) ([c5cd21f](https://github.com/grain-lang/grain/commit/c5cd21fc3a6b703bb9de2c7a4c7834bd27a743a9)) +* **lsp:** Add hover for submodules ([#2028](https://github.com/grain-lang/grain/issues/2028)) ([85d8768](https://github.com/grain-lang/grain/commit/85d876864b7ae5d69609138b1a33904689347743)) +* **lsp:** Support goto definition on exceptions ([#1895](https://github.com/grain-lang/grain/issues/1895)) ([218b2f0](https://github.com/grain-lang/grain/commit/218b2f0f7f5f69d81c111abf9cbc2656e60a18be)) +* **lsp:** Support hover on `include` statements ([#1963](https://github.com/grain-lang/grain/issues/1963)) ([b6e1570](https://github.com/grain-lang/grain/commit/b6e15705c218b1f42b71da15e045e6472fad43cb)) +* Remove js-runner ([#1585](https://github.com/grain-lang/grain/issues/1585)) ([e10d612](https://github.com/grain-lang/grain/commit/e10d61295c42237b7b472cd3c5d07f2c5f28d79b)) +* Rework preopened directories ([#1656](https://github.com/grain-lang/grain/issues/1656)) ([7d3006d](https://github.com/grain-lang/grain/commit/7d3006d86d423a0bb03a600c6bf9726efc8394b9)) +* **runtime:** Allow modulo on floating point numbers ([#1914](https://github.com/grain-lang/grain/issues/1914)) ([f90d8af](https://github.com/grain-lang/grain/commit/f90d8af2ee2373b5420655c9e80826f56fffaa91)) +* **stdlib:** `List.rotate` wraparound for count > length ([#1558](https://github.com/grain-lang/grain/issues/1558)) ([6dd9680](https://github.com/grain-lang/grain/commit/6dd968009b5d700f2e31ed6f4b1074dbdc4299e7)) +* **stdlib:** Add `**` (pow) operator to Pervasives module ([#1690](https://github.com/grain-lang/grain/issues/1690)) ([b16b455](https://github.com/grain-lang/grain/commit/b16b4552952fd554657ac1b5bcc868dca0600476)) +* **stdlib:** Add `**` operator to `Int32` module ([#1938](https://github.com/grain-lang/grain/issues/1938)) ([32b9639](https://github.com/grain-lang/grain/commit/32b9639be58408d587f9c9c29a4b56857e6f328f)) +* **stdlib:** Add `**` operator to `Int64` module ([#1937](https://github.com/grain-lang/grain/issues/1937)) ([48de28b](https://github.com/grain-lang/grain/commit/48de28bba8be2e157cfb82e90e709759659ab3b4)) +* **stdlib:** Add `==` operator to `Queue` module ([#1931](https://github.com/grain-lang/grain/issues/1931)) ([3c0ea18](https://github.com/grain-lang/grain/commit/3c0ea189298d9bc4f14824a76814e9181e57a879)) +* **stdlib:** Add `addCharFromCodePoint` to Buffer module ([#1883](https://github.com/grain-lang/grain/issues/1883)) ([18b553a](https://github.com/grain-lang/grain/commit/18b553a6f69876941bc7153c4e44d4db5547d86b)) +* **stdlib:** Add `asin`, `acos`, `atan`, `isClose` to Number module ([#1699](https://github.com/grain-lang/grain/issues/1699)) ([353b544](https://github.com/grain-lang/grain/commit/353b544948861d39cbeef97273f661eed2e9748d)) +* **stdlib:** Add `atan2` to the `Number` module ([#2016](https://github.com/grain-lang/grain/issues/2016)) ([145b783](https://github.com/grain-lang/grain/commit/145b783f234d9f6d6bdbe730877a5a53d125cb93)) +* **stdlib:** Add `chunk` function to Array module ([#1708](https://github.com/grain-lang/grain/issues/1708)) ([fba7c1d](https://github.com/grain-lang/grain/commit/fba7c1d18447917d7544e780353684452321b38e)) +* **stdlib:** Add `fromArray` to `Queue` module ([#1932](https://github.com/grain-lang/grain/issues/1932)) ([1c35a94](https://github.com/grain-lang/grain/commit/1c35a9438008d40c8d3a49810131c69d9b8b97a0)) +* **stdlib:** Add `isEmpty` to `List` module ([#1860](https://github.com/grain-lang/grain/issues/1860)) ([7362189](https://github.com/grain-lang/grain/commit/736218950e7433512554f1b5fea4bc5cbfe97160)) +* **stdlib:** add `isEmpty` to `String` module ([#1861](https://github.com/grain-lang/grain/issues/1861)) ([e8cb932](https://github.com/grain-lang/grain/commit/e8cb93298cf8776876efc7972f09f0eef2d57c58)) +* **stdlib:** Add `Json` module ([#1133](https://github.com/grain-lang/grain/issues/1133)) ([5a6e4c6](https://github.com/grain-lang/grain/commit/5a6e4c6111ff84b3249436d485d4c45ef0a89d61)) +* **stdlib:** Add `linearInterpolate`, `linearMap` and `clamp` ([#1707](https://github.com/grain-lang/grain/issues/1707)) ([15842a1](https://github.com/grain-lang/grain/commit/15842a1030e9c0937d7cd697508b083ae06315a7)) +* **stdlib:** Add `print` suffix default argument ([#1768](https://github.com/grain-lang/grain/issues/1768)) ([6701170](https://github.com/grain-lang/grain/commit/6701170a1ecd91a8b7cb566d2ff99402d24c18e1)) +* **stdlib:** Add `toArray` to `Queue` ([#1930](https://github.com/grain-lang/grain/issues/1930)) ([7c865a4](https://github.com/grain-lang/grain/commit/7c865a46811ee078325f55ebcaa054c9f1920ff6)) +* **stdlib:** Add `toIntegerRatio` and `fromIntegerRatio` to Rational Library ([#1746](https://github.com/grain-lang/grain/issues/1746)) ([008a735](https://github.com/grain-lang/grain/commit/008a735051c02fbcd7bd47d7735937a61afd0cd6)) +* **stdlib:** Add `toList` and `fromList` functions to `Queue` module ([#1866](https://github.com/grain-lang/grain/issues/1866)) ([7cdcf95](https://github.com/grain-lang/grain/commit/7cdcf953d451396e56122bcf062019171102d8d6)) +* **stdlib:** Add `Uri` module ([#1970](https://github.com/grain-lang/grain/issues/1970)) ([5cf726e](https://github.com/grain-lang/grain/commit/5cf726edb06ef42a9c8c073fbd3407defe501a49)) +* **stdlib:** Add ASCII utilities to String, Char ([#1975](https://github.com/grain-lang/grain/issues/1975)) ([f65002d](https://github.com/grain-lang/grain/commit/f65002d8c16c927577a4593351882c0734dd9897)) +* **stdlib:** Add optimization for `Number.pow(Rational, Int)` ([#1716](https://github.com/grain-lang/grain/issues/1716)) ([67bee5c](https://github.com/grain-lang/grain/commit/67bee5c0982d35f0d6a1350e002b7062a498afe7)) +* **stdlib:** Change array rotation direction ([#1552](https://github.com/grain-lang/grain/issues/1552)) ([bbe56ad](https://github.com/grain-lang/grain/commit/bbe56ade517bd685d52384d32aecb94d25d379f7)) +* **stdlib:** Convert unsafe `Wasm` functions to operators ([#1734](https://github.com/grain-lang/grain/issues/1734)) ([114d17b](https://github.com/grain-lang/grain/commit/114d17be4463772bbc84ebc408e9cf2b482c6103)) +* **stdlib:** Handle printing of reference cycles ([#1844](https://github.com/grain-lang/grain/issues/1844)) ([49c854e](https://github.com/grain-lang/grain/commit/49c854eb428ebbe57db5a63d5e7f87faaded3159)) +* **stdlib:** Make queue and stack mutable & provide Immutable submodules ([#1479](https://github.com/grain-lang/grain/issues/1479)) ([979a20c](https://github.com/grain-lang/grain/commit/979a20ce6b734b90bc38c11ee6a4534ea8e555b8)) +* **stdlib:** Move stdlib `sys` modules to `wasi` ([#2056](https://github.com/grain-lang/grain/issues/2056)) ([ca75e38](https://github.com/grain-lang/grain/commit/ca75e38a2bbadd1a5e51f7ab344994d62c96ca4f)) +* **stdlib:** Provide empty byte array from Bytes.make ([#1729](https://github.com/grain-lang/grain/issues/1729)) ([fde3064](https://github.com/grain-lang/grain/commit/fde3064428fa2244e73932d5992ac722a26ebfe4)) +* **stdlib:** Remove parseInt dependency on Pervasives ([#1649](https://github.com/grain-lang/grain/issues/1649)) ([9408568](https://github.com/grain-lang/grain/commit/9408568a3457c2084afc22f958334e87a4183ccf)) +* **stdlib:** Reorder parameters to `List.insert` ([#1857](https://github.com/grain-lang/grain/issues/1857)) ([973f3f3](https://github.com/grain-lang/grain/commit/973f3f34c39a4ac7a552e378b84020d5c647ce86)) +* **stdlib:** Replace `Float32` arithmatic/comparison functions with operators ([#1954](https://github.com/grain-lang/grain/issues/1954)) ([52cc15a](https://github.com/grain-lang/grain/commit/52cc15a5251cd0003fcfbe243c7b7c940a61d429)) +* **stdlib:** Replace `Float64` arithmatic/comparison functions with operators ([#1957](https://github.com/grain-lang/grain/issues/1957)) ([dea4cb5](https://github.com/grain-lang/grain/commit/dea4cb54d10b9cecbf54ed30048c0937bc38cea2)) +* **stdlib:** Replace `Int32` arithmatic functions with operators ([#1936](https://github.com/grain-lang/grain/issues/1936)) ([8a69dd3](https://github.com/grain-lang/grain/commit/8a69dd393e002585464029a42a4362b6edfee662)) +* **stdlib:** Replace `Int64` arithmatic functions with operators ([#1935](https://github.com/grain-lang/grain/issues/1935)) ([cfb909c](https://github.com/grain-lang/grain/commit/cfb909c60d55d94eb869c389da28a8b3a1bc502f)) +* **stdlib:** Replace `Result`/`Option` `and`/`or` functions with operators ([#1821](https://github.com/grain-lang/grain/issues/1821)) ([686de7e](https://github.com/grain-lang/grain/commit/686de7ec3c83d092c7a0407657695e1bc671abd7)) +* **stdlib:** Simplify `equal` using `Memory.compare` ([#1972](https://github.com/grain-lang/grain/issues/1972)) ([dc21976](https://github.com/grain-lang/grain/commit/dc219763ebc7bcfcd6c411d7b2b1f152e5e87d6e)) +* **stdlib:** Support zipping arrays of different sizes ([#1402](https://github.com/grain-lang/grain/issues/1402)) ([b8ae3d6](https://github.com/grain-lang/grain/commit/b8ae3d69c98ada45bc592fb3097f21bc8a0d40bd)) +* **stdlib:** Use Array length as default end in `Array.slice` function ([#1762](https://github.com/grain-lang/grain/issues/1762)) ([a698fdc](https://github.com/grain-lang/grain/commit/a698fdc55ef45e8b0d156d5bb3cacc9e21d758ac)) +* **stdlib:** Use String length as default end in `String.slice` function ([#1748](https://github.com/grain-lang/grain/issues/1748)) ([b7c41a6](https://github.com/grain-lang/grain/commit/b7c41a6421dd0392bfec9f1791d9314556af9318)) + + +### Bug Fixes + +* **cli:** Correct typo in printing stack ([#1924](https://github.com/grain-lang/grain/issues/1924)) ([a4016f1](https://github.com/grain-lang/grain/commit/a4016f187e4d8148811459c0a8638c36bdff9349)) +* **cli:** Ensure `--use-start-section` can only be used with compile command ([#1871](https://github.com/grain-lang/grain/issues/1871)) ([d9227d7](https://github.com/grain-lang/grain/commit/d9227d7770b73338362d5699d2382e029fe3a5dc)) +* **cli:** Show correct error when module traps ([#2050](https://github.com/grain-lang/grain/issues/2050)) ([88560f2](https://github.com/grain-lang/grain/commit/88560f266a04403716fe49e87156c466a5a36802)) +* **compiler:** Allow early return in let bindings ([#1727](https://github.com/grain-lang/grain/issues/1727)) ([43adefe](https://github.com/grain-lang/grain/commit/43adefe7ff7e4ca7ba6f6f80889f66b557451888)) +* **compiler:** Allow providing values of types provided later ([#1897](https://github.com/grain-lang/grain/issues/1897)) ([1c43bd6](https://github.com/grain-lang/grain/commit/1c43bd60395b9ff024d9e8ebbbe6d517c2e30051)) +* **compiler:** Allow reproviding from submodules ([#1888](https://github.com/grain-lang/grain/issues/1888)) ([97c00e1](https://github.com/grain-lang/grain/commit/97c00e1e47bc783c6dad71b605f4a0d2ae3d11b9)) +* **compiler:** Apply correct rules for parsing Unicode whitespace ([#1554](https://github.com/grain-lang/grain/issues/1554)) ([4f19d71](https://github.com/grain-lang/grain/commit/4f19d71b6bbe7f2094fadbb9fbd99f1fd62e80ae)) +* **compiler:** Correct locations for data constructor idents ([#1752](https://github.com/grain-lang/grain/issues/1752)) ([d015a97](https://github.com/grain-lang/grain/commit/d015a978d7969994d09b7050f9f358fc5bba9d23)) +* **compiler:** Correct the warning suggestion for Float32 And Float64 values ([#1671](https://github.com/grain-lang/grain/issues/1671)) ([32e0397](https://github.com/grain-lang/grain/commit/32e03972660b451ad6f068281aee08ad0d958c27)) +* **compiler:** Correctly handle and backpatch mutually recursive closure scope functions ([#1808](https://github.com/grain-lang/grain/issues/1808)) ([c2a0c5b](https://github.com/grain-lang/grain/commit/c2a0c5baa7664a38ded3977455b8b9c2588c5034)) +* **compiler:** Disallow enum variants with parens but no types ([#1809](https://github.com/grain-lang/grain/issues/1809)) ([25e4946](https://github.com/grain-lang/grain/commit/25e494680ac048125748e9f696df83de974b9e72)) +* **compiler:** Disallow multiple `provide`s of the same value ([#1689](https://github.com/grain-lang/grain/issues/1689)) ([7ab7ddc](https://github.com/grain-lang/grain/commit/7ab7ddc1c7e9eae221edcf787b733ef7acf97904)) +* **compiler:** Ensure constant number locations are propagated correctly when parsing ([#2044](https://github.com/grain-lang/grain/issues/2044)) ([53a33e6](https://github.com/grain-lang/grain/commit/53a33e6c97d5ddf17fc88480622d993b1c86e631)) +* **compiler:** Ensure refcounts are maintained when tail calls use arguments multiple times ([#1993](https://github.com/grain-lang/grain/issues/1993)) ([86c6e12](https://github.com/grain-lang/grain/commit/86c6e12e0ab1f48347cfd57d3cb328fe1f6fac15)) +* **compiler:** Ensure reprovided types unify ([#2051](https://github.com/grain-lang/grain/issues/2051)) ([4c3203c](https://github.com/grain-lang/grain/commit/4c3203c9fd842f6f10bae8fcd41b889733ac3d7d)) +* **compiler:** Ensure the extension is chopped in the case of module name error ([#2060](https://github.com/grain-lang/grain/issues/2060)) ([5c79c84](https://github.com/grain-lang/grain/commit/5c79c8487b522c4f89ea4994105426b46d2bd04a)) +* **compiler:** Fix memory bug in universal exports ([#1663](https://github.com/grain-lang/grain/issues/1663)) ([87724f0](https://github.com/grain-lang/grain/commit/87724f0a2c1e0697a138ebb3f2ba98a337be88f5)) +* **compiler:** Inline record exception constructors ([#1709](https://github.com/grain-lang/grain/issues/1709)) ([ffd4d44](https://github.com/grain-lang/grain/commit/ffd4d44d0d341f9c835d24cbebe0ac4e317fe93b)) +* **compiler:** Properly apply well-formedness checks on patterns ([#1989](https://github.com/grain-lang/grain/issues/1989)) ([00abee8](https://github.com/grain-lang/grain/commit/00abee89e5dd40d658ff44b72c8c9ffc576cd628)) +* **compiler:** Properly handle parsing return of negative number ([#1611](https://github.com/grain-lang/grain/issues/1611)) ([0a5a97c](https://github.com/grain-lang/grain/commit/0a5a97c8fb7cfd3f6ac068fb343e66457381fc13)) +* **compiler:** Provide appropriate error for empty char literals ([#1728](https://github.com/grain-lang/grain/issues/1728)) ([e4dcda8](https://github.com/grain-lang/grain/commit/e4dcda8615b0c611ec201ac5f315e99b3ba1bfb3)) +* **compiler:** Provide full module interface in intermediate wasm files ([#1756](https://github.com/grain-lang/grain/issues/1756)) ([683f803](https://github.com/grain-lang/grain/commit/683f803885e1ea073b7693dc1446b379fc49d311)) +* **compiler:** Re-providing types ([#1874](https://github.com/grain-lang/grain/issues/1874)) ([6df9eb2](https://github.com/grain-lang/grain/commit/6df9eb24b740975be179cccee2bf70bac2414f33)) +* **compiler:** Remove number constant folding optimization ([#1676](https://github.com/grain-lang/grain/issues/1676)) ([181798d](https://github.com/grain-lang/grain/commit/181798db69e708c69ca08a24785de7c03b9c45ab)) +* **compiler:** Remove static runtime pointers ([#1806](https://github.com/grain-lang/grain/issues/1806)) ([8d76dc9](https://github.com/grain-lang/grain/commit/8d76dc917cf109e3b8496faca565fd9904fa0b22)) +* **compiler:** Supply correct locations for attributes ([#2048](https://github.com/grain-lang/grain/issues/2048)) ([b19df94](https://github.com/grain-lang/grain/commit/b19df94191e325def4c1ec8f9afb8cac4dcf56e0)) +* **compiler:** Support deeply nested types in modules ([#1673](https://github.com/grain-lang/grain/issues/1673)) ([b6651bb](https://github.com/grain-lang/grain/commit/b6651bbc589810dcea123920d9257d339307ed3d)) +* **compiler:** Type aliasing in `use` statements ([#1887](https://github.com/grain-lang/grain/issues/1887)) ([79ab814](https://github.com/grain-lang/grain/commit/79ab81404f38cc347c719ecd1c50b9658d424aaa)) +* Fix String.ReplaceAll ([#1705](https://github.com/grain-lang/grain/issues/1705)) ([d3af004](https://github.com/grain-lang/grain/commit/d3af0049f6910b10065ddd72c46e5364fe53c4ff)) +* **graindoc:** Escape * characters that would close markdown bold incorrectly ([3b6b5ca](https://github.com/grain-lang/grain/commit/3b6b5ca74e3b40a41206ba5f3d527166ea267ada)) +* **graindoc:** Escape * chars that would close markdown bold incorrectly ([#1685](https://github.com/grain-lang/grain/issues/1685)) ([3b6b5ca](https://github.com/grain-lang/grain/commit/3b6b5ca74e3b40a41206ba5f3d527166ea267ada)) +* **graindoc:** Use Markdown bold helper for each case of bolding ([#1695](https://github.com/grain-lang/grain/issues/1695)) ([d798433](https://github.com/grain-lang/grain/commit/d798433fbb99eace2f100c0cd94c78eb99b0cf93)) +* **lsp:** Fix lsp crash when hovering on function with default arg ([#1969](https://github.com/grain-lang/grain/issues/1969)) ([dd25d02](https://github.com/grain-lang/grain/commit/dd25d02675b93b36e17c1bfa37030c9cbff1dbb7)) +* **lsp:** Prevent lsp crash when module cannot be found ([#2003](https://github.com/grain-lang/grain/issues/2003)) ([e4b97ea](https://github.com/grain-lang/grain/commit/e4b97ea51a6a8aab92b1cf43de578ef7eb65415d)) +* **stdlib:** Ensure `Array.fillRange` works with negative indexing & throws IndexOutOfBound ([#1761](https://github.com/grain-lang/grain/issues/1761)) ([3c3c4d9](https://github.com/grain-lang/grain/commit/3c3c4d9ced8168287ecbd23ee71948c5592e3b66)) +* **stdlib:** Ensure consistent marshal representation ([#2045](https://github.com/grain-lang/grain/issues/2045)) ([029059f](https://github.com/grain-lang/grain/commit/029059fbeed185a2e467a014bbc313fda4b87c5e)) +* **stdlib:** Error when `relativeTo` used on relative source and absolute dest ([#2054](https://github.com/grain-lang/grain/issues/2054)) ([1626a1f](https://github.com/grain-lang/grain/commit/1626a1fd8b621c6bcc359dab48b4495a0db21e14)) +* **stdlib:** Fix overzealous Memory.fill in Buffer.truncate ([#1781](https://github.com/grain-lang/grain/issues/1781)) ([e1f24e9](https://github.com/grain-lang/grain/commit/e1f24e941a392f1ac6464683d71f87eab6787220)) +* **stdlib:** Properly handle extremely large integer bases in `Number.(**)` ([#1950](https://github.com/grain-lang/grain/issues/1950)) ([84c076f](https://github.com/grain-lang/grain/commit/84c076fb3b7b34a3fec6dfd2c527ca4833414ff4)) +* **stdlib:** Properly resize empty Queue on push ([#1865](https://github.com/grain-lang/grain/issues/1865)) ([f7727ef](https://github.com/grain-lang/grain/commit/f7727ef2158f63dc8c88a5b824b41e31495f0f51)) +* **stdlib:** Properly resize empty Stack on push ([#1867](https://github.com/grain-lang/grain/issues/1867)) ([b90d924](https://github.com/grain-lang/grain/commit/b90d924a38f8a7f82a7c972f8213ab9ec8561820)) +* **stdlib:** Remove extra space when converting Bytes to String ([#1800](https://github.com/grain-lang/grain/issues/1800)) ([543807b](https://github.com/grain-lang/grain/commit/543807b1156aecc93396c12121ada15f4d2bd046)) +* **stdlib:** Return early from `Process.argv()` if length is zero ([#1817](https://github.com/grain-lang/grain/issues/1817)) ([8ccea28](https://github.com/grain-lang/grain/commit/8ccea288feb7f981adaecd29ba1324fefb192b69)) +* **stdlib:** Sys/File reading and writing operate on Bytes ([#1655](https://github.com/grain-lang/grain/issues/1655)) ([17cb28d](https://github.com/grain-lang/grain/commit/17cb28d25f4b1f2cf8943429136c863f66447675)) +* **stdlib:** Use correct casing for BigInt module name ([2ff9d9e](https://github.com/grain-lang/grain/commit/2ff9d9ec49c727778c6d0ee74219f746df8a11e2)) + + +### Miscellaneous Chores + +* **compiler:** Optimize type metadata loading ([#1741](https://github.com/grain-lang/grain/issues/1741)) ([a4519bc](https://github.com/grain-lang/grain/commit/a4519bc88d9fe12159495e995fcaa74834d5a361)) +* **compiler:** Remove built-in FileDescriptor type ([#1747](https://github.com/grain-lang/grain/issues/1747)) ([d40e84a](https://github.com/grain-lang/grain/commit/d40e84a74479dfb2676005e8496369d36e4eaaba)) +* **compiler:** Remove memory import from _genv ([#1830](https://github.com/grain-lang/grain/issues/1830)) ([c6693dd](https://github.com/grain-lang/grain/commit/c6693dde9ce99fc8606754b859a5cc41dda4a52f)) +* **compiler:** Remove recursive_types and principal config ([#1751](https://github.com/grain-lang/grain/issues/1751)) ([534bdca](https://github.com/grain-lang/grain/commit/534bdcafe463128eca499c558459a9882478fb2a)) +* **compiler:** Rename `_grainEnv` to `_genv` ([#1607](https://github.com/grain-lang/grain/issues/1607)) ([73c9499](https://github.com/grain-lang/grain/commit/73c94997c7bd08324398ea87498d2b498c5bf658)) +* **compiler:** Require floats always have a digit on left & right of dot ([#1703](https://github.com/grain-lang/grain/issues/1703)) ([b657e1c](https://github.com/grain-lang/grain/commit/b657e1cf68d4b20bfb06d662b1fc8687836e5104)) +* **graindoc:** Remove section attribute ([#1681](https://github.com/grain-lang/grain/issues/1681)) ([e969ad7](https://github.com/grain-lang/grain/commit/e969ad75e017785d12decbbf87651bd8c7dd286d)) +* Remove --parser-debug-level ([#1311](https://github.com/grain-lang/grain/issues/1311)) ([#1447](https://github.com/grain-lang/grain/issues/1447)) ([f78587a](https://github.com/grain-lang/grain/commit/f78587a734538d66dfae94abbb7566b25810352b)) +* Require node version >=18.15 for WASI support ([#1612](https://github.com/grain-lang/grain/issues/1612)) ([331ffc2](https://github.com/grain-lang/grain/commit/331ffc28b57e7e52fc9e360d1d85f81d3a172d06)) +* **stdlib:** Group mutable/immutable data structures ([#1652](https://github.com/grain-lang/grain/issues/1652)) ([f93afef](https://github.com/grain-lang/grain/commit/f93afef3785910ebbedcf780ce2d6109299c2e86)) +* **stdlib:** Remove `cons` and `empty` from Pervasives ([#1657](https://github.com/grain-lang/grain/issues/1657)) ([f6f02bc](https://github.com/grain-lang/grain/commit/f6f02bcb5a196f7f611ee6604f8585d429368314)) +* **stdlib:** Remove `sin`, `cos`, `tan`, `gamma`, `factorial` from `Number` module ([#2046](https://github.com/grain-lang/grain/issues/2046)) ([85c4389](https://github.com/grain-lang/grain/commit/85c4389dee9f0760e40639df5112294cb4cc44cb)) +* **stdlib:** Replace `parseInt` error strings with structured error enum ([#1755](https://github.com/grain-lang/grain/issues/1755)) ([ea26d18](https://github.com/grain-lang/grain/commit/ea26d1814558730507517d4939abed6767aaaf24)) +* **stdlib:** Replace bigint/number arithmetic functions with operators ([#1742](https://github.com/grain-lang/grain/issues/1742)) ([cbd46ee](https://github.com/grain-lang/grain/commit/cbd46ee99654d066690f1eb13bde8d882abed80f)) +* **stdlib:** Replace Number.nan & Number.infinity constants with keywords ([#1618](https://github.com/grain-lang/grain/issues/1618)) ([b437c13](https://github.com/grain-lang/grain/commit/b437c131aedcc4395080179b8e0d41ff6b2c95b2)) +* **stdlib:** Switch to using records for `getInternalStats` ([#1898](https://github.com/grain-lang/grain/issues/1898)) ([bdb119a](https://github.com/grain-lang/grain/commit/bdb119a8234409c5425a2f8678d53237eb7af850)) +* **stdlib:** Update Buffer/Bytes to use new integer types ([#1704](https://github.com/grain-lang/grain/issues/1704)) ([d508e5a](https://github.com/grain-lang/grain/commit/d508e5af7d66e8419370000030ee40194052301f)) +* **stdlib:** Update Operator `uint` operator Names ([#1738](https://github.com/grain-lang/grain/issues/1738)) ([decb053](https://github.com/grain-lang/grain/commit/decb0533e87cb8d617e27c0f5470a24c502dcfab)) +* **stdlib:** Use default arguments in more of stdlib ([#1772](https://github.com/grain-lang/grain/issues/1772)) ([f5e934f](https://github.com/grain-lang/grain/commit/f5e934fc658427b698cfb3919c9b2ac411a0ce45)) + ### [0.5.13](https://github.com/grain-lang/grain/compare/grain-v0.5.12...grain-v0.5.13) (2023-01-07) diff --git a/cli/CHANGELOG.md b/cli/CHANGELOG.md index 97a95d062..7e3265406 100644 --- a/cli/CHANGELOG.md +++ b/cli/CHANGELOG.md @@ -1,5 +1,46 @@ # Changelog +## [0.6.0](https://github.com/grain-lang/grain/compare/cli-v0.5.13...cli-v0.6.0) (2024-03-04) + + +### ⚠ BREAKING CHANGES + +* **compiler:** Remove arbitrary per-file compiler flags, add acceptable options as module attributes ([#1804](https://github.com/grain-lang/grain/issues/1804)) +* **cli:** Ensure `--use-start-section` can only be used with compile command ([#1871](https://github.com/grain-lang/grain/issues/1871)) +* **cli:** Allow specifying WASI environment variables and CLI args ([#1840](https://github.com/grain-lang/grain/issues/1840)) +* Remove js-runner ([#1585](https://github.com/grain-lang/grain/issues/1585)) +* Require node version >=18.15 for WASI support ([#1612](https://github.com/grain-lang/grain/issues/1612)) +* **stdlib:** Convert unsafe `Wasm` functions to operators ([#1734](https://github.com/grain-lang/grain/issues/1734)) +* Rework preopened directories ([#1656](https://github.com/grain-lang/grain/issues/1656)) +* **compiler:** Enable tail calls by default ([#1589](https://github.com/grain-lang/grain/issues/1589)) +* **compiler:** Module system ([#1584](https://github.com/grain-lang/grain/issues/1584)) +* Remove --parser-debug-level ([#1311](https://github.com/grain-lang/grain/issues/1311)) (#1447) + +### Features + +* **cli:** Allow specifying WASI environment variables and CLI args ([#1840](https://github.com/grain-lang/grain/issues/1840)) ([fb8fbf2](https://github.com/grain-lang/grain/commit/fb8fbf2b8ca2a024e3983d25b52443337ec9746a)) +* **cli:** Improve error handling around `grain run` ([#1913](https://github.com/grain-lang/grain/issues/1913)) ([fc9b434](https://github.com/grain-lang/grain/commit/fc9b434995a5521b6346534afe58cd38fdd7c59e)) +* **compiler:** Allow importing a memory ([#1661](https://github.com/grain-lang/grain/issues/1661)) ([3140ba2](https://github.com/grain-lang/grain/commit/3140ba249f47de8e66af236ddc681f4e9f481e1b)) +* **compiler:** Enable tail calls by default ([#1589](https://github.com/grain-lang/grain/issues/1589)) ([f6e5b00](https://github.com/grain-lang/grain/commit/f6e5b002475f62e04e9f1feb452ff8e9262dacbb)) +* **compiler:** Module system ([#1584](https://github.com/grain-lang/grain/issues/1584)) ([752da69](https://github.com/grain-lang/grain/commit/752da69057b2b06a1415710d6da93fbb948e8185)) +* **compiler:** Remove arbitrary per-file compiler flags, add acceptable options as module attributes ([#1804](https://github.com/grain-lang/grain/issues/1804)) ([72b2139](https://github.com/grain-lang/grain/commit/72b21393b0c82669ff9005730cafb0b345a8a992)) +* Remove js-runner ([#1585](https://github.com/grain-lang/grain/issues/1585)) ([e10d612](https://github.com/grain-lang/grain/commit/e10d61295c42237b7b472cd3c5d07f2c5f28d79b)) +* Rework preopened directories ([#1656](https://github.com/grain-lang/grain/issues/1656)) ([7d3006d](https://github.com/grain-lang/grain/commit/7d3006d86d423a0bb03a600c6bf9726efc8394b9)) +* **stdlib:** Convert unsafe `Wasm` functions to operators ([#1734](https://github.com/grain-lang/grain/issues/1734)) ([114d17b](https://github.com/grain-lang/grain/commit/114d17be4463772bbc84ebc408e9cf2b482c6103)) + + +### Bug Fixes + +* **cli:** Correct typo in printing stack ([#1924](https://github.com/grain-lang/grain/issues/1924)) ([a4016f1](https://github.com/grain-lang/grain/commit/a4016f187e4d8148811459c0a8638c36bdff9349)) +* **cli:** Ensure `--use-start-section` can only be used with compile command ([#1871](https://github.com/grain-lang/grain/issues/1871)) ([d9227d7](https://github.com/grain-lang/grain/commit/d9227d7770b73338362d5699d2382e029fe3a5dc)) +* **cli:** Show correct error when module traps ([#2050](https://github.com/grain-lang/grain/issues/2050)) ([88560f2](https://github.com/grain-lang/grain/commit/88560f266a04403716fe49e87156c466a5a36802)) + + +### Miscellaneous Chores + +* Remove --parser-debug-level ([#1311](https://github.com/grain-lang/grain/issues/1311)) ([#1447](https://github.com/grain-lang/grain/issues/1447)) ([f78587a](https://github.com/grain-lang/grain/commit/f78587a734538d66dfae94abbb7566b25810352b)) +* Require node version >=18.15 for WASI support ([#1612](https://github.com/grain-lang/grain/issues/1612)) ([331ffc2](https://github.com/grain-lang/grain/commit/331ffc28b57e7e52fc9e360d1d85f81d3a172d06)) + ### [0.5.13](https://github.com/grain-lang/grain/compare/cli-v0.5.12...cli-v0.5.13) (2023-01-07) diff --git a/cli/package.json b/cli/package.json index c52595a82..e7d25dcd4 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@grain/cli", - "version": "0.5.13", + "version": "0.6.0", "description": "A command line tool for the Grain language.", "main": "index.js", "engines": { @@ -34,7 +34,7 @@ }, "homepage": "https://github.com/grain-lang/grain#readme", "dependencies": { - "@grain/stdlib": "0.5.13", + "@grain/stdlib": "0.6.0", "commander": "^8.1.0" }, "devDependencies": { diff --git a/compiler/CHANGELOG.md b/compiler/CHANGELOG.md index bc9a4ef09..838eac007 100644 --- a/compiler/CHANGELOG.md +++ b/compiler/CHANGELOG.md @@ -1,5 +1,265 @@ # Changelog +## [0.6.0](https://github.com/grain-lang/grain/compare/compiler-v0.5.13...compiler-v0.6.0) (2024-03-04) + + +### ⚠ BREAKING CHANGES + +* **stdlib:** Replace `parseInt` error strings with structured error enum ([#1755](https://github.com/grain-lang/grain/issues/1755)) +* **stdlib:** Move stdlib `sys` modules to `wasi` ([#2056](https://github.com/grain-lang/grain/issues/2056)) +* **compiler:** Remove arbitrary per-file compiler flags, add acceptable options as module attributes ([#1804](https://github.com/grain-lang/grain/issues/1804)) +* **compiler:** Require extension when including relative file paths ([#1842](https://github.com/grain-lang/grain/issues/1842)) +* **compiler:** Update include syntax ([#2043](https://github.com/grain-lang/grain/issues/2043)) +* **stdlib:** Remove `sin`, `cos`, `tan`, `gamma`, `factorial` from `Number` module ([#2046](https://github.com/grain-lang/grain/issues/2046)) +* **compiler:** Update use syntax ([#2041](https://github.com/grain-lang/grain/issues/2041)) +* **grainfmt:** Implement new formatter ([#1976](https://github.com/grain-lang/grain/issues/1976)) +* **stdlib:** Use default arguments in more of stdlib ([#1772](https://github.com/grain-lang/grain/issues/1772)) +* **stdlib:** Add `print` suffix default argument ([#1768](https://github.com/grain-lang/grain/issues/1768)) +* **graindoc:** Allow `@since` and `@returns` once per export ([#1946](https://github.com/grain-lang/grain/issues/1946)) +* **graindoc:** Improve docgen for labeled & default arguments ([#1776](https://github.com/grain-lang/grain/issues/1776)) +* **stdlib:** Replace `Float64` arithmatic/comparison functions with operators ([#1957](https://github.com/grain-lang/grain/issues/1957)) +* **stdlib:** Replace `Float32` arithmatic/comparison functions with operators ([#1954](https://github.com/grain-lang/grain/issues/1954)) +* **stdlib:** Replace `Int64` arithmatic functions with operators ([#1935](https://github.com/grain-lang/grain/issues/1935)) +* **stdlib:** Replace `Int32` arithmatic functions with operators ([#1936](https://github.com/grain-lang/grain/issues/1936)) +* **stdlib:** Switch to using records for `getInternalStats` ([#1898](https://github.com/grain-lang/grain/issues/1898)) +* **cli:** Allow specifying WASI environment variables and CLI args ([#1840](https://github.com/grain-lang/grain/issues/1840)) +* **compiler:** Require `module` prefix on `use`/`provide` for modules ([#1868](https://github.com/grain-lang/grain/issues/1868)) +* **stdlib:** Reorder parameters to `List.insert` ([#1857](https://github.com/grain-lang/grain/issues/1857)) +* **stdlib:** Handle printing of reference cycles ([#1844](https://github.com/grain-lang/grain/issues/1844)) +* **compiler:** Change `->` to `=>` in type signatures ([#1855](https://github.com/grain-lang/grain/issues/1855)) +* **compiler:** Make types nonrecursive by default ([#1826](https://github.com/grain-lang/grain/issues/1826)) +* **compiler:** Remove static runtime pointers ([#1806](https://github.com/grain-lang/grain/issues/1806)) +* **compiler:** Remove memory import from _genv ([#1830](https://github.com/grain-lang/grain/issues/1830)) +* **compiler:** Changed comma to `and` in mutually rec types +* **compiler:** Changed comma to `and` in recursive types and bindings ([#1827](https://github.com/grain-lang/grain/issues/1827)) +* Remove js-runner ([#1585](https://github.com/grain-lang/grain/issues/1585)) +* **stdlib:** Replace `Result`/`Option` `and`/`or` functions with operators ([#1821](https://github.com/grain-lang/grain/issues/1821)) +* Require node version >=18.15 for WASI support ([#1612](https://github.com/grain-lang/grain/issues/1612)) +* **stdlib:** Ensure `Array.fillRange` works with negative indexing & throws IndexOutOfBound ([#1761](https://github.com/grain-lang/grain/issues/1761)) +* **compiler:** Disallow enum variants with parens but no types ([#1809](https://github.com/grain-lang/grain/issues/1809)) +* **stdlib:** Remove extra space when converting Bytes to String ([#1800](https://github.com/grain-lang/grain/issues/1800)) +* **stdlib:** Convert unsafe `Wasm` functions to operators ([#1734](https://github.com/grain-lang/grain/issues/1734)) +* **stdlib:** Use Array length as default end in `Array.slice` function ([#1762](https://github.com/grain-lang/grain/issues/1762)) +* **compiler:** Remove recursive_types and principal config ([#1751](https://github.com/grain-lang/grain/issues/1751)) +* **stdlib:** Use String length as default end in `String.slice` function ([#1748](https://github.com/grain-lang/grain/issues/1748)) +* Rework preopened directories ([#1656](https://github.com/grain-lang/grain/issues/1656)) +* **stdlib:** Group mutable/immutable data structures ([#1652](https://github.com/grain-lang/grain/issues/1652)) +* **compiler:** Optimize type metadata loading ([#1741](https://github.com/grain-lang/grain/issues/1741)) +* **compiler:** Labeled and default arguments ([#1623](https://github.com/grain-lang/grain/issues/1623)) +* **compiler:** Remove built-in FileDescriptor type ([#1747](https://github.com/grain-lang/grain/issues/1747)) +* **compiler:** Enable tail calls by default ([#1589](https://github.com/grain-lang/grain/issues/1589)) +* **stdlib:** Replace bigint/number arithmetic functions with operators ([#1742](https://github.com/grain-lang/grain/issues/1742)) +* **stdlib:** Update Operator `uint` operator Names ([#1738](https://github.com/grain-lang/grain/issues/1738)) +* **stdlib:** Provide empty byte array from Bytes.make ([#1729](https://github.com/grain-lang/grain/issues/1729)) +* **stdlib:** Add optimization for `Number.pow(Rational, Int)` ([#1716](https://github.com/grain-lang/grain/issues/1716)) +* **compiler:** Custom box printing ([#1713](https://github.com/grain-lang/grain/issues/1713)) +* **stdlib:** Update Buffer/Bytes to use new integer types ([#1704](https://github.com/grain-lang/grain/issues/1704)) +* **compiler:** Require floats always have a digit on left & right of dot ([#1703](https://github.com/grain-lang/grain/issues/1703)) +* **compiler:** Remove 32-bit numbers from `Number` type ([#1683](https://github.com/grain-lang/grain/issues/1683)) +* **compiler:** Short integer values ([#1669](https://github.com/grain-lang/grain/issues/1669)) +* **compiler:** Supply primitive types via the compiler ([#1667](https://github.com/grain-lang/grain/issues/1667)) +* **compiler:** Allocate closures only when necessary ([#1660](https://github.com/grain-lang/grain/issues/1660)) +* **stdlib:** Add `**` (pow) operator to Pervasives module ([#1690](https://github.com/grain-lang/grain/issues/1690)) +* **compiler:** Remove Exclusive/Inclusive Ranges, provide as record via compiler ([#1616](https://github.com/grain-lang/grain/issues/1616)) +* **stdlib:** Make queue and stack mutable & provide Immutable submodules ([#1479](https://github.com/grain-lang/grain/issues/1479)) +* **compiler:** Disallow multiple `provide`s of the same value ([#1689](https://github.com/grain-lang/grain/issues/1689)) +* **graindoc:** Only use original doc blocks when re-providing ([#1687](https://github.com/grain-lang/grain/issues/1687)) +* **graindoc:** Support docblocks on submodules ([#1684](https://github.com/grain-lang/grain/issues/1684)) +* **graindoc:** Remove section attribute ([#1681](https://github.com/grain-lang/grain/issues/1681)) +* **compiler:** Explicit abstract types ([#1680](https://github.com/grain-lang/grain/issues/1680)) +* **compiler:** Add Uint32 and Uint64 types ([#1531](https://github.com/grain-lang/grain/issues/1531)) +* **stdlib:** Remove `cons` and `empty` from Pervasives ([#1657](https://github.com/grain-lang/grain/issues/1657)) +* **stdlib:** Sys/File reading and writing operate on Bytes ([#1655](https://github.com/grain-lang/grain/issues/1655)) +* **compiler:** Make List a language-supplied type ([#1648](https://github.com/grain-lang/grain/issues/1648)) +* **stdlib:** Use correct casing for BigInt module name +* **graindoc:** Replace module attribute with docblock on module header ([#1647](https://github.com/grain-lang/grain/issues/1647)) +* **compiler:** Apply correct rules for parsing Unicode whitespace ([#1554](https://github.com/grain-lang/grain/issues/1554)) +* **compiler:** Module system ([#1584](https://github.com/grain-lang/grain/issues/1584)) +* **compiler:** Change Char internal representation ([#1622](https://github.com/grain-lang/grain/issues/1622)) +* **compiler:** Inline record constructors ([#1586](https://github.com/grain-lang/grain/issues/1586)) +* **stdlib:** Replace Number.nan & Number.infinity constants with keywords ([#1618](https://github.com/grain-lang/grain/issues/1618)) +* **compiler:** Remove support of single-argument tuples ([#1608](https://github.com/grain-lang/grain/issues/1608)) +* **compiler:** Rename `_grainEnv` to `_genv` ([#1607](https://github.com/grain-lang/grain/issues/1607)) +* **compiler:** Add `yield` and `macro` reserved keywords ([#1471](https://github.com/grain-lang/grain/issues/1471)) +* **compiler:** Implement `Infinity` and `NaN` syntax ([#1472](https://github.com/grain-lang/grain/issues/1472)) +* **stdlib:** `List.rotate` wraparound for count > length ([#1558](https://github.com/grain-lang/grain/issues/1558)) +* **compiler:** Early return ([#1464](https://github.com/grain-lang/grain/issues/1464)) +* **compiler:** Include Option and Result as language-supplied types ([#1591](https://github.com/grain-lang/grain/issues/1591)) +* **stdlib:** Change array rotation direction ([#1552](https://github.com/grain-lang/grain/issues/1552)) +* **stdlib:** Support zipping arrays of different sizes ([#1402](https://github.com/grain-lang/grain/issues/1402)) +* Remove --parser-debug-level ([#1311](https://github.com/grain-lang/grain/issues/1311)) (#1447) +* **compiler:** Refactor enum constructors ([#1211](https://github.com/grain-lang/grain/issues/1211)) + +### Features + +* Add `exception` opentype implementation to `Oprint` ([#1896](https://github.com/grain-lang/grain/issues/1896)) ([51d53f7](https://github.com/grain-lang/grain/commit/51d53f7e1f3f3bdb6508a8ad925887f9854cd84f)) +* Add Hex Exponent Decimals ([8a69eb3](https://github.com/grain-lang/grain/commit/8a69eb31e4e22e6148c42ecd0efb677f3fbb222c)) +* **cli:** Allow specifying WASI environment variables and CLI args ([#1840](https://github.com/grain-lang/grain/issues/1840)) ([fb8fbf2](https://github.com/grain-lang/grain/commit/fb8fbf2b8ca2a024e3983d25b52443337ec9746a)) +* **compiler:** Add `magic` primitive ([#1766](https://github.com/grain-lang/grain/issues/1766)) ([a28ebb4](https://github.com/grain-lang/grain/commit/a28ebb4e7404b3badb01dad40dc74c2919a4f79b)) +* **compiler:** Add `yield` and `macro` reserved keywords ([#1471](https://github.com/grain-lang/grain/issues/1471)) ([f0e29c5](https://github.com/grain-lang/grain/commit/f0e29c5e6d2fc3a4deb884816014fa4d90ee8f1b)) +* **compiler:** Add ability to match on low level wasm types ([#1588](https://github.com/grain-lang/grain/issues/1588)) ([0d30888](https://github.com/grain-lang/grain/commit/0d3088846bcf865d8c3aa4298db9148b071664fc)) +* **compiler:** Add hex float syntax ([#1743](https://github.com/grain-lang/grain/issues/1743)) ([8a69eb3](https://github.com/grain-lang/grain/commit/8a69eb31e4e22e6148c42ecd0efb677f3fbb222c)) +* **compiler:** Add stack allocation information to small ints ([#1780](https://github.com/grain-lang/grain/issues/1780)) ([6f1a1a9](https://github.com/grain-lang/grain/commit/6f1a1a9adf2b7a9e732f7503a0955938c6e65543)) +* **compiler:** Add Uint32 and Uint64 types ([#1531](https://github.com/grain-lang/grain/issues/1531)) ([42ffdc4](https://github.com/grain-lang/grain/commit/42ffdc408096901696abb6e3fa862b65d3d7e2a2)) +* **compiler:** Allocate closures only when necessary ([#1660](https://github.com/grain-lang/grain/issues/1660)) ([c40df12](https://github.com/grain-lang/grain/commit/c40df12b95f6f3a74bf89d637d60c64714b1d31e)) +* **compiler:** Allow a newline character after 'as' when aliasing ([#1641](https://github.com/grain-lang/grain/issues/1641)) ([2719034](https://github.com/grain-lang/grain/commit/27190343160fe99957a9ca7169c48c0d673c81ef)) +* **compiler:** Allow arrays to do binary operation assignment ([#1928](https://github.com/grain-lang/grain/issues/1928)) ([8a335ae](https://github.com/grain-lang/grain/commit/8a335ae1e3d9874131f1c6402e3bc4de6a9cfdb3)) +* **compiler:** Allow importing a memory ([#1661](https://github.com/grain-lang/grain/issues/1661)) ([3140ba2](https://github.com/grain-lang/grain/commit/3140ba249f47de8e66af236ddc681f4e9f481e1b)) +* **compiler:** Bytes literals ([#1662](https://github.com/grain-lang/grain/issues/1662)) ([3d8e4c5](https://github.com/grain-lang/grain/commit/3d8e4c5ee074e393eebeed82d2c4bd0590a0ad31)) +* **compiler:** Change `->` to `=>` in type signatures ([#1855](https://github.com/grain-lang/grain/issues/1855)) ([b3d68a4](https://github.com/grain-lang/grain/commit/b3d68a4f2e99222a69d7066164892077f83ebf8c)) +* **compiler:** Change Char internal representation ([#1622](https://github.com/grain-lang/grain/issues/1622)) ([58c9a51](https://github.com/grain-lang/grain/commit/58c9a5145a6c1c53e280657e4e41f79f2662eb8a)) +* **compiler:** Changed comma to `and` in mutually rec types ([923625d](https://github.com/grain-lang/grain/commit/923625dfaf276be894546e67db66a17d00df9f14)) +* **compiler:** Changed comma to `and` in recursive types and bindings ([#1827](https://github.com/grain-lang/grain/issues/1827)) ([923625d](https://github.com/grain-lang/grain/commit/923625dfaf276be894546e67db66a17d00df9f14)) +* **compiler:** Custom box printing ([#1713](https://github.com/grain-lang/grain/issues/1713)) ([3c86e45](https://github.com/grain-lang/grain/commit/3c86e459235ad9bf0abbefb575021736ad45f310)) +* **compiler:** Early return ([#1464](https://github.com/grain-lang/grain/issues/1464)) ([1bffc82](https://github.com/grain-lang/grain/commit/1bffc821002e10c6fcbfb0fcf65750cda5c1e29f)) +* **compiler:** Enable tail calls by default ([#1589](https://github.com/grain-lang/grain/issues/1589)) ([f6e5b00](https://github.com/grain-lang/grain/commit/f6e5b002475f62e04e9f1feb452ff8e9262dacbb)) +* **compiler:** Explicit abstract types ([#1680](https://github.com/grain-lang/grain/issues/1680)) ([58cd224](https://github.com/grain-lang/grain/commit/58cd2247441f16cfc95b415ad272da7a37b82fb5)) +* **compiler:** Implement `Infinity` and `NaN` syntax ([#1472](https://github.com/grain-lang/grain/issues/1472)) ([74a196d](https://github.com/grain-lang/grain/commit/74a196d947dea8a31e3f80154f952903f1f8bb89)) +* **compiler:** Include Option and Result as language-supplied types ([#1591](https://github.com/grain-lang/grain/issues/1591)) ([bd5403f](https://github.com/grain-lang/grain/commit/bd5403f94f30366adc7d3307adc3c6c4fa5e1803)) +* **compiler:** Inline record constructors ([#1586](https://github.com/grain-lang/grain/issues/1586)) ([43082f5](https://github.com/grain-lang/grain/commit/43082f52692d90b1419b6b72ebe66406a0a01d99)) +* **compiler:** Labeled and default arguments ([#1623](https://github.com/grain-lang/grain/issues/1623)) ([28a38ac](https://github.com/grain-lang/grain/commit/28a38ac149d396cd034b6c53b0aa3eb478ed29ed)) +* **compiler:** Make List a language-supplied type ([#1648](https://github.com/grain-lang/grain/issues/1648)) ([2ee1328](https://github.com/grain-lang/grain/commit/2ee13282427718d8849a334d085a3f833037127b)) +* **compiler:** Make types nonrecursive by default ([#1826](https://github.com/grain-lang/grain/issues/1826)) ([46b8a5a](https://github.com/grain-lang/grain/commit/46b8a5aaa384eb52b34b82faea5b0a06adc22568)) +* **compiler:** Module system ([#1584](https://github.com/grain-lang/grain/issues/1584)) ([752da69](https://github.com/grain-lang/grain/commit/752da69057b2b06a1415710d6da93fbb948e8185)) +* **compiler:** Propagate attribute locations to Anftree ([#1642](https://github.com/grain-lang/grain/issues/1642)) ([cce2821](https://github.com/grain-lang/grain/commit/cce2821e3b4bedbe8eef5a9814fed3eb24d7eccd)) +* **compiler:** Providing, including, reproviding exceptions ([#1849](https://github.com/grain-lang/grain/issues/1849)) ([687e747](https://github.com/grain-lang/grain/commit/687e747fb5d4c242d3bfceec6541ade58f6863a8)) +* **compiler:** Rational number type ([#1603](https://github.com/grain-lang/grain/issues/1603)) ([350f850](https://github.com/grain-lang/grain/commit/350f8503c3e6976275aaa8ee4d8c02554e7c238a)) +* **compiler:** Refactor enum constructors ([#1211](https://github.com/grain-lang/grain/issues/1211)) ([8d465b7](https://github.com/grain-lang/grain/commit/8d465b7cd73d9549eeb89c7d52083d592ebd66fd)) +* **compiler:** Remove 32-bit numbers from `Number` type ([#1683](https://github.com/grain-lang/grain/issues/1683)) ([50bf8ee](https://github.com/grain-lang/grain/commit/50bf8ee39d017805091fe1ae7536621e956c03ce)) +* **compiler:** Remove arbitrary per-file compiler flags, add acceptable options as module attributes ([#1804](https://github.com/grain-lang/grain/issues/1804)) ([72b2139](https://github.com/grain-lang/grain/commit/72b21393b0c82669ff9005730cafb0b345a8a992)) +* **compiler:** Remove Exclusive/Inclusive Ranges, provide as record via compiler ([#1616](https://github.com/grain-lang/grain/issues/1616)) ([49a399d](https://github.com/grain-lang/grain/commit/49a399dbcfc24957a3875ae094ad0a2c4b636a32)) +* **compiler:** Remove Pervasives' dependency on toString when types are elided ([#1664](https://github.com/grain-lang/grain/issues/1664)) ([f703476](https://github.com/grain-lang/grain/commit/f703476db8d376d68a1c50fece48f335f455a791)) +* **compiler:** Remove support of single-argument tuples ([#1608](https://github.com/grain-lang/grain/issues/1608)) ([509cd85](https://github.com/grain-lang/grain/commit/509cd85801eb165c0ce65347047a0380f2304b25)) +* **compiler:** Require `module` prefix on `use`/`provide` for modules ([#1868](https://github.com/grain-lang/grain/issues/1868)) ([5efb54c](https://github.com/grain-lang/grain/commit/5efb54c199e674a3715779f97239b7b47744d88f)) +* **compiler:** Require extension when including relative file paths ([#1842](https://github.com/grain-lang/grain/issues/1842)) ([dde62d3](https://github.com/grain-lang/grain/commit/dde62d39c501bd25cccac6569b426406711a5735)) +* **compiler:** Short integer values ([#1669](https://github.com/grain-lang/grain/issues/1669)) ([fc4670d](https://github.com/grain-lang/grain/commit/fc4670de13c46dfac3def1ca59d718ffb36aca1c)) +* **compiler:** Streamlined reference counting ([#1714](https://github.com/grain-lang/grain/issues/1714)) ([0711868](https://github.com/grain-lang/grain/commit/071186801ccf7f6dc3eef653382f6d82b8b23b6c)) +* **compiler:** Supply primitive types via the compiler ([#1667](https://github.com/grain-lang/grain/issues/1667)) ([b41feb7](https://github.com/grain-lang/grain/commit/b41feb73976d4ef3d9c17c31f0dbcfc22df32d9d)) +* **compiler:** Suppress warnings about using fromNumber for Int32/64 and Float32/64 tests ([#1638](https://github.com/grain-lang/grain/issues/1638)) ([b687e31](https://github.com/grain-lang/grain/commit/b687e31d6e5d82260cb31f355253934da407d3c5)) +* **compiler:** Update include syntax ([#2043](https://github.com/grain-lang/grain/issues/2043)) ([5f44d4e](https://github.com/grain-lang/grain/commit/5f44d4e5a1cd432faddcfb1a138ac6a7797423fd)) +* **compiler:** Update use syntax ([#2041](https://github.com/grain-lang/grain/issues/2041)) ([cd346ab](https://github.com/grain-lang/grain/commit/cd346ab761aaa5e8e7692ebce1bae4e5e7e47f45)) +* **graindoc:** Add test harness ([#1767](https://github.com/grain-lang/grain/issues/1767)) ([8a93ebe](https://github.com/grain-lang/grain/commit/8a93ebeebafe5938448e7e2968c6a48b90d43e3c)) +* **graindoc:** Allow `[@since](https://github.com/since)` and `[@returns](https://github.com/returns)` once per export ([#1946](https://github.com/grain-lang/grain/issues/1946)) ([ad977aa](https://github.com/grain-lang/grain/commit/ad977aa3aa191692606e59e4971f93058ede42c9)) +* **graindoc:** Allow doc comments on variants and record fields ([#1852](https://github.com/grain-lang/grain/issues/1852)) ([53f770c](https://github.com/grain-lang/grain/commit/53f770c24ef9057b7b5e63d3dda75b166c28536d)) +* **graindoc:** Improve docgen for labeled & default arguments ([#1776](https://github.com/grain-lang/grain/issues/1776)) ([be7ff9d](https://github.com/grain-lang/grain/commit/be7ff9d9ec2237ad5028f8d9e3e2f10a6bd3f9dd)) +* **graindoc:** Only use original doc blocks when re-providing ([#1687](https://github.com/grain-lang/grain/issues/1687)) ([97c7ce4](https://github.com/grain-lang/grain/commit/97c7ce4dfb7e4474358a62c3699dd3edc121c961)) +* **graindoc:** Refactored Graindoc parser ([#1658](https://github.com/grain-lang/grain/issues/1658)) ([b447ced](https://github.com/grain-lang/grain/commit/b447cedc648ece5c5c892ff66172d2f264831647)) +* **graindoc:** Replace module attribute with docblock on module header ([#1647](https://github.com/grain-lang/grain/issues/1647)) ([2ff9d9e](https://github.com/grain-lang/grain/commit/2ff9d9ec49c727778c6d0ee74219f746df8a11e2)) +* **graindoc:** Support docblocks on submodules ([#1684](https://github.com/grain-lang/grain/issues/1684)) ([bc13017](https://github.com/grain-lang/grain/commit/bc1301751c90380e53c0ca9048a928468245d13c)) +* **grainfmt:** Implement new formatter ([#1976](https://github.com/grain-lang/grain/issues/1976)) ([1568aa0](https://github.com/grain-lang/grain/commit/1568aa06f625c4d91d9151e3f969ec648e8d4231)) +* **grainlsp:** Implement goto definition ([#1787](https://github.com/grain-lang/grain/issues/1787)) ([3cb862a](https://github.com/grain-lang/grain/commit/3cb862a9b7c046aeab22796ebd88de63d4853525)) +* **grainlsp:** Implement inlay hints for module includes ([#1793](https://github.com/grain-lang/grain/issues/1793)) ([408da76](https://github.com/grain-lang/grain/commit/408da761bd5945892ea19bb21833a15c1506cf6d)) +* **grainlsp:** Provide hovers on use statements ([#1688](https://github.com/grain-lang/grain/issues/1688)) ([c5cd21f](https://github.com/grain-lang/grain/commit/c5cd21fc3a6b703bb9de2c7a4c7834bd27a743a9)) +* **lsp:** Add hover for submodules ([#2028](https://github.com/grain-lang/grain/issues/2028)) ([85d8768](https://github.com/grain-lang/grain/commit/85d876864b7ae5d69609138b1a33904689347743)) +* **lsp:** Support goto definition on exceptions ([#1895](https://github.com/grain-lang/grain/issues/1895)) ([218b2f0](https://github.com/grain-lang/grain/commit/218b2f0f7f5f69d81c111abf9cbc2656e60a18be)) +* **lsp:** Support hover on `include` statements ([#1963](https://github.com/grain-lang/grain/issues/1963)) ([b6e1570](https://github.com/grain-lang/grain/commit/b6e15705c218b1f42b71da15e045e6472fad43cb)) +* Remove js-runner ([#1585](https://github.com/grain-lang/grain/issues/1585)) ([e10d612](https://github.com/grain-lang/grain/commit/e10d61295c42237b7b472cd3c5d07f2c5f28d79b)) +* Rework preopened directories ([#1656](https://github.com/grain-lang/grain/issues/1656)) ([7d3006d](https://github.com/grain-lang/grain/commit/7d3006d86d423a0bb03a600c6bf9726efc8394b9)) +* **runtime:** Allow modulo on floating point numbers ([#1914](https://github.com/grain-lang/grain/issues/1914)) ([f90d8af](https://github.com/grain-lang/grain/commit/f90d8af2ee2373b5420655c9e80826f56fffaa91)) +* **stdlib:** `List.rotate` wraparound for count > length ([#1558](https://github.com/grain-lang/grain/issues/1558)) ([6dd9680](https://github.com/grain-lang/grain/commit/6dd968009b5d700f2e31ed6f4b1074dbdc4299e7)) +* **stdlib:** Add `**` (pow) operator to Pervasives module ([#1690](https://github.com/grain-lang/grain/issues/1690)) ([b16b455](https://github.com/grain-lang/grain/commit/b16b4552952fd554657ac1b5bcc868dca0600476)) +* **stdlib:** Add `**` operator to `Int32` module ([#1938](https://github.com/grain-lang/grain/issues/1938)) ([32b9639](https://github.com/grain-lang/grain/commit/32b9639be58408d587f9c9c29a4b56857e6f328f)) +* **stdlib:** Add `**` operator to `Int64` module ([#1937](https://github.com/grain-lang/grain/issues/1937)) ([48de28b](https://github.com/grain-lang/grain/commit/48de28bba8be2e157cfb82e90e709759659ab3b4)) +* **stdlib:** Add `==` operator to `Queue` module ([#1931](https://github.com/grain-lang/grain/issues/1931)) ([3c0ea18](https://github.com/grain-lang/grain/commit/3c0ea189298d9bc4f14824a76814e9181e57a879)) +* **stdlib:** Add `addCharFromCodePoint` to Buffer module ([#1883](https://github.com/grain-lang/grain/issues/1883)) ([18b553a](https://github.com/grain-lang/grain/commit/18b553a6f69876941bc7153c4e44d4db5547d86b)) +* **stdlib:** Add `asin`, `acos`, `atan`, `isClose` to Number module ([#1699](https://github.com/grain-lang/grain/issues/1699)) ([353b544](https://github.com/grain-lang/grain/commit/353b544948861d39cbeef97273f661eed2e9748d)) +* **stdlib:** Add `atan2` to the `Number` module ([#2016](https://github.com/grain-lang/grain/issues/2016)) ([145b783](https://github.com/grain-lang/grain/commit/145b783f234d9f6d6bdbe730877a5a53d125cb93)) +* **stdlib:** Add `chunk` function to Array module ([#1708](https://github.com/grain-lang/grain/issues/1708)) ([fba7c1d](https://github.com/grain-lang/grain/commit/fba7c1d18447917d7544e780353684452321b38e)) +* **stdlib:** Add `fromArray` to `Queue` module ([#1932](https://github.com/grain-lang/grain/issues/1932)) ([1c35a94](https://github.com/grain-lang/grain/commit/1c35a9438008d40c8d3a49810131c69d9b8b97a0)) +* **stdlib:** Add `isEmpty` to `List` module ([#1860](https://github.com/grain-lang/grain/issues/1860)) ([7362189](https://github.com/grain-lang/grain/commit/736218950e7433512554f1b5fea4bc5cbfe97160)) +* **stdlib:** add `isEmpty` to `String` module ([#1861](https://github.com/grain-lang/grain/issues/1861)) ([e8cb932](https://github.com/grain-lang/grain/commit/e8cb93298cf8776876efc7972f09f0eef2d57c58)) +* **stdlib:** Add `Json` module ([#1133](https://github.com/grain-lang/grain/issues/1133)) ([5a6e4c6](https://github.com/grain-lang/grain/commit/5a6e4c6111ff84b3249436d485d4c45ef0a89d61)) +* **stdlib:** Add `linearInterpolate`, `linearMap` and `clamp` ([#1707](https://github.com/grain-lang/grain/issues/1707)) ([15842a1](https://github.com/grain-lang/grain/commit/15842a1030e9c0937d7cd697508b083ae06315a7)) +* **stdlib:** Add `print` suffix default argument ([#1768](https://github.com/grain-lang/grain/issues/1768)) ([6701170](https://github.com/grain-lang/grain/commit/6701170a1ecd91a8b7cb566d2ff99402d24c18e1)) +* **stdlib:** Add `toArray` to `Queue` ([#1930](https://github.com/grain-lang/grain/issues/1930)) ([7c865a4](https://github.com/grain-lang/grain/commit/7c865a46811ee078325f55ebcaa054c9f1920ff6)) +* **stdlib:** Add `toIntegerRatio` and `fromIntegerRatio` to Rational Library ([#1746](https://github.com/grain-lang/grain/issues/1746)) ([008a735](https://github.com/grain-lang/grain/commit/008a735051c02fbcd7bd47d7735937a61afd0cd6)) +* **stdlib:** Add `toList` and `fromList` functions to `Queue` module ([#1866](https://github.com/grain-lang/grain/issues/1866)) ([7cdcf95](https://github.com/grain-lang/grain/commit/7cdcf953d451396e56122bcf062019171102d8d6)) +* **stdlib:** Add `Uri` module ([#1970](https://github.com/grain-lang/grain/issues/1970)) ([5cf726e](https://github.com/grain-lang/grain/commit/5cf726edb06ef42a9c8c073fbd3407defe501a49)) +* **stdlib:** Add ASCII utilities to String, Char ([#1975](https://github.com/grain-lang/grain/issues/1975)) ([f65002d](https://github.com/grain-lang/grain/commit/f65002d8c16c927577a4593351882c0734dd9897)) +* **stdlib:** Add optimization for `Number.pow(Rational, Int)` ([#1716](https://github.com/grain-lang/grain/issues/1716)) ([67bee5c](https://github.com/grain-lang/grain/commit/67bee5c0982d35f0d6a1350e002b7062a498afe7)) +* **stdlib:** Change array rotation direction ([#1552](https://github.com/grain-lang/grain/issues/1552)) ([bbe56ad](https://github.com/grain-lang/grain/commit/bbe56ade517bd685d52384d32aecb94d25d379f7)) +* **stdlib:** Convert unsafe `Wasm` functions to operators ([#1734](https://github.com/grain-lang/grain/issues/1734)) ([114d17b](https://github.com/grain-lang/grain/commit/114d17be4463772bbc84ebc408e9cf2b482c6103)) +* **stdlib:** Handle printing of reference cycles ([#1844](https://github.com/grain-lang/grain/issues/1844)) ([49c854e](https://github.com/grain-lang/grain/commit/49c854eb428ebbe57db5a63d5e7f87faaded3159)) +* **stdlib:** Make queue and stack mutable & provide Immutable submodules ([#1479](https://github.com/grain-lang/grain/issues/1479)) ([979a20c](https://github.com/grain-lang/grain/commit/979a20ce6b734b90bc38c11ee6a4534ea8e555b8)) +* **stdlib:** Move stdlib `sys` modules to `wasi` ([#2056](https://github.com/grain-lang/grain/issues/2056)) ([ca75e38](https://github.com/grain-lang/grain/commit/ca75e38a2bbadd1a5e51f7ab344994d62c96ca4f)) +* **stdlib:** Provide empty byte array from Bytes.make ([#1729](https://github.com/grain-lang/grain/issues/1729)) ([fde3064](https://github.com/grain-lang/grain/commit/fde3064428fa2244e73932d5992ac722a26ebfe4)) +* **stdlib:** Reorder parameters to `List.insert` ([#1857](https://github.com/grain-lang/grain/issues/1857)) ([973f3f3](https://github.com/grain-lang/grain/commit/973f3f34c39a4ac7a552e378b84020d5c647ce86)) +* **stdlib:** Replace `Float32` arithmatic/comparison functions with operators ([#1954](https://github.com/grain-lang/grain/issues/1954)) ([52cc15a](https://github.com/grain-lang/grain/commit/52cc15a5251cd0003fcfbe243c7b7c940a61d429)) +* **stdlib:** Replace `Float64` arithmatic/comparison functions with operators ([#1957](https://github.com/grain-lang/grain/issues/1957)) ([dea4cb5](https://github.com/grain-lang/grain/commit/dea4cb54d10b9cecbf54ed30048c0937bc38cea2)) +* **stdlib:** Replace `Int32` arithmatic functions with operators ([#1936](https://github.com/grain-lang/grain/issues/1936)) ([8a69dd3](https://github.com/grain-lang/grain/commit/8a69dd393e002585464029a42a4362b6edfee662)) +* **stdlib:** Replace `Int64` arithmatic functions with operators ([#1935](https://github.com/grain-lang/grain/issues/1935)) ([cfb909c](https://github.com/grain-lang/grain/commit/cfb909c60d55d94eb869c389da28a8b3a1bc502f)) +* **stdlib:** Replace `Result`/`Option` `and`/`or` functions with operators ([#1821](https://github.com/grain-lang/grain/issues/1821)) ([686de7e](https://github.com/grain-lang/grain/commit/686de7ec3c83d092c7a0407657695e1bc671abd7)) +* **stdlib:** Support zipping arrays of different sizes ([#1402](https://github.com/grain-lang/grain/issues/1402)) ([b8ae3d6](https://github.com/grain-lang/grain/commit/b8ae3d69c98ada45bc592fb3097f21bc8a0d40bd)) +* **stdlib:** Use Array length as default end in `Array.slice` function ([#1762](https://github.com/grain-lang/grain/issues/1762)) ([a698fdc](https://github.com/grain-lang/grain/commit/a698fdc55ef45e8b0d156d5bb3cacc9e21d758ac)) +* **stdlib:** Use String length as default end in `String.slice` function ([#1748](https://github.com/grain-lang/grain/issues/1748)) ([b7c41a6](https://github.com/grain-lang/grain/commit/b7c41a6421dd0392bfec9f1791d9314556af9318)) + + +### Bug Fixes + +* **compiler:** Allow early return in let bindings ([#1727](https://github.com/grain-lang/grain/issues/1727)) ([43adefe](https://github.com/grain-lang/grain/commit/43adefe7ff7e4ca7ba6f6f80889f66b557451888)) +* **compiler:** Allow providing values of types provided later ([#1897](https://github.com/grain-lang/grain/issues/1897)) ([1c43bd6](https://github.com/grain-lang/grain/commit/1c43bd60395b9ff024d9e8ebbbe6d517c2e30051)) +* **compiler:** Allow reproviding from submodules ([#1888](https://github.com/grain-lang/grain/issues/1888)) ([97c00e1](https://github.com/grain-lang/grain/commit/97c00e1e47bc783c6dad71b605f4a0d2ae3d11b9)) +* **compiler:** Apply correct rules for parsing Unicode whitespace ([#1554](https://github.com/grain-lang/grain/issues/1554)) ([4f19d71](https://github.com/grain-lang/grain/commit/4f19d71b6bbe7f2094fadbb9fbd99f1fd62e80ae)) +* **compiler:** Correct locations for data constructor idents ([#1752](https://github.com/grain-lang/grain/issues/1752)) ([d015a97](https://github.com/grain-lang/grain/commit/d015a978d7969994d09b7050f9f358fc5bba9d23)) +* **compiler:** Correct the warning suggestion for Float32 And Float64 values ([#1671](https://github.com/grain-lang/grain/issues/1671)) ([32e0397](https://github.com/grain-lang/grain/commit/32e03972660b451ad6f068281aee08ad0d958c27)) +* **compiler:** Correctly handle and backpatch mutually recursive closure scope functions ([#1808](https://github.com/grain-lang/grain/issues/1808)) ([c2a0c5b](https://github.com/grain-lang/grain/commit/c2a0c5baa7664a38ded3977455b8b9c2588c5034)) +* **compiler:** Disallow enum variants with parens but no types ([#1809](https://github.com/grain-lang/grain/issues/1809)) ([25e4946](https://github.com/grain-lang/grain/commit/25e494680ac048125748e9f696df83de974b9e72)) +* **compiler:** Disallow multiple `provide`s of the same value ([#1689](https://github.com/grain-lang/grain/issues/1689)) ([7ab7ddc](https://github.com/grain-lang/grain/commit/7ab7ddc1c7e9eae221edcf787b733ef7acf97904)) +* **compiler:** Ensure constant number locations are propagated correctly when parsing ([#2044](https://github.com/grain-lang/grain/issues/2044)) ([53a33e6](https://github.com/grain-lang/grain/commit/53a33e6c97d5ddf17fc88480622d993b1c86e631)) +* **compiler:** Ensure refcounts are maintained when tail calls use arguments multiple times ([#1993](https://github.com/grain-lang/grain/issues/1993)) ([86c6e12](https://github.com/grain-lang/grain/commit/86c6e12e0ab1f48347cfd57d3cb328fe1f6fac15)) +* **compiler:** Ensure reprovided types unify ([#2051](https://github.com/grain-lang/grain/issues/2051)) ([4c3203c](https://github.com/grain-lang/grain/commit/4c3203c9fd842f6f10bae8fcd41b889733ac3d7d)) +* **compiler:** Ensure the extension is chopped in the case of module name error ([#2060](https://github.com/grain-lang/grain/issues/2060)) ([5c79c84](https://github.com/grain-lang/grain/commit/5c79c8487b522c4f89ea4994105426b46d2bd04a)) +* **compiler:** Fix memory bug in universal exports ([#1663](https://github.com/grain-lang/grain/issues/1663)) ([87724f0](https://github.com/grain-lang/grain/commit/87724f0a2c1e0697a138ebb3f2ba98a337be88f5)) +* **compiler:** Inline record exception constructors ([#1709](https://github.com/grain-lang/grain/issues/1709)) ([ffd4d44](https://github.com/grain-lang/grain/commit/ffd4d44d0d341f9c835d24cbebe0ac4e317fe93b)) +* **compiler:** Properly apply well-formedness checks on patterns ([#1989](https://github.com/grain-lang/grain/issues/1989)) ([00abee8](https://github.com/grain-lang/grain/commit/00abee89e5dd40d658ff44b72c8c9ffc576cd628)) +* **compiler:** Properly handle parsing return of negative number ([#1611](https://github.com/grain-lang/grain/issues/1611)) ([0a5a97c](https://github.com/grain-lang/grain/commit/0a5a97c8fb7cfd3f6ac068fb343e66457381fc13)) +* **compiler:** Provide appropriate error for empty char literals ([#1728](https://github.com/grain-lang/grain/issues/1728)) ([e4dcda8](https://github.com/grain-lang/grain/commit/e4dcda8615b0c611ec201ac5f315e99b3ba1bfb3)) +* **compiler:** Provide full module interface in intermediate wasm files ([#1756](https://github.com/grain-lang/grain/issues/1756)) ([683f803](https://github.com/grain-lang/grain/commit/683f803885e1ea073b7693dc1446b379fc49d311)) +* **compiler:** Re-providing types ([#1874](https://github.com/grain-lang/grain/issues/1874)) ([6df9eb2](https://github.com/grain-lang/grain/commit/6df9eb24b740975be179cccee2bf70bac2414f33)) +* **compiler:** Remove number constant folding optimization ([#1676](https://github.com/grain-lang/grain/issues/1676)) ([181798d](https://github.com/grain-lang/grain/commit/181798db69e708c69ca08a24785de7c03b9c45ab)) +* **compiler:** Remove static runtime pointers ([#1806](https://github.com/grain-lang/grain/issues/1806)) ([8d76dc9](https://github.com/grain-lang/grain/commit/8d76dc917cf109e3b8496faca565fd9904fa0b22)) +* **compiler:** Supply correct locations for attributes ([#2048](https://github.com/grain-lang/grain/issues/2048)) ([b19df94](https://github.com/grain-lang/grain/commit/b19df94191e325def4c1ec8f9afb8cac4dcf56e0)) +* **compiler:** Support deeply nested types in modules ([#1673](https://github.com/grain-lang/grain/issues/1673)) ([b6651bb](https://github.com/grain-lang/grain/commit/b6651bbc589810dcea123920d9257d339307ed3d)) +* **compiler:** Type aliasing in `use` statements ([#1887](https://github.com/grain-lang/grain/issues/1887)) ([79ab814](https://github.com/grain-lang/grain/commit/79ab81404f38cc347c719ecd1c50b9658d424aaa)) +* Fix String.ReplaceAll ([#1705](https://github.com/grain-lang/grain/issues/1705)) ([d3af004](https://github.com/grain-lang/grain/commit/d3af0049f6910b10065ddd72c46e5364fe53c4ff)) +* **graindoc:** Escape * characters that would close markdown bold incorrectly ([3b6b5ca](https://github.com/grain-lang/grain/commit/3b6b5ca74e3b40a41206ba5f3d527166ea267ada)) +* **graindoc:** Escape * chars that would close markdown bold incorrectly ([#1685](https://github.com/grain-lang/grain/issues/1685)) ([3b6b5ca](https://github.com/grain-lang/grain/commit/3b6b5ca74e3b40a41206ba5f3d527166ea267ada)) +* **graindoc:** Use Markdown bold helper for each case of bolding ([#1695](https://github.com/grain-lang/grain/issues/1695)) ([d798433](https://github.com/grain-lang/grain/commit/d798433fbb99eace2f100c0cd94c78eb99b0cf93)) +* **lsp:** Fix lsp crash when hovering on function with default arg ([#1969](https://github.com/grain-lang/grain/issues/1969)) ([dd25d02](https://github.com/grain-lang/grain/commit/dd25d02675b93b36e17c1bfa37030c9cbff1dbb7)) +* **lsp:** Prevent lsp crash when module cannot be found ([#2003](https://github.com/grain-lang/grain/issues/2003)) ([e4b97ea](https://github.com/grain-lang/grain/commit/e4b97ea51a6a8aab92b1cf43de578ef7eb65415d)) +* **stdlib:** Ensure `Array.fillRange` works with negative indexing & throws IndexOutOfBound ([#1761](https://github.com/grain-lang/grain/issues/1761)) ([3c3c4d9](https://github.com/grain-lang/grain/commit/3c3c4d9ced8168287ecbd23ee71948c5592e3b66)) +* **stdlib:** Ensure consistent marshal representation ([#2045](https://github.com/grain-lang/grain/issues/2045)) ([029059f](https://github.com/grain-lang/grain/commit/029059fbeed185a2e467a014bbc313fda4b87c5e)) +* **stdlib:** Error when `relativeTo` used on relative source and absolute dest ([#2054](https://github.com/grain-lang/grain/issues/2054)) ([1626a1f](https://github.com/grain-lang/grain/commit/1626a1fd8b621c6bcc359dab48b4495a0db21e14)) +* **stdlib:** Properly handle extremely large integer bases in `Number.(**)` ([#1950](https://github.com/grain-lang/grain/issues/1950)) ([84c076f](https://github.com/grain-lang/grain/commit/84c076fb3b7b34a3fec6dfd2c527ca4833414ff4)) +* **stdlib:** Properly resize empty Queue on push ([#1865](https://github.com/grain-lang/grain/issues/1865)) ([f7727ef](https://github.com/grain-lang/grain/commit/f7727ef2158f63dc8c88a5b824b41e31495f0f51)) +* **stdlib:** Properly resize empty Stack on push ([#1867](https://github.com/grain-lang/grain/issues/1867)) ([b90d924](https://github.com/grain-lang/grain/commit/b90d924a38f8a7f82a7c972f8213ab9ec8561820)) +* **stdlib:** Remove extra space when converting Bytes to String ([#1800](https://github.com/grain-lang/grain/issues/1800)) ([543807b](https://github.com/grain-lang/grain/commit/543807b1156aecc93396c12121ada15f4d2bd046)) +* **stdlib:** Sys/File reading and writing operate on Bytes ([#1655](https://github.com/grain-lang/grain/issues/1655)) ([17cb28d](https://github.com/grain-lang/grain/commit/17cb28d25f4b1f2cf8943429136c863f66447675)) +* **stdlib:** Use correct casing for BigInt module name ([2ff9d9e](https://github.com/grain-lang/grain/commit/2ff9d9ec49c727778c6d0ee74219f746df8a11e2)) + + +### Miscellaneous Chores + +* **compiler:** Optimize type metadata loading ([#1741](https://github.com/grain-lang/grain/issues/1741)) ([a4519bc](https://github.com/grain-lang/grain/commit/a4519bc88d9fe12159495e995fcaa74834d5a361)) +* **compiler:** Remove built-in FileDescriptor type ([#1747](https://github.com/grain-lang/grain/issues/1747)) ([d40e84a](https://github.com/grain-lang/grain/commit/d40e84a74479dfb2676005e8496369d36e4eaaba)) +* **compiler:** Remove memory import from _genv ([#1830](https://github.com/grain-lang/grain/issues/1830)) ([c6693dd](https://github.com/grain-lang/grain/commit/c6693dde9ce99fc8606754b859a5cc41dda4a52f)) +* **compiler:** Remove recursive_types and principal config ([#1751](https://github.com/grain-lang/grain/issues/1751)) ([534bdca](https://github.com/grain-lang/grain/commit/534bdcafe463128eca499c558459a9882478fb2a)) +* **compiler:** Rename `_grainEnv` to `_genv` ([#1607](https://github.com/grain-lang/grain/issues/1607)) ([73c9499](https://github.com/grain-lang/grain/commit/73c94997c7bd08324398ea87498d2b498c5bf658)) +* **compiler:** Require floats always have a digit on left & right of dot ([#1703](https://github.com/grain-lang/grain/issues/1703)) ([b657e1c](https://github.com/grain-lang/grain/commit/b657e1cf68d4b20bfb06d662b1fc8687836e5104)) +* **graindoc:** Remove section attribute ([#1681](https://github.com/grain-lang/grain/issues/1681)) ([e969ad7](https://github.com/grain-lang/grain/commit/e969ad75e017785d12decbbf87651bd8c7dd286d)) +* Remove --parser-debug-level ([#1311](https://github.com/grain-lang/grain/issues/1311)) ([#1447](https://github.com/grain-lang/grain/issues/1447)) ([f78587a](https://github.com/grain-lang/grain/commit/f78587a734538d66dfae94abbb7566b25810352b)) +* Require node version >=18.15 for WASI support ([#1612](https://github.com/grain-lang/grain/issues/1612)) ([331ffc2](https://github.com/grain-lang/grain/commit/331ffc28b57e7e52fc9e360d1d85f81d3a172d06)) +* **stdlib:** Group mutable/immutable data structures ([#1652](https://github.com/grain-lang/grain/issues/1652)) ([f93afef](https://github.com/grain-lang/grain/commit/f93afef3785910ebbedcf780ce2d6109299c2e86)) +* **stdlib:** Remove `cons` and `empty` from Pervasives ([#1657](https://github.com/grain-lang/grain/issues/1657)) ([f6f02bc](https://github.com/grain-lang/grain/commit/f6f02bcb5a196f7f611ee6604f8585d429368314)) +* **stdlib:** Remove `sin`, `cos`, `tan`, `gamma`, `factorial` from `Number` module ([#2046](https://github.com/grain-lang/grain/issues/2046)) ([85c4389](https://github.com/grain-lang/grain/commit/85c4389dee9f0760e40639df5112294cb4cc44cb)) +* **stdlib:** Replace `parseInt` error strings with structured error enum ([#1755](https://github.com/grain-lang/grain/issues/1755)) ([ea26d18](https://github.com/grain-lang/grain/commit/ea26d1814558730507517d4939abed6767aaaf24)) +* **stdlib:** Replace bigint/number arithmetic functions with operators ([#1742](https://github.com/grain-lang/grain/issues/1742)) ([cbd46ee](https://github.com/grain-lang/grain/commit/cbd46ee99654d066690f1eb13bde8d882abed80f)) +* **stdlib:** Replace Number.nan & Number.infinity constants with keywords ([#1618](https://github.com/grain-lang/grain/issues/1618)) ([b437c13](https://github.com/grain-lang/grain/commit/b437c131aedcc4395080179b8e0d41ff6b2c95b2)) +* **stdlib:** Switch to using records for `getInternalStats` ([#1898](https://github.com/grain-lang/grain/issues/1898)) ([bdb119a](https://github.com/grain-lang/grain/commit/bdb119a8234409c5425a2f8678d53237eb7af850)) +* **stdlib:** Update Buffer/Bytes to use new integer types ([#1704](https://github.com/grain-lang/grain/issues/1704)) ([d508e5a](https://github.com/grain-lang/grain/commit/d508e5af7d66e8419370000030ee40194052301f)) +* **stdlib:** Update Operator `uint` operator Names ([#1738](https://github.com/grain-lang/grain/issues/1738)) ([decb053](https://github.com/grain-lang/grain/commit/decb0533e87cb8d617e27c0f5470a24c502dcfab)) +* **stdlib:** Use default arguments in more of stdlib ([#1772](https://github.com/grain-lang/grain/issues/1772)) ([f5e934f](https://github.com/grain-lang/grain/commit/f5e934fc658427b698cfb3919c9b2ac411a0ce45)) + ### [0.5.13](https://github.com/grain-lang/grain/compare/compiler-v0.5.12...compiler-v0.5.13) (2023-01-07) diff --git a/compiler/dune-project b/compiler/dune-project index 16a92fbaa..20316405c 100644 --- a/compiler/dune-project +++ b/compiler/dune-project @@ -1,6 +1,6 @@ (lang dune 2.3) (name grain) -(version 0.5.13) +(version 0.6.0) (using menhir 2.0) ; Flip this to `true` when we want to generate opam files again diff --git a/compiler/esy.json b/compiler/esy.json index 9ca2cbfec..513b42600 100644 --- a/compiler/esy.json +++ b/compiler/esy.json @@ -1,6 +1,6 @@ { "name": "@grain/compiler", - "version": "0.5.13", + "version": "0.6.0", "esy": { "build": [ "dune build @native --no-buffer" diff --git a/compiler/package.json b/compiler/package.json index b575bdc15..c7eb46abd 100644 --- a/compiler/package.json +++ b/compiler/package.json @@ -1,7 +1,7 @@ { "name": "@grain/compiler", "private": true, - "version": "0.5.13", + "version": "0.6.0", "bin": { "grainc": "_esy/default/build/install/default/bin/grainc" }, diff --git a/package-lock.json b/package-lock.json index 73ebcb0e4..22793ccf7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "grain", - "version": "0.5.13", + "version": "0.6.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "grain", - "version": "0.5.13", + "version": "0.6.0", "workspaces": [ "cli", "stdlib", diff --git a/package.json b/package.json index 5d37e715a..eaea4af26 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grain", "private": true, - "version": "0.5.13", + "version": "0.6.0", "description": "The Grain monorepo.", "workspaces": [ "cli", diff --git a/stdlib/CHANGELOG.md b/stdlib/CHANGELOG.md index e5634b5d3..9a81fab27 100644 --- a/stdlib/CHANGELOG.md +++ b/stdlib/CHANGELOG.md @@ -1,5 +1,198 @@ # Changelog +## [0.6.0](https://github.com/grain-lang/grain/compare/stdlib-v0.5.13...stdlib-v0.6.0) (2024-03-04) + + +### ⚠ BREAKING CHANGES + +* **stdlib:** Replace `parseInt` error strings with structured error enum ([#1755](https://github.com/grain-lang/grain/issues/1755)) +* **stdlib:** Move stdlib `sys` modules to `wasi` ([#2056](https://github.com/grain-lang/grain/issues/2056)) +* **compiler:** Remove arbitrary per-file compiler flags, add acceptable options as module attributes ([#1804](https://github.com/grain-lang/grain/issues/1804)) +* **compiler:** Require extension when including relative file paths ([#1842](https://github.com/grain-lang/grain/issues/1842)) +* **compiler:** Update include syntax ([#2043](https://github.com/grain-lang/grain/issues/2043)) +* **stdlib:** Remove `sin`, `cos`, `tan`, `gamma`, `factorial` from `Number` module ([#2046](https://github.com/grain-lang/grain/issues/2046)) +* **compiler:** Update use syntax ([#2041](https://github.com/grain-lang/grain/issues/2041)) +* **grainfmt:** Implement new formatter ([#1976](https://github.com/grain-lang/grain/issues/1976)) +* **stdlib:** Use default arguments in more of stdlib ([#1772](https://github.com/grain-lang/grain/issues/1772)) +* **stdlib:** Add `print` suffix default argument ([#1768](https://github.com/grain-lang/grain/issues/1768)) +* **graindoc:** Improve docgen for labeled & default arguments ([#1776](https://github.com/grain-lang/grain/issues/1776)) +* **stdlib:** Replace `Float64` arithmatic/comparison functions with operators ([#1957](https://github.com/grain-lang/grain/issues/1957)) +* **stdlib:** Replace `Float32` arithmatic/comparison functions with operators ([#1954](https://github.com/grain-lang/grain/issues/1954)) +* **stdlib:** Replace `Int64` arithmatic functions with operators ([#1935](https://github.com/grain-lang/grain/issues/1935)) +* **stdlib:** Replace `Int32` arithmatic functions with operators ([#1936](https://github.com/grain-lang/grain/issues/1936)) +* **stdlib:** Switch to using records for `getInternalStats` ([#1898](https://github.com/grain-lang/grain/issues/1898)) +* **cli:** Allow specifying WASI environment variables and CLI args ([#1840](https://github.com/grain-lang/grain/issues/1840)) +* **stdlib:** Reorder parameters to `List.insert` ([#1857](https://github.com/grain-lang/grain/issues/1857)) +* **stdlib:** Handle printing of reference cycles ([#1844](https://github.com/grain-lang/grain/issues/1844)) +* **compiler:** Change `->` to `=>` in type signatures ([#1855](https://github.com/grain-lang/grain/issues/1855)) +* **compiler:** Make types nonrecursive by default ([#1826](https://github.com/grain-lang/grain/issues/1826)) +* **compiler:** Remove static runtime pointers ([#1806](https://github.com/grain-lang/grain/issues/1806)) +* **compiler:** Changed comma to `and` in mutually rec types +* **compiler:** Changed comma to `and` in recursive types and bindings ([#1827](https://github.com/grain-lang/grain/issues/1827)) +* Remove js-runner ([#1585](https://github.com/grain-lang/grain/issues/1585)) +* **stdlib:** Replace `Result`/`Option` `and`/`or` functions with operators ([#1821](https://github.com/grain-lang/grain/issues/1821)) +* **compiler:** Reduce size of runtime heap ([#1807](https://github.com/grain-lang/grain/issues/1807)) +* Require node version >=18.15 for WASI support ([#1612](https://github.com/grain-lang/grain/issues/1612)) +* **stdlib:** Ensure `Array.fillRange` works with negative indexing & throws IndexOutOfBound ([#1761](https://github.com/grain-lang/grain/issues/1761)) +* **stdlib:** Remove extra space when converting Bytes to String ([#1800](https://github.com/grain-lang/grain/issues/1800)) +* **stdlib:** Convert unsafe `Wasm` functions to operators ([#1734](https://github.com/grain-lang/grain/issues/1734)) +* **stdlib:** Use Array length as default end in `Array.slice` function ([#1762](https://github.com/grain-lang/grain/issues/1762)) +* **stdlib:** Use String length as default end in `String.slice` function ([#1748](https://github.com/grain-lang/grain/issues/1748)) +* Rework preopened directories ([#1656](https://github.com/grain-lang/grain/issues/1656)) +* **stdlib:** Group mutable/immutable data structures ([#1652](https://github.com/grain-lang/grain/issues/1652)) +* **compiler:** Optimize type metadata loading ([#1741](https://github.com/grain-lang/grain/issues/1741)) +* **compiler:** Labeled and default arguments ([#1623](https://github.com/grain-lang/grain/issues/1623)) +* **stdlib:** Replace bigint/number arithmetic functions with operators ([#1742](https://github.com/grain-lang/grain/issues/1742)) +* **stdlib:** Update Operator `uint` operator Names ([#1738](https://github.com/grain-lang/grain/issues/1738)) +* **stdlib:** Provide empty byte array from Bytes.make ([#1729](https://github.com/grain-lang/grain/issues/1729)) +* **stdlib:** Add optimization for `Number.pow(Rational, Int)` ([#1716](https://github.com/grain-lang/grain/issues/1716)) +* **compiler:** Custom box printing ([#1713](https://github.com/grain-lang/grain/issues/1713)) +* **stdlib:** Update Buffer/Bytes to use new integer types ([#1704](https://github.com/grain-lang/grain/issues/1704)) +* **compiler:** Require floats always have a digit on left & right of dot ([#1703](https://github.com/grain-lang/grain/issues/1703)) +* **compiler:** Remove 32-bit numbers from `Number` type ([#1683](https://github.com/grain-lang/grain/issues/1683)) +* **compiler:** Short integer values ([#1669](https://github.com/grain-lang/grain/issues/1669)) +* **compiler:** Supply primitive types via the compiler ([#1667](https://github.com/grain-lang/grain/issues/1667)) +* **stdlib:** Add `**` (pow) operator to Pervasives module ([#1690](https://github.com/grain-lang/grain/issues/1690)) +* **compiler:** Remove Exclusive/Inclusive Ranges, provide as record via compiler ([#1616](https://github.com/grain-lang/grain/issues/1616)) +* **stdlib:** Make queue and stack mutable & provide Immutable submodules ([#1479](https://github.com/grain-lang/grain/issues/1479)) +* **compiler:** Disallow multiple `provide`s of the same value ([#1689](https://github.com/grain-lang/grain/issues/1689)) +* **graindoc:** Only use original doc blocks when re-providing ([#1687](https://github.com/grain-lang/grain/issues/1687)) +* **graindoc:** Support docblocks on submodules ([#1684](https://github.com/grain-lang/grain/issues/1684)) +* **graindoc:** Remove section attribute ([#1681](https://github.com/grain-lang/grain/issues/1681)) +* **compiler:** Explicit abstract types ([#1680](https://github.com/grain-lang/grain/issues/1680)) +* **compiler:** Add Uint32 and Uint64 types ([#1531](https://github.com/grain-lang/grain/issues/1531)) +* **stdlib:** Remove `cons` and `empty` from Pervasives ([#1657](https://github.com/grain-lang/grain/issues/1657)) +* **stdlib:** Sys/File reading and writing operate on Bytes ([#1655](https://github.com/grain-lang/grain/issues/1655)) +* **compiler:** Make List a language-supplied type ([#1648](https://github.com/grain-lang/grain/issues/1648)) +* **stdlib:** Use correct casing for BigInt module name +* **graindoc:** Replace module attribute with docblock on module header ([#1647](https://github.com/grain-lang/grain/issues/1647)) +* **compiler:** Module system ([#1584](https://github.com/grain-lang/grain/issues/1584)) +* **compiler:** Change Char internal representation ([#1622](https://github.com/grain-lang/grain/issues/1622)) +* **compiler:** Inline record constructors ([#1586](https://github.com/grain-lang/grain/issues/1586)) +* **stdlib:** Replace Number.nan & Number.infinity constants with keywords ([#1618](https://github.com/grain-lang/grain/issues/1618)) +* **compiler:** Remove support of single-argument tuples ([#1608](https://github.com/grain-lang/grain/issues/1608)) +* **stdlib:** `List.rotate` wraparound for count > length ([#1558](https://github.com/grain-lang/grain/issues/1558)) +* **compiler:** Include Option and Result as language-supplied types ([#1591](https://github.com/grain-lang/grain/issues/1591)) +* **stdlib:** Change array rotation direction ([#1552](https://github.com/grain-lang/grain/issues/1552)) +* **stdlib:** Support zipping arrays of different sizes ([#1402](https://github.com/grain-lang/grain/issues/1402)) +* **compiler:** Refactor enum constructors ([#1211](https://github.com/grain-lang/grain/issues/1211)) + +### Features + +* Add Hex Exponent Decimals ([8a69eb3](https://github.com/grain-lang/grain/commit/8a69eb31e4e22e6148c42ecd0efb677f3fbb222c)) +* **cli:** Allow specifying WASI environment variables and CLI args ([#1840](https://github.com/grain-lang/grain/issues/1840)) ([fb8fbf2](https://github.com/grain-lang/grain/commit/fb8fbf2b8ca2a024e3983d25b52443337ec9746a)) +* **compiler:** Add hex float syntax ([#1743](https://github.com/grain-lang/grain/issues/1743)) ([8a69eb3](https://github.com/grain-lang/grain/commit/8a69eb31e4e22e6148c42ecd0efb677f3fbb222c)) +* **compiler:** Add Uint32 and Uint64 types ([#1531](https://github.com/grain-lang/grain/issues/1531)) ([42ffdc4](https://github.com/grain-lang/grain/commit/42ffdc408096901696abb6e3fa862b65d3d7e2a2)) +* **compiler:** Change `->` to `=>` in type signatures ([#1855](https://github.com/grain-lang/grain/issues/1855)) ([b3d68a4](https://github.com/grain-lang/grain/commit/b3d68a4f2e99222a69d7066164892077f83ebf8c)) +* **compiler:** Change Char internal representation ([#1622](https://github.com/grain-lang/grain/issues/1622)) ([58c9a51](https://github.com/grain-lang/grain/commit/58c9a5145a6c1c53e280657e4e41f79f2662eb8a)) +* **compiler:** Changed comma to `and` in mutually rec types ([923625d](https://github.com/grain-lang/grain/commit/923625dfaf276be894546e67db66a17d00df9f14)) +* **compiler:** Changed comma to `and` in recursive types and bindings ([#1827](https://github.com/grain-lang/grain/issues/1827)) ([923625d](https://github.com/grain-lang/grain/commit/923625dfaf276be894546e67db66a17d00df9f14)) +* **compiler:** Custom box printing ([#1713](https://github.com/grain-lang/grain/issues/1713)) ([3c86e45](https://github.com/grain-lang/grain/commit/3c86e459235ad9bf0abbefb575021736ad45f310)) +* **compiler:** Explicit abstract types ([#1680](https://github.com/grain-lang/grain/issues/1680)) ([58cd224](https://github.com/grain-lang/grain/commit/58cd2247441f16cfc95b415ad272da7a37b82fb5)) +* **compiler:** Include Option and Result as language-supplied types ([#1591](https://github.com/grain-lang/grain/issues/1591)) ([bd5403f](https://github.com/grain-lang/grain/commit/bd5403f94f30366adc7d3307adc3c6c4fa5e1803)) +* **compiler:** Inline record constructors ([#1586](https://github.com/grain-lang/grain/issues/1586)) ([43082f5](https://github.com/grain-lang/grain/commit/43082f52692d90b1419b6b72ebe66406a0a01d99)) +* **compiler:** Labeled and default arguments ([#1623](https://github.com/grain-lang/grain/issues/1623)) ([28a38ac](https://github.com/grain-lang/grain/commit/28a38ac149d396cd034b6c53b0aa3eb478ed29ed)) +* **compiler:** Make List a language-supplied type ([#1648](https://github.com/grain-lang/grain/issues/1648)) ([2ee1328](https://github.com/grain-lang/grain/commit/2ee13282427718d8849a334d085a3f833037127b)) +* **compiler:** Make types nonrecursive by default ([#1826](https://github.com/grain-lang/grain/issues/1826)) ([46b8a5a](https://github.com/grain-lang/grain/commit/46b8a5aaa384eb52b34b82faea5b0a06adc22568)) +* **compiler:** Module system ([#1584](https://github.com/grain-lang/grain/issues/1584)) ([752da69](https://github.com/grain-lang/grain/commit/752da69057b2b06a1415710d6da93fbb948e8185)) +* **compiler:** Rational number type ([#1603](https://github.com/grain-lang/grain/issues/1603)) ([350f850](https://github.com/grain-lang/grain/commit/350f8503c3e6976275aaa8ee4d8c02554e7c238a)) +* **compiler:** Reduce size of runtime heap ([#1807](https://github.com/grain-lang/grain/issues/1807)) ([246f894](https://github.com/grain-lang/grain/commit/246f894951be6ee4f2cb13df3d851583efc1498d)) +* **compiler:** Refactor enum constructors ([#1211](https://github.com/grain-lang/grain/issues/1211)) ([8d465b7](https://github.com/grain-lang/grain/commit/8d465b7cd73d9549eeb89c7d52083d592ebd66fd)) +* **compiler:** Remove 32-bit numbers from `Number` type ([#1683](https://github.com/grain-lang/grain/issues/1683)) ([50bf8ee](https://github.com/grain-lang/grain/commit/50bf8ee39d017805091fe1ae7536621e956c03ce)) +* **compiler:** Remove arbitrary per-file compiler flags, add acceptable options as module attributes ([#1804](https://github.com/grain-lang/grain/issues/1804)) ([72b2139](https://github.com/grain-lang/grain/commit/72b21393b0c82669ff9005730cafb0b345a8a992)) +* **compiler:** Remove Exclusive/Inclusive Ranges, provide as record via compiler ([#1616](https://github.com/grain-lang/grain/issues/1616)) ([49a399d](https://github.com/grain-lang/grain/commit/49a399dbcfc24957a3875ae094ad0a2c4b636a32)) +* **compiler:** Remove Pervasives' dependency on toString when types are elided ([#1664](https://github.com/grain-lang/grain/issues/1664)) ([f703476](https://github.com/grain-lang/grain/commit/f703476db8d376d68a1c50fece48f335f455a791)) +* **compiler:** Remove support of single-argument tuples ([#1608](https://github.com/grain-lang/grain/issues/1608)) ([509cd85](https://github.com/grain-lang/grain/commit/509cd85801eb165c0ce65347047a0380f2304b25)) +* **compiler:** Require extension when including relative file paths ([#1842](https://github.com/grain-lang/grain/issues/1842)) ([dde62d3](https://github.com/grain-lang/grain/commit/dde62d39c501bd25cccac6569b426406711a5735)) +* **compiler:** Short integer values ([#1669](https://github.com/grain-lang/grain/issues/1669)) ([fc4670d](https://github.com/grain-lang/grain/commit/fc4670de13c46dfac3def1ca59d718ffb36aca1c)) +* **compiler:** Streamlined reference counting ([#1714](https://github.com/grain-lang/grain/issues/1714)) ([0711868](https://github.com/grain-lang/grain/commit/071186801ccf7f6dc3eef653382f6d82b8b23b6c)) +* **compiler:** Supply primitive types via the compiler ([#1667](https://github.com/grain-lang/grain/issues/1667)) ([b41feb7](https://github.com/grain-lang/grain/commit/b41feb73976d4ef3d9c17c31f0dbcfc22df32d9d)) +* **compiler:** Update include syntax ([#2043](https://github.com/grain-lang/grain/issues/2043)) ([5f44d4e](https://github.com/grain-lang/grain/commit/5f44d4e5a1cd432faddcfb1a138ac6a7797423fd)) +* **compiler:** Update use syntax ([#2041](https://github.com/grain-lang/grain/issues/2041)) ([cd346ab](https://github.com/grain-lang/grain/commit/cd346ab761aaa5e8e7692ebce1bae4e5e7e47f45)) +* **graindoc:** Allow doc comments on variants and record fields ([#1852](https://github.com/grain-lang/grain/issues/1852)) ([53f770c](https://github.com/grain-lang/grain/commit/53f770c24ef9057b7b5e63d3dda75b166c28536d)) +* **graindoc:** Improve docgen for labeled & default arguments ([#1776](https://github.com/grain-lang/grain/issues/1776)) ([be7ff9d](https://github.com/grain-lang/grain/commit/be7ff9d9ec2237ad5028f8d9e3e2f10a6bd3f9dd)) +* **graindoc:** Only use original doc blocks when re-providing ([#1687](https://github.com/grain-lang/grain/issues/1687)) ([97c7ce4](https://github.com/grain-lang/grain/commit/97c7ce4dfb7e4474358a62c3699dd3edc121c961)) +* **graindoc:** Replace module attribute with docblock on module header ([#1647](https://github.com/grain-lang/grain/issues/1647)) ([2ff9d9e](https://github.com/grain-lang/grain/commit/2ff9d9ec49c727778c6d0ee74219f746df8a11e2)) +* **graindoc:** Support docblocks on submodules ([#1684](https://github.com/grain-lang/grain/issues/1684)) ([bc13017](https://github.com/grain-lang/grain/commit/bc1301751c90380e53c0ca9048a928468245d13c)) +* **grainfmt:** Implement new formatter ([#1976](https://github.com/grain-lang/grain/issues/1976)) ([1568aa0](https://github.com/grain-lang/grain/commit/1568aa06f625c4d91d9151e3f969ec648e8d4231)) +* Remove js-runner ([#1585](https://github.com/grain-lang/grain/issues/1585)) ([e10d612](https://github.com/grain-lang/grain/commit/e10d61295c42237b7b472cd3c5d07f2c5f28d79b)) +* Rework preopened directories ([#1656](https://github.com/grain-lang/grain/issues/1656)) ([7d3006d](https://github.com/grain-lang/grain/commit/7d3006d86d423a0bb03a600c6bf9726efc8394b9)) +* **runtime:** Allow modulo on floating point numbers ([#1914](https://github.com/grain-lang/grain/issues/1914)) ([f90d8af](https://github.com/grain-lang/grain/commit/f90d8af2ee2373b5420655c9e80826f56fffaa91)) +* **stdlib:** `List.rotate` wraparound for count > length ([#1558](https://github.com/grain-lang/grain/issues/1558)) ([6dd9680](https://github.com/grain-lang/grain/commit/6dd968009b5d700f2e31ed6f4b1074dbdc4299e7)) +* **stdlib:** Add `**` (pow) operator to Pervasives module ([#1690](https://github.com/grain-lang/grain/issues/1690)) ([b16b455](https://github.com/grain-lang/grain/commit/b16b4552952fd554657ac1b5bcc868dca0600476)) +* **stdlib:** Add `**` operator to `Int32` module ([#1938](https://github.com/grain-lang/grain/issues/1938)) ([32b9639](https://github.com/grain-lang/grain/commit/32b9639be58408d587f9c9c29a4b56857e6f328f)) +* **stdlib:** Add `**` operator to `Int64` module ([#1937](https://github.com/grain-lang/grain/issues/1937)) ([48de28b](https://github.com/grain-lang/grain/commit/48de28bba8be2e157cfb82e90e709759659ab3b4)) +* **stdlib:** Add `==` operator to `Queue` module ([#1931](https://github.com/grain-lang/grain/issues/1931)) ([3c0ea18](https://github.com/grain-lang/grain/commit/3c0ea189298d9bc4f14824a76814e9181e57a879)) +* **stdlib:** Add `addCharFromCodePoint` to Buffer module ([#1883](https://github.com/grain-lang/grain/issues/1883)) ([18b553a](https://github.com/grain-lang/grain/commit/18b553a6f69876941bc7153c4e44d4db5547d86b)) +* **stdlib:** Add `asin`, `acos`, `atan`, `isClose` to Number module ([#1699](https://github.com/grain-lang/grain/issues/1699)) ([353b544](https://github.com/grain-lang/grain/commit/353b544948861d39cbeef97273f661eed2e9748d)) +* **stdlib:** Add `atan2` to the `Number` module ([#2016](https://github.com/grain-lang/grain/issues/2016)) ([145b783](https://github.com/grain-lang/grain/commit/145b783f234d9f6d6bdbe730877a5a53d125cb93)) +* **stdlib:** Add `chunk` function to Array module ([#1708](https://github.com/grain-lang/grain/issues/1708)) ([fba7c1d](https://github.com/grain-lang/grain/commit/fba7c1d18447917d7544e780353684452321b38e)) +* **stdlib:** Add `fromArray` to `Queue` module ([#1932](https://github.com/grain-lang/grain/issues/1932)) ([1c35a94](https://github.com/grain-lang/grain/commit/1c35a9438008d40c8d3a49810131c69d9b8b97a0)) +* **stdlib:** Add `isEmpty` to `List` module ([#1860](https://github.com/grain-lang/grain/issues/1860)) ([7362189](https://github.com/grain-lang/grain/commit/736218950e7433512554f1b5fea4bc5cbfe97160)) +* **stdlib:** add `isEmpty` to `String` module ([#1861](https://github.com/grain-lang/grain/issues/1861)) ([e8cb932](https://github.com/grain-lang/grain/commit/e8cb93298cf8776876efc7972f09f0eef2d57c58)) +* **stdlib:** Add `Json` module ([#1133](https://github.com/grain-lang/grain/issues/1133)) ([5a6e4c6](https://github.com/grain-lang/grain/commit/5a6e4c6111ff84b3249436d485d4c45ef0a89d61)) +* **stdlib:** Add `linearInterpolate`, `linearMap` and `clamp` ([#1707](https://github.com/grain-lang/grain/issues/1707)) ([15842a1](https://github.com/grain-lang/grain/commit/15842a1030e9c0937d7cd697508b083ae06315a7)) +* **stdlib:** Add `print` suffix default argument ([#1768](https://github.com/grain-lang/grain/issues/1768)) ([6701170](https://github.com/grain-lang/grain/commit/6701170a1ecd91a8b7cb566d2ff99402d24c18e1)) +* **stdlib:** Add `toArray` to `Queue` ([#1930](https://github.com/grain-lang/grain/issues/1930)) ([7c865a4](https://github.com/grain-lang/grain/commit/7c865a46811ee078325f55ebcaa054c9f1920ff6)) +* **stdlib:** Add `toIntegerRatio` and `fromIntegerRatio` to Rational Library ([#1746](https://github.com/grain-lang/grain/issues/1746)) ([008a735](https://github.com/grain-lang/grain/commit/008a735051c02fbcd7bd47d7735937a61afd0cd6)) +* **stdlib:** Add `toList` and `fromList` functions to `Queue` module ([#1866](https://github.com/grain-lang/grain/issues/1866)) ([7cdcf95](https://github.com/grain-lang/grain/commit/7cdcf953d451396e56122bcf062019171102d8d6)) +* **stdlib:** Add `Uri` module ([#1970](https://github.com/grain-lang/grain/issues/1970)) ([5cf726e](https://github.com/grain-lang/grain/commit/5cf726edb06ef42a9c8c073fbd3407defe501a49)) +* **stdlib:** Add ASCII utilities to String, Char ([#1975](https://github.com/grain-lang/grain/issues/1975)) ([f65002d](https://github.com/grain-lang/grain/commit/f65002d8c16c927577a4593351882c0734dd9897)) +* **stdlib:** Add optimization for `Number.pow(Rational, Int)` ([#1716](https://github.com/grain-lang/grain/issues/1716)) ([67bee5c](https://github.com/grain-lang/grain/commit/67bee5c0982d35f0d6a1350e002b7062a498afe7)) +* **stdlib:** Change array rotation direction ([#1552](https://github.com/grain-lang/grain/issues/1552)) ([bbe56ad](https://github.com/grain-lang/grain/commit/bbe56ade517bd685d52384d32aecb94d25d379f7)) +* **stdlib:** Convert unsafe `Wasm` functions to operators ([#1734](https://github.com/grain-lang/grain/issues/1734)) ([114d17b](https://github.com/grain-lang/grain/commit/114d17be4463772bbc84ebc408e9cf2b482c6103)) +* **stdlib:** Handle printing of reference cycles ([#1844](https://github.com/grain-lang/grain/issues/1844)) ([49c854e](https://github.com/grain-lang/grain/commit/49c854eb428ebbe57db5a63d5e7f87faaded3159)) +* **stdlib:** Make queue and stack mutable & provide Immutable submodules ([#1479](https://github.com/grain-lang/grain/issues/1479)) ([979a20c](https://github.com/grain-lang/grain/commit/979a20ce6b734b90bc38c11ee6a4534ea8e555b8)) +* **stdlib:** Move stdlib `sys` modules to `wasi` ([#2056](https://github.com/grain-lang/grain/issues/2056)) ([ca75e38](https://github.com/grain-lang/grain/commit/ca75e38a2bbadd1a5e51f7ab344994d62c96ca4f)) +* **stdlib:** Provide empty byte array from Bytes.make ([#1729](https://github.com/grain-lang/grain/issues/1729)) ([fde3064](https://github.com/grain-lang/grain/commit/fde3064428fa2244e73932d5992ac722a26ebfe4)) +* **stdlib:** Remove parseInt dependency on Pervasives ([#1649](https://github.com/grain-lang/grain/issues/1649)) ([9408568](https://github.com/grain-lang/grain/commit/9408568a3457c2084afc22f958334e87a4183ccf)) +* **stdlib:** Reorder parameters to `List.insert` ([#1857](https://github.com/grain-lang/grain/issues/1857)) ([973f3f3](https://github.com/grain-lang/grain/commit/973f3f34c39a4ac7a552e378b84020d5c647ce86)) +* **stdlib:** Replace `Float32` arithmatic/comparison functions with operators ([#1954](https://github.com/grain-lang/grain/issues/1954)) ([52cc15a](https://github.com/grain-lang/grain/commit/52cc15a5251cd0003fcfbe243c7b7c940a61d429)) +* **stdlib:** Replace `Float64` arithmatic/comparison functions with operators ([#1957](https://github.com/grain-lang/grain/issues/1957)) ([dea4cb5](https://github.com/grain-lang/grain/commit/dea4cb54d10b9cecbf54ed30048c0937bc38cea2)) +* **stdlib:** Replace `Int32` arithmatic functions with operators ([#1936](https://github.com/grain-lang/grain/issues/1936)) ([8a69dd3](https://github.com/grain-lang/grain/commit/8a69dd393e002585464029a42a4362b6edfee662)) +* **stdlib:** Replace `Int64` arithmatic functions with operators ([#1935](https://github.com/grain-lang/grain/issues/1935)) ([cfb909c](https://github.com/grain-lang/grain/commit/cfb909c60d55d94eb869c389da28a8b3a1bc502f)) +* **stdlib:** Replace `Result`/`Option` `and`/`or` functions with operators ([#1821](https://github.com/grain-lang/grain/issues/1821)) ([686de7e](https://github.com/grain-lang/grain/commit/686de7ec3c83d092c7a0407657695e1bc671abd7)) +* **stdlib:** Simplify `equal` using `Memory.compare` ([#1972](https://github.com/grain-lang/grain/issues/1972)) ([dc21976](https://github.com/grain-lang/grain/commit/dc219763ebc7bcfcd6c411d7b2b1f152e5e87d6e)) +* **stdlib:** Support zipping arrays of different sizes ([#1402](https://github.com/grain-lang/grain/issues/1402)) ([b8ae3d6](https://github.com/grain-lang/grain/commit/b8ae3d69c98ada45bc592fb3097f21bc8a0d40bd)) +* **stdlib:** Use Array length as default end in `Array.slice` function ([#1762](https://github.com/grain-lang/grain/issues/1762)) ([a698fdc](https://github.com/grain-lang/grain/commit/a698fdc55ef45e8b0d156d5bb3cacc9e21d758ac)) +* **stdlib:** Use String length as default end in `String.slice` function ([#1748](https://github.com/grain-lang/grain/issues/1748)) ([b7c41a6](https://github.com/grain-lang/grain/commit/b7c41a6421dd0392bfec9f1791d9314556af9318)) + + +### Bug Fixes + +* **compiler:** Disallow multiple `provide`s of the same value ([#1689](https://github.com/grain-lang/grain/issues/1689)) ([7ab7ddc](https://github.com/grain-lang/grain/commit/7ab7ddc1c7e9eae221edcf787b733ef7acf97904)) +* **compiler:** Remove static runtime pointers ([#1806](https://github.com/grain-lang/grain/issues/1806)) ([8d76dc9](https://github.com/grain-lang/grain/commit/8d76dc917cf109e3b8496faca565fd9904fa0b22)) +* Fix String.ReplaceAll ([#1705](https://github.com/grain-lang/grain/issues/1705)) ([d3af004](https://github.com/grain-lang/grain/commit/d3af0049f6910b10065ddd72c46e5364fe53c4ff)) +* **stdlib:** Ensure `Array.fillRange` works with negative indexing & throws IndexOutOfBound ([#1761](https://github.com/grain-lang/grain/issues/1761)) ([3c3c4d9](https://github.com/grain-lang/grain/commit/3c3c4d9ced8168287ecbd23ee71948c5592e3b66)) +* **stdlib:** Ensure consistent marshal representation ([#2045](https://github.com/grain-lang/grain/issues/2045)) ([029059f](https://github.com/grain-lang/grain/commit/029059fbeed185a2e467a014bbc313fda4b87c5e)) +* **stdlib:** Error when `relativeTo` used on relative source and absolute dest ([#2054](https://github.com/grain-lang/grain/issues/2054)) ([1626a1f](https://github.com/grain-lang/grain/commit/1626a1fd8b621c6bcc359dab48b4495a0db21e14)) +* **stdlib:** Fix overzealous Memory.fill in Buffer.truncate ([#1781](https://github.com/grain-lang/grain/issues/1781)) ([e1f24e9](https://github.com/grain-lang/grain/commit/e1f24e941a392f1ac6464683d71f87eab6787220)) +* **stdlib:** Properly handle extremely large integer bases in `Number.(**)` ([#1950](https://github.com/grain-lang/grain/issues/1950)) ([84c076f](https://github.com/grain-lang/grain/commit/84c076fb3b7b34a3fec6dfd2c527ca4833414ff4)) +* **stdlib:** Properly resize empty Queue on push ([#1865](https://github.com/grain-lang/grain/issues/1865)) ([f7727ef](https://github.com/grain-lang/grain/commit/f7727ef2158f63dc8c88a5b824b41e31495f0f51)) +* **stdlib:** Properly resize empty Stack on push ([#1867](https://github.com/grain-lang/grain/issues/1867)) ([b90d924](https://github.com/grain-lang/grain/commit/b90d924a38f8a7f82a7c972f8213ab9ec8561820)) +* **stdlib:** Remove extra space when converting Bytes to String ([#1800](https://github.com/grain-lang/grain/issues/1800)) ([543807b](https://github.com/grain-lang/grain/commit/543807b1156aecc93396c12121ada15f4d2bd046)) +* **stdlib:** Return early from `Process.argv()` if length is zero ([#1817](https://github.com/grain-lang/grain/issues/1817)) ([8ccea28](https://github.com/grain-lang/grain/commit/8ccea288feb7f981adaecd29ba1324fefb192b69)) +* **stdlib:** Sys/File reading and writing operate on Bytes ([#1655](https://github.com/grain-lang/grain/issues/1655)) ([17cb28d](https://github.com/grain-lang/grain/commit/17cb28d25f4b1f2cf8943429136c863f66447675)) +* **stdlib:** Use correct casing for BigInt module name ([2ff9d9e](https://github.com/grain-lang/grain/commit/2ff9d9ec49c727778c6d0ee74219f746df8a11e2)) + + +### Miscellaneous Chores + +* **compiler:** Optimize type metadata loading ([#1741](https://github.com/grain-lang/grain/issues/1741)) ([a4519bc](https://github.com/grain-lang/grain/commit/a4519bc88d9fe12159495e995fcaa74834d5a361)) +* **compiler:** Require floats always have a digit on left & right of dot ([#1703](https://github.com/grain-lang/grain/issues/1703)) ([b657e1c](https://github.com/grain-lang/grain/commit/b657e1cf68d4b20bfb06d662b1fc8687836e5104)) +* **graindoc:** Remove section attribute ([#1681](https://github.com/grain-lang/grain/issues/1681)) ([e969ad7](https://github.com/grain-lang/grain/commit/e969ad75e017785d12decbbf87651bd8c7dd286d)) +* Require node version >=18.15 for WASI support ([#1612](https://github.com/grain-lang/grain/issues/1612)) ([331ffc2](https://github.com/grain-lang/grain/commit/331ffc28b57e7e52fc9e360d1d85f81d3a172d06)) +* **stdlib:** Group mutable/immutable data structures ([#1652](https://github.com/grain-lang/grain/issues/1652)) ([f93afef](https://github.com/grain-lang/grain/commit/f93afef3785910ebbedcf780ce2d6109299c2e86)) +* **stdlib:** Remove `cons` and `empty` from Pervasives ([#1657](https://github.com/grain-lang/grain/issues/1657)) ([f6f02bc](https://github.com/grain-lang/grain/commit/f6f02bcb5a196f7f611ee6604f8585d429368314)) +* **stdlib:** Remove `sin`, `cos`, `tan`, `gamma`, `factorial` from `Number` module ([#2046](https://github.com/grain-lang/grain/issues/2046)) ([85c4389](https://github.com/grain-lang/grain/commit/85c4389dee9f0760e40639df5112294cb4cc44cb)) +* **stdlib:** Replace `parseInt` error strings with structured error enum ([#1755](https://github.com/grain-lang/grain/issues/1755)) ([ea26d18](https://github.com/grain-lang/grain/commit/ea26d1814558730507517d4939abed6767aaaf24)) +* **stdlib:** Replace bigint/number arithmetic functions with operators ([#1742](https://github.com/grain-lang/grain/issues/1742)) ([cbd46ee](https://github.com/grain-lang/grain/commit/cbd46ee99654d066690f1eb13bde8d882abed80f)) +* **stdlib:** Replace Number.nan & Number.infinity constants with keywords ([#1618](https://github.com/grain-lang/grain/issues/1618)) ([b437c13](https://github.com/grain-lang/grain/commit/b437c131aedcc4395080179b8e0d41ff6b2c95b2)) +* **stdlib:** Switch to using records for `getInternalStats` ([#1898](https://github.com/grain-lang/grain/issues/1898)) ([bdb119a](https://github.com/grain-lang/grain/commit/bdb119a8234409c5425a2f8678d53237eb7af850)) +* **stdlib:** Update Buffer/Bytes to use new integer types ([#1704](https://github.com/grain-lang/grain/issues/1704)) ([d508e5a](https://github.com/grain-lang/grain/commit/d508e5af7d66e8419370000030ee40194052301f)) +* **stdlib:** Update Operator `uint` operator Names ([#1738](https://github.com/grain-lang/grain/issues/1738)) ([decb053](https://github.com/grain-lang/grain/commit/decb0533e87cb8d617e27c0f5470a24c502dcfab)) +* **stdlib:** Use default arguments in more of stdlib ([#1772](https://github.com/grain-lang/grain/issues/1772)) ([f5e934f](https://github.com/grain-lang/grain/commit/f5e934fc658427b698cfb3919c9b2ac411a0ce45)) + ### [0.5.13](https://github.com/grain-lang/grain/compare/stdlib-v0.5.12...stdlib-v0.5.13) (2023-01-07) diff --git a/stdlib/array.md b/stdlib/array.md index cdb07a931..26182d3f9 100644 --- a/stdlib/array.md +++ b/stdlib/array.md @@ -1265,7 +1265,7 @@ Array.unique([> 1, 2, 1, 2, 3, 1]) == [> 1, 2, 3] versionchanges -nextSupport zipping arrays of different sizes +0.6.0Support zipping arrays of different sizes @@ -1425,7 +1425,7 @@ Array.join(", ", [> "a", "b", "c"]) == "a, b, c" versionchanges -nextDefault `end` to the Array length +0.6.0Default `end` to the Array length @@ -1473,7 +1473,7 @@ Array.slice(1, [> 1, 2, 3, 4]) == [> 2, 3, 4] versionchanges -nextMade `compare` a default argument +0.6.0Made `compare` a default argument @@ -1510,7 +1510,7 @@ assert arr == [> 1, 2, 3, 4] versionchanges -nextBehavior changed from right-rotation to left-rotation +0.6.0Behavior changed from right-rotation to left-rotation @@ -1549,7 +1549,7 @@ assert array == [> 5, 1, 2, 3, 4] ### Array.**chunk**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1595,7 +1595,7 @@ Array.chunk(2, [> 1, 2, 3, 4]) == [> [> 1, 2], [> 3, 4]] An immutable array implementation.
-Added in next +Added in 0.6.0 @@ -1635,7 +1635,7 @@ Functions and constants included in the Array.Immutable module. #### Array.Immutable.**empty**
-Added in next +Added in 0.6.0
versionchanges
@@ -1661,7 +1661,7 @@ Array.Immutable.empty == Array.Immutable.fromList([]) #### Array.Immutable.**isEmpty**
-Added in next +Added in 0.6.0
versionchanges
@@ -1705,7 +1705,7 @@ assert Immutable.isEmpty(Immutable.fromList([])) == true #### Array.Immutable.**length**
-Added in next +Added in 0.6.0
versionchanges
@@ -1744,7 +1744,7 @@ assert Immutable.length(Immutable.fromList([1, 2, 3, 4, 5])) == 5 #### Array.Immutable.**get**
-Added in next +Added in 0.6.0
versionchanges
@@ -1796,7 +1796,7 @@ assert Immutable.get(-1, Immutable.fromList([1, 2, 3, 4])) == 4 #### Array.Immutable.**set**
-Added in next +Added in 0.6.0
versionchanges
@@ -1848,7 +1848,7 @@ assert array == Immutable.fromList([1, 9, 3, 4, 5]) #### Array.Immutable.**append**
-Added in next +Added in 0.6.0
versionchanges
@@ -1894,7 +1894,7 @@ assert arr2 == Immutable.fromList([3, 4, 5]) #### Array.Immutable.**concat**
-Added in next +Added in 0.6.0
versionchanges
@@ -1937,7 +1937,7 @@ assert Immutable.concat([arr1, arr2, arr3]) == Immutable.fromList([1, 2, 3, 4, 5 #### Array.Immutable.**init**
-Added in next +Added in 0.6.0
versionchanges
@@ -1984,7 +1984,7 @@ assert Immutable.init(5, i => i + 3) == Immutable.fromList([3, 4, 5, 6, 7]) #### Array.Immutable.**make**
-Added in next +Added in 0.6.0
versionchanges
@@ -2025,7 +2025,7 @@ assert Immutable.make(5, "🌾") == Immutable.fromList(["🌾", "🌾", "🌾", #### Array.Immutable.**forEach**
-Added in next +Added in 0.6.0
versionchanges
@@ -2062,7 +2062,7 @@ assert str == "foobarbaz" #### Array.Immutable.**cycle**
-Added in next +Added in 0.6.0
versionchanges
@@ -2100,7 +2100,7 @@ assert str == "abcabc" #### Array.Immutable.**map**
-Added in next +Added in 0.6.0
versionchanges
@@ -2143,7 +2143,7 @@ assert arr == Immutable.fromList(["foo_", "bar_", "baz_"]) #### Array.Immutable.**reduce**
-Added in next +Added in 0.6.0
versionchanges
@@ -2191,7 +2191,7 @@ assert Immutable.reduce((acc, x) => acc + x, 0, arr) == 6 #### Array.Immutable.**reduceRight**
-Added in next +Added in 0.6.0
versionchanges
@@ -2239,7 +2239,7 @@ assert Immutable.reduceRight((x, acc) => acc ++ x, "", arr) == "foobarbaz" #### Array.Immutable.**flatMap**
-Added in next +Added in 0.6.0
versionchanges
@@ -2286,7 +2286,7 @@ assert arr == Immutable.fromList([1, 2, 3, 4, 5, 6]) #### Array.Immutable.**fromList**
-Added in next +Added in 0.6.0
versionchanges
@@ -2326,7 +2326,7 @@ assert Immutable.get(1, arr) == 2 #### Array.Immutable.**toList**
-Added in next +Added in 0.6.0
versionchanges
@@ -2367,7 +2367,7 @@ assert Immutable.toList(arr) == ['d', 'b', 'c'] #### Array.Immutable.**filter**
-Added in next +Added in 0.6.0
versionchanges
@@ -2411,7 +2411,7 @@ assert Immutable.toList(arr) == ['a', 'a'] #### Array.Immutable.**every**
-Added in next +Added in 0.6.0
versionchanges
@@ -2459,7 +2459,7 @@ assert Immutable.every(e => e == 'a', arr) == false #### Array.Immutable.**some**
-Added in next +Added in 0.6.0
versionchanges
@@ -2507,7 +2507,7 @@ assert Immutable.some(e => e == 'a', arr) == false #### Array.Immutable.**reverse**
-Added in next +Added in 0.6.0
versionchanges
@@ -2548,7 +2548,7 @@ assert Immutable.toList(arr) == ['c', 'b', 'a'] #### Array.Immutable.**contains**
-Added in next +Added in 0.6.0
versionchanges
@@ -2596,7 +2596,7 @@ assert Immutable.contains('a', arr) == false #### Array.Immutable.**find**
-Added in next +Added in 0.6.0
versionchanges
@@ -2643,7 +2643,7 @@ assert Immutable.find(e => e == 2, arr) == None #### Array.Immutable.**findIndex**
-Added in next +Added in 0.6.0
versionchanges
@@ -2690,7 +2690,7 @@ assert Immutable.findIndex(e => e == 2, arr) == None #### Array.Immutable.**product**
-Added in next +Added in 0.6.0
versionchanges
@@ -2735,7 +2735,7 @@ assert Immutable.product(arr1, arr2) == Immutable.fromList([(1, 3), (1, 4), (2, #### Array.Immutable.**count**
-Added in next +Added in 0.6.0
versionchanges
@@ -2776,7 +2776,7 @@ assert Immutable.count(e => e == 1, arr) == 2 #### Array.Immutable.**unique**
-Added in next +Added in 0.6.0
versionchanges
@@ -2817,7 +2817,7 @@ assert Immutable.unique(arr) == Immutable.fromList([1, 2, 3, 4]) #### Array.Immutable.**zip**
-Added in next +Added in 0.6.0
versionchanges
@@ -2866,7 +2866,7 @@ assert Immutable.zip(arr1, arr2) == Immutable.fromList([(1, 4), (2, 5), (3, 6)]) #### Array.Immutable.**zipWith**
-Added in next +Added in 0.6.0
versionchanges
@@ -2925,7 +2925,7 @@ assert Immutable.zipWith((a, b) => a * b, arr1, arr2) == Immutable.fromList([4, #### Array.Immutable.**unzip**
-Added in next +Added in 0.6.0
versionchanges
@@ -2968,7 +2968,7 @@ assert Immutable.unzip(arr1) == (arr2, arr3) #### Array.Immutable.**join**
-Added in next +Added in 0.6.0
versionchanges
@@ -3009,14 +3009,14 @@ assert Immutable.join(", ", arr) == "a, b, c" #### Array.Immutable.**slice**
-Added in next +Added in 0.6.0
versionchanges
- +
versionchanges
0.5.4Originally in `"immutablearray"` module
nextDefault `end` to the Array length
0.6.0Default `end` to the Array length
@@ -3064,7 +3064,7 @@ assert Immutable.slice(1, end=-1, arr) == Immutable.fromList(['b']) #### Array.Immutable.**sort**
-Added in next +Added in 0.6.0 @@ -3109,7 +3109,7 @@ assert Immutable.sort(compare=(a, b) => a - b, arr) == Immutable.fromList([1, 2, #### Array.Immutable.**rotate**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/bigint.md b/stdlib/bigint.md index 19fab523d..799ad779c 100644 --- a/stdlib/bigint.md +++ b/stdlib/bigint.md @@ -222,7 +222,7 @@ BigInt.abs(-1t) == 1t ### BigInt.**(+)**
-Added in next +Added in 0.6.0
versionchanges
@@ -262,7 +262,7 @@ assert 1t + 1t == 2t ### BigInt.**(-)**
-Added in next +Added in 0.6.0
versionchanges
@@ -302,7 +302,7 @@ assert 3t - 1t == 2t ### BigInt.**(*)**
-Added in next +Added in 0.6.0
versionchanges
@@ -342,7 +342,7 @@ assert 3t * 3t == 9t ### BigInt.**(/)**
-Added in next +Added in 0.6.0
versionchanges
@@ -480,7 +480,7 @@ BigInt.gcd(36t, 24t) == 12t ### BigInt.**(<<)**
-Added in next +Added in 0.6.0
versionchanges
@@ -520,7 +520,7 @@ assert (10t << 2l) == 40t ### BigInt.**(>>)**
-Added in next +Added in 0.6.0
versionchanges
@@ -595,7 +595,7 @@ assert BigInt.eqz(1t) == false ### BigInt.**(==)**
-Added in next +Added in 0.6.0
versionchanges
@@ -640,7 +640,7 @@ assert -10t == -10t ### BigInt.**(!=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -685,7 +685,7 @@ assert -10t != -20t ### BigInt.**(<)**
-Added in next +Added in 0.6.0
versionchanges
@@ -730,7 +730,7 @@ assert -10t < 0t ### BigInt.**(<=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -780,7 +780,7 @@ assert 2t <= 3t ### BigInt.**(>)**
-Added in next +Added in 0.6.0
versionchanges
@@ -825,7 +825,7 @@ assert 0t > -10t ### BigInt.**(>=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -906,7 +906,7 @@ BigInt.lnot(91234t) == -91235t ### BigInt.**(&)**
-Added in next +Added in 0.6.0
versionchanges
@@ -946,7 +946,7 @@ assert (4t & 3t) == 0t ### BigInt.**(|)**
-Added in next +Added in 0.6.0
versionchanges
@@ -986,7 +986,7 @@ assert (5t | 3t) == 7t ### BigInt.**(^)**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/buffer.md b/stdlib/buffer.md index 9b8960802..6c7eb5a2d 100644 --- a/stdlib/buffer.md +++ b/stdlib/buffer.md @@ -446,7 +446,7 @@ assert Buffer.toString(buf) == "H" ### Buffer.**addCharFromCodePoint**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -622,7 +622,7 @@ assert Buffer.toString(buf1) == "HelloWorld" ### Buffer.**getInt8**
-Added in next +Added in 0.6.0
versionchanges
@@ -677,7 +677,7 @@ assert Buffer.getInt8(0, buf) == 1s - +
versionchanges
versionchanges
next`value` argument type changed to `Int8`
0.6.0`value` argument type changed to `Int8`
@@ -722,7 +722,7 @@ assert Buffer.getInt8(0, buf) == 3s versionchanges -next`value` argument type changed to `Int8` +0.6.0`value` argument type changed to `Int8` @@ -751,7 +751,7 @@ assert Buffer.getInt8(0, buf) == 2s ### Buffer.**getUint8**
-Added in next +Added in 0.6.0 @@ -800,7 +800,7 @@ assert Buffer.getUint8(0, buf) == 3us ### Buffer.**setUint8**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -838,7 +838,7 @@ assert Buffer.getUint8(0, buf) == 4us ### Buffer.**addUint8**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -866,7 +866,7 @@ assert Buffer.getUint8(0, buf) == 0us ### Buffer.**getInt16**
-Added in next +Added in 0.6.0
versionchanges
@@ -921,7 +921,7 @@ assert Buffer.getInt16(0, buf) == 1S - +
versionchanges
versionchanges
next`value` argument type changed to `Int16`
0.6.0`value` argument type changed to `Int16`
@@ -966,7 +966,7 @@ assert Buffer.getInt16(5, buf) == 1S versionchanges -next`value` argument type changed to `Int16` +0.6.0`value` argument type changed to `Int16` @@ -995,7 +995,7 @@ assert Buffer.getInt16(0, buf) == 2S ### Buffer.**getUint16**
-Added in next +Added in 0.6.0 @@ -1044,7 +1044,7 @@ assert Buffer.getUint16(0, buf) == 1uS ### Buffer.**setUint16**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1082,7 +1082,7 @@ assert Buffer.getUint16(0, buf) == 1uS ### Buffer.**addUint16**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1218,7 +1218,7 @@ assert Buffer.getInt32(0, buf) == 1l ### Buffer.**getUint32**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1260,7 +1260,7 @@ assert Buffer.getUint32(0, buf) == 1ul ### Buffer.**setUint32**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1298,7 +1298,7 @@ assert Buffer.getUint32(0, buf) == 1ul ### Buffer.**addUint32**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1542,7 +1542,7 @@ assert Buffer.getInt64(0, buf) == 1L ### Buffer.**getUint64**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1584,7 +1584,7 @@ assert Buffer.getUint64(0, buf) == 1uL ### Buffer.**setUint64**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1622,7 +1622,7 @@ assert Buffer.getUint64(0, buf) == 1uL ### Buffer.**addUint64**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/bytes.md b/stdlib/bytes.md index e5163776a..4313c071f 100644 --- a/stdlib/bytes.md +++ b/stdlib/bytes.md @@ -377,7 +377,7 @@ assert Bytes.toString(Bytes.concat(helloBytes, worldBytes)) == "Hello World" - +
versionchanges
versionchanges
next`value` argument type changed to `Uint8`
0.6.0`value` argument type changed to `Uint8`
@@ -434,7 +434,7 @@ assert bytes == b"\x00\x00\x00\x00\x00" ### Bytes.**getInt8**
-Added in next +Added in 0.6.0 @@ -488,7 +488,7 @@ assert Bytes.getInt8(0, bytes) == 1s - +
versionchanges
versionchanges
next`value` argument type changed to `Int8`
0.6.0`value` argument type changed to `Int8`
@@ -525,7 +525,7 @@ assert Bytes.getInt8(0, bytes) == 2s ### Bytes.**getUint8**
-Added in next +Added in 0.6.0 @@ -573,7 +573,7 @@ assert Bytes.getUint8(0, bytes) == 1us ### Bytes.**setUint8**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -609,7 +609,7 @@ assert Bytes.getUint8(1, bytes) == 2us ### Bytes.**getInt16**
-Added in next +Added in 0.6.0
versionchanges
@@ -663,7 +663,7 @@ assert Bytes.getInt16(0, bytes) == -2S - +
versionchanges
versionchanges
next`value` argument type changed to `Int16`
0.6.0`value` argument type changed to `Int16`
@@ -700,7 +700,7 @@ assert Bytes.getInt16(0, bytes) == -1S ### Bytes.**getUint16**
-Added in next +Added in 0.6.0 @@ -748,7 +748,7 @@ assert Bytes.getUint16(0, bytes) == 2uS ### Bytes.**setUint16**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -861,7 +861,7 @@ assert Bytes.getInt32(0, bytes) == 1l ### Bytes.**getUint32**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -902,7 +902,7 @@ assert Bytes.getUint32(0, bytes) == 1ul ### Bytes.**setUint32**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1092,7 +1092,7 @@ assert Bytes.getInt64(0, bytes) == 1L ### Bytes.**getUint64**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1133,7 +1133,7 @@ assert Bytes.getUint64(0, bytes) == 1uL ### Bytes.**setUint64**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/char.md b/stdlib/char.md index 30b6d412d..65a69315e 100644 --- a/stdlib/char.md +++ b/stdlib/char.md @@ -288,7 +288,7 @@ Char.toString('🌾') == "🌾" ### Char.**(<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -326,7 +326,7 @@ assert '1' < '2' ### Char.**(<=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -369,7 +369,7 @@ assert 'a' <= 'a' ### Char.**(>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -407,7 +407,7 @@ assert '2' > '1' ### Char.**(>=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -450,7 +450,7 @@ assert 'a' >= 'a' ### Char.**isAsciiDigit**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -485,7 +485,7 @@ assert !Char.isAsciiDigit('a') ### Char.**isAsciiAlpha**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -520,7 +520,7 @@ assert !Char.isAsciiAlpha('1') ### Char.**toAsciiLowercase**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -551,7 +551,7 @@ assert Char.toAsciiLowercase('B') == 'b' ### Char.**toAsciiUppercase**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/float32.md b/stdlib/float32.md index 2bfb0b1ba..04e486a69 100644 --- a/stdlib/float32.md +++ b/stdlib/float32.md @@ -153,7 +153,7 @@ Returns: ### Float32.**(+)**
-Added in next +Added in 0.6.0
versionchanges
@@ -193,7 +193,7 @@ assert 1.0f + 1.0f == 2.0f ### Float32.**(-)**
-Added in next +Added in 0.6.0
versionchanges
@@ -233,7 +233,7 @@ assert 1.0f - 1.0f == 0.0f ### Float32.**(*)**
-Added in next +Added in 0.6.0
versionchanges
@@ -273,7 +273,7 @@ assert 2.0f * 2.0f == 4.0f ### Float32.**(/)**
-Added in next +Added in 0.6.0
versionchanges
@@ -313,7 +313,7 @@ assert 10.0f / 4.0f == 2.5f ### Float32.**(<)**
-Added in next +Added in 0.6.0
versionchanges
@@ -353,7 +353,7 @@ assert 1.0f < 2.0f ### Float32.**(>)**
-Added in next +Added in 0.6.0
versionchanges
@@ -393,7 +393,7 @@ assert 2.0f > 1.0f ### Float32.**(<=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -438,7 +438,7 @@ assert -2.0f <= -2.0f ### Float32.**(>=)**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/float64.md b/stdlib/float64.md index 857012076..53414d60b 100644 --- a/stdlib/float64.md +++ b/stdlib/float64.md @@ -153,7 +153,7 @@ Returns: ### Float64.**(+)**
-Added in next +Added in 0.6.0
versionchanges
@@ -193,7 +193,7 @@ assert 1.0d + 1.0d == 2.0d ### Float64.**(-)**
-Added in next +Added in 0.6.0
versionchanges
@@ -233,7 +233,7 @@ assert 5.0d - 4.0d == 1.0d ### Float64.**(*)**
-Added in next +Added in 0.6.0
versionchanges
@@ -273,7 +273,7 @@ assert -5.0d * 4.0d == -20.0d ### Float64.**(/)**
-Added in next +Added in 0.6.0
versionchanges
@@ -313,7 +313,7 @@ assert 25.0d / 4.0d == 6.25d ### Float64.**(<)**
-Added in next +Added in 0.6.0
versionchanges
@@ -353,7 +353,7 @@ assert -5.0d < 5.0d ### Float64.**(>)**
-Added in next +Added in 0.6.0
versionchanges
@@ -393,7 +393,7 @@ assert 6.0d > 5.0d ### Float64.**(<=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -438,7 +438,7 @@ assert 2.0d <= 2.0d ### Float64.**(>=)**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/int16.md b/stdlib/int16.md index a5a88c756..b7a311a07 100644 --- a/stdlib/int16.md +++ b/stdlib/int16.md @@ -5,7 +5,7 @@ title: Int16 Utilities for working with the Int16 type.
-Added in next +Added in 0.6.0 No other changes yet.
@@ -20,7 +20,7 @@ Functions and constants included in the Int16 module. ### Int16.**fromNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -45,7 +45,7 @@ Returns: ### Int16.**toNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -70,7 +70,7 @@ Returns: ### Int16.**fromUint16**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -95,7 +95,7 @@ Returns: ### Int16.**incr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -120,7 +120,7 @@ Returns: ### Int16.**decr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -145,7 +145,7 @@ Returns: ### Int16.**(+)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -171,7 +171,7 @@ Returns: ### Int16.**(-)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -197,7 +197,7 @@ Returns: ### Int16.**(*)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -223,7 +223,7 @@ Returns: ### Int16.**(/)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -249,7 +249,7 @@ Returns: ### Int16.**rem**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -275,7 +275,7 @@ Returns: ### Int16.**(%)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -308,7 +308,7 @@ Throws: ### Int16.**(<<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -334,7 +334,7 @@ Returns: ### Int16.**(>>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -360,7 +360,7 @@ Returns: ### Int16.**(==)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -386,7 +386,7 @@ Returns: ### Int16.**(!=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -412,7 +412,7 @@ Returns: ### Int16.**(<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -438,7 +438,7 @@ Returns: ### Int16.**(>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -464,7 +464,7 @@ Returns: ### Int16.**(<=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -490,7 +490,7 @@ Returns: ### Int16.**(>=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -516,7 +516,7 @@ Returns: ### Int16.**lnot**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -541,7 +541,7 @@ Returns: ### Int16.**(&)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -567,7 +567,7 @@ Returns: ### Int16.**(|)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -593,7 +593,7 @@ Returns: ### Int16.**(^)**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/int32.md b/stdlib/int32.md index d5f1b5d55..72c0b78f8 100644 --- a/stdlib/int32.md +++ b/stdlib/int32.md @@ -70,7 +70,7 @@ Returns: ### Int32.**fromUint32**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -145,7 +145,7 @@ Returns: ### Int32.**(+)**
-Added in next +Added in 0.6.0
versionchanges
@@ -178,7 +178,7 @@ Returns: ### Int32.**(-)**
-Added in next +Added in 0.6.0
versionchanges
@@ -211,7 +211,7 @@ Returns: ### Int32.**(*)**
-Added in next +Added in 0.6.0
versionchanges
@@ -244,7 +244,7 @@ Returns: ### Int32.**(/)**
-Added in next +Added in 0.6.0
versionchanges
@@ -303,7 +303,7 @@ Returns: ### Int32.**(%)**
-Added in next +Added in 0.6.0
versionchanges
@@ -395,7 +395,7 @@ Returns: ### Int32.**(<<)**
-Added in next +Added in 0.6.0
versionchanges
@@ -428,7 +428,7 @@ Returns: ### Int32.**(>>)**
-Added in next +Added in 0.6.0
versionchanges
@@ -461,7 +461,7 @@ Returns: ### Int32.**(==)**
-Added in next +Added in 0.6.0
versionchanges
@@ -494,7 +494,7 @@ Returns: ### Int32.**(!=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -552,7 +552,7 @@ Returns: ### Int32.**(<)**
-Added in next +Added in 0.6.0
versionchanges
@@ -585,7 +585,7 @@ Returns: ### Int32.**(>)**
-Added in next +Added in 0.6.0
versionchanges
@@ -618,7 +618,7 @@ Returns: ### Int32.**(<=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -651,7 +651,7 @@ Returns: ### Int32.**(>=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -709,7 +709,7 @@ Returns: ### Int32.**(&)**
-Added in next +Added in 0.6.0
versionchanges
@@ -742,7 +742,7 @@ Returns: ### Int32.**(|)**
-Added in next +Added in 0.6.0
versionchanges
@@ -775,7 +775,7 @@ Returns: ### Int32.**(^)**
-Added in next +Added in 0.6.0
versionchanges
@@ -883,7 +883,7 @@ Returns: ### Int32.**(\*\*)**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/int64.md b/stdlib/int64.md index 0f74677d0..8501f21c5 100644 --- a/stdlib/int64.md +++ b/stdlib/int64.md @@ -70,7 +70,7 @@ Returns: ### Int64.**fromUint64**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -145,7 +145,7 @@ Returns: ### Int64.**(+)**
-Added in next +Added in 0.6.0
versionchanges
@@ -178,7 +178,7 @@ Returns: ### Int64.**(-)**
-Added in next +Added in 0.6.0
versionchanges
@@ -211,7 +211,7 @@ Returns: ### Int64.**(*)**
-Added in next +Added in 0.6.0
versionchanges
@@ -244,7 +244,7 @@ Returns: ### Int64.**(/)**
-Added in next +Added in 0.6.0
versionchanges
@@ -303,7 +303,7 @@ Returns: ### Int64.**(%)**
-Added in next +Added in 0.6.0
versionchanges
@@ -395,7 +395,7 @@ Returns: ### Int64.**(<<)**
-Added in next +Added in 0.6.0
versionchanges
@@ -428,7 +428,7 @@ Returns: ### Int64.**(>>)**
-Added in next +Added in 0.6.0
versionchanges
@@ -461,7 +461,7 @@ Returns: ### Int64.**(==)**
-Added in next +Added in 0.6.0
versionchanges
@@ -494,7 +494,7 @@ Returns: ### Int64.**(!=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -552,7 +552,7 @@ Returns: ### Int64.**(<)**
-Added in next +Added in 0.6.0
versionchanges
@@ -585,7 +585,7 @@ Returns: ### Int64.**(>)**
-Added in next +Added in 0.6.0
versionchanges
@@ -618,7 +618,7 @@ Returns: ### Int64.**(<=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -651,7 +651,7 @@ Returns: ### Int64.**(>=)**
-Added in next +Added in 0.6.0
versionchanges
@@ -709,7 +709,7 @@ Returns: ### Int64.**(&)**
-Added in next +Added in 0.6.0
versionchanges
@@ -742,7 +742,7 @@ Returns: ### Int64.**(|)**
-Added in next +Added in 0.6.0
versionchanges
@@ -775,7 +775,7 @@ Returns: ### Int64.**(^)**
-Added in next +Added in 0.6.0
versionchanges
@@ -883,7 +883,7 @@ Returns: ### Int64.**(\*\*)**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/int8.md b/stdlib/int8.md index 29c79017e..5b0040602 100644 --- a/stdlib/int8.md +++ b/stdlib/int8.md @@ -5,7 +5,7 @@ title: Int8 Utilities for working with the Int8 type.
-Added in next +Added in 0.6.0 No other changes yet.
@@ -28,7 +28,7 @@ Functions and constants included in the Int8 module. ### Int8.**fromNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -53,7 +53,7 @@ Returns: ### Int8.**toNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -78,7 +78,7 @@ Returns: ### Int8.**fromUint8**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -109,7 +109,7 @@ Int8.fromUint8(1us) == 1s ### Int8.**incr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -144,7 +144,7 @@ Int8.incr(-2s) == -1s ### Int8.**decr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -179,7 +179,7 @@ Int8.decr(0s) == -1s ### Int8.**(+)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -212,7 +212,7 @@ assert 1s + 1s == 2s ### Int8.**(-)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -245,7 +245,7 @@ assert 2s - 1s == 1s ### Int8.**(*)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -278,7 +278,7 @@ assert 2s * 2s == 4s ### Int8.**(/)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -311,7 +311,7 @@ assert 8s / 2s == 4s ### Int8.**rem**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -343,7 +343,7 @@ Int8.rem(8s, 3s) == 2s ### Int8.**(%)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -383,7 +383,7 @@ assert -5s % 3s == 1s ### Int8.**(<<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -416,7 +416,7 @@ assert (5s << 1s) == 10s ### Int8.**(>>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -449,7 +449,7 @@ assert (5s >> 1s) == 2s ### Int8.**(==)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -482,7 +482,7 @@ assert 1s == 1s ### Int8.**(!=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -515,7 +515,7 @@ assert 1s != 2s ### Int8.**(<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -548,7 +548,7 @@ assert 1s < 2s ### Int8.**(>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -581,7 +581,7 @@ assert 2s > 1s ### Int8.**(<=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -619,7 +619,7 @@ assert 1s <= 1s ### Int8.**(>=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -657,7 +657,7 @@ assert 1s >= 1s ### Int8.**lnot**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -688,7 +688,7 @@ Int.lnot(-5s) == 4s ### Int8.**(&)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -721,7 +721,7 @@ assert (3s & 4s) == 0s ### Int8.**(|)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -754,7 +754,7 @@ assert (3s | 4s) == 7s ### Int8.**(^)**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/json.md b/stdlib/json.md index 26d7947c6..a1ed7ee8a 100644 --- a/stdlib/json.md +++ b/stdlib/json.md @@ -504,7 +504,7 @@ Functions and constants included in the Json module. ### Json.**toString**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -573,7 +573,7 @@ assert toString( ### Json.**parse**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/list.md b/stdlib/list.md index 62be5b484..62b755974 100644 --- a/stdlib/list.md +++ b/stdlib/list.md @@ -94,7 +94,7 @@ Returns: ### List.**isEmpty**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -696,7 +696,7 @@ List.flatten([[1, 2], [3, 4]]) // [1, 2, 3, 4] - +
versionchanges
versionchanges
nextSwapped order of `index` and `value` parameters
0.6.0Swapped order of `index` and `value` parameters
@@ -803,7 +803,7 @@ Throws: versionchanges -nextNo longer throws if `count` outside list length bounds +0.6.0No longer throws if `count` outside list length bounds @@ -1297,7 +1297,7 @@ Returns: versionchanges -nextMade `compare` a default argument +0.6.0Made `compare` a default argument diff --git a/stdlib/map.md b/stdlib/map.md index 875e529f2..88c16eb46 100644 --- a/stdlib/map.md +++ b/stdlib/map.md @@ -49,7 +49,7 @@ Functions and constants included in the Map module. versionchanges -nextMerged with `makeSized`; modified signature to accept size +0.6.0Merged with `makeSized`; modified signature to accept size @@ -511,7 +511,7 @@ Parameters: versionchanges -nextReturn `InternalMapStats` record instead of a tuple +0.6.0Return `InternalMapStats` record instead of a tuple @@ -539,7 +539,7 @@ Returns: An immutable map implementation.
-Added in next +Added in 0.6.0 @@ -567,7 +567,7 @@ Functions and constants included in the Map.Immutable module. #### Map.Immutable.**empty**
-Added in next +Added in 0.6.0
versionchanges
@@ -587,7 +587,7 @@ An empty map #### Map.Immutable.**size**
-Added in next +Added in 0.6.0
versionchanges
@@ -619,7 +619,7 @@ Returns: #### Map.Immutable.**isEmpty**
-Added in next +Added in 0.6.0
versionchanges
@@ -651,7 +651,7 @@ Returns: #### Map.Immutable.**set**
-Added in next +Added in 0.6.0
versionchanges
@@ -685,7 +685,7 @@ Returns: #### Map.Immutable.**get**
-Added in next +Added in 0.6.0
versionchanges
@@ -718,7 +718,7 @@ Returns: #### Map.Immutable.**contains**
-Added in next +Added in 0.6.0
versionchanges
@@ -751,7 +751,7 @@ Returns: #### Map.Immutable.**remove**
-Added in next +Added in 0.6.0
versionchanges
@@ -785,7 +785,7 @@ Returns: #### Map.Immutable.**update**
-Added in next +Added in 0.6.0
versionchanges
@@ -823,7 +823,7 @@ Returns: #### Map.Immutable.**forEach**
-Added in next +Added in 0.6.0
versionchanges
@@ -850,7 +850,7 @@ Parameters: #### Map.Immutable.**reduce**
-Added in next +Added in 0.6.0
versionchanges
@@ -884,7 +884,7 @@ Returns: #### Map.Immutable.**keys**
-Added in next +Added in 0.6.0
versionchanges
@@ -916,7 +916,7 @@ Returns: #### Map.Immutable.**values**
-Added in next +Added in 0.6.0
versionchanges
@@ -948,7 +948,7 @@ Returns: #### Map.Immutable.**filter**
-Added in next +Added in 0.6.0
versionchanges
@@ -981,7 +981,7 @@ Returns: #### Map.Immutable.**reject**
-Added in next +Added in 0.6.0
versionchanges
@@ -1014,7 +1014,7 @@ Returns: #### Map.Immutable.**fromList**
-Added in next +Added in 0.6.0
versionchanges
@@ -1046,7 +1046,7 @@ Returns: #### Map.Immutable.**toList**
-Added in next +Added in 0.6.0
versionchanges
@@ -1078,7 +1078,7 @@ Returns: #### Map.Immutable.**fromArray**
-Added in next +Added in 0.6.0
versionchanges
@@ -1110,7 +1110,7 @@ Returns: #### Map.Immutable.**toArray**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/number.md b/stdlib/number.md index 503889402..dad45a6b0 100644 --- a/stdlib/number.md +++ b/stdlib/number.md @@ -44,7 +44,7 @@ Type declarations included in the Number module. ### Number.**ParseIntError**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -124,7 +124,7 @@ Euler's number represented as a Number value. ### Number.**(+)**
-Added in next +Added in 0.6.0
versionchanges
@@ -164,7 +164,7 @@ assert 1 + 2 == 3 ### Number.**(-)**
-Added in next +Added in 0.6.0
versionchanges
@@ -204,7 +204,7 @@ assert 5 - 2 == 3 ### Number.**(*)**
-Added in next +Added in 0.6.0
versionchanges
@@ -244,7 +244,7 @@ assert 5 * 4 == 20 ### Number.**(/)**
-Added in next +Added in 0.6.0
versionchanges
@@ -284,7 +284,7 @@ assert 10 / 2.5 == 4 ### Number.**(\*\*)**
-Added in next +Added in 0.6.0
versionchanges
@@ -1069,7 +1069,7 @@ Number.isInfinite(1) == false ### Number.**isClose**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1139,7 +1139,7 @@ Number.isClose(4, 4.1, relativeTolerance=0.024) == false - +
versionchanges
versionchanges
nextSwitched from a string-based error message to a structured error enum
0.6.0Switched from a string-based error message to a structured error enum
@@ -1271,7 +1271,7 @@ Number.parse("-1.5") == Ok(-1.5) ### Number.**asin**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1306,7 +1306,7 @@ Number.asin(1) == 1.5707963267948966 ### Number.**acos**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1341,7 +1341,7 @@ Number.acos(0) == 1.5707963267948966 ### Number.**atan**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1376,7 +1376,7 @@ Number.atan(1) == 0.7853981633974483 ### Number.**atan2**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1470,7 +1470,7 @@ Number.toRadians(Number.pi) == 180 ### Number.**clamp**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1496,7 +1496,7 @@ Returns: ### Number.**linearInterpolate**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1530,7 +1530,7 @@ Throws: ### Number.**linearMap**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/option.md b/stdlib/option.md index c661e64d5..2ef804775 100644 --- a/stdlib/option.md +++ b/stdlib/option.md @@ -542,7 +542,7 @@ Returns: ### Option.**(||)**
-Added in next +Added in 0.6.0 @@ -575,7 +575,7 @@ Returns: ### Option.**(&&)**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/package.json b/stdlib/package.json index 1011556fd..a560e5b6a 100644 --- a/stdlib/package.json +++ b/stdlib/package.json @@ -1,6 +1,6 @@ { "name": "@grain/stdlib", - "version": "0.5.13", + "version": "0.6.0", "description": "The standard library for the Grain language.", "license": "MIT", "homepage": "https://grain-lang.org", diff --git a/stdlib/path.md b/stdlib/path.md index 6ea189ac8..177373022 100644 --- a/stdlib/path.md +++ b/stdlib/path.md @@ -178,7 +178,7 @@ Functions and constants included in the Path module. - +
versionchanges
versionchanges
nextMerged with `fromPlatformString`; modified signature to accept platform
0.6.0Merged with `fromPlatformString`; modified signature to accept platform
@@ -232,7 +232,7 @@ fromString("C:\\file.txt", Windows) // a relative Path referencing the file C:\f versionchanges -nextMerged with `toPlatformString`; modified signature to accept platform +0.6.0Merged with `toPlatformString`; modified signature to accept platform diff --git a/stdlib/pervasives.md b/stdlib/pervasives.md index 0d903bed9..03c68b1a0 100644 --- a/stdlib/pervasives.md +++ b/stdlib/pervasives.md @@ -485,7 +485,7 @@ Returns: ### Pervasives.**(\*\*)**
-Added in next +Added in 0.6.0 diff --git a/stdlib/priorityqueue.md b/stdlib/priorityqueue.md index b18eceaaa..f151cca0b 100644 --- a/stdlib/priorityqueue.md +++ b/stdlib/priorityqueue.md @@ -40,7 +40,7 @@ Functions and constants included in the PriorityQueue module. - +
versionchanges
versionchanges
nextMerged with `makeSized`; modified signature to accept size
0.6.0Merged with `makeSized`; modified signature to accept size
@@ -241,7 +241,7 @@ Returns: versionchanges -nextMade `compare` a default argument +0.6.0Made `compare` a default argument @@ -279,7 +279,7 @@ Returns: versionchanges -nextMade `compare` a default argument +0.6.0Made `compare` a default argument @@ -312,7 +312,7 @@ Returns: An immutable priority queue implementation.
-Added in next +Added in 0.6.0 @@ -342,7 +342,7 @@ Functions and constants included in the PriorityQueue.Immutable module. #### PriorityQueue.Immutable.**empty**
-Added in next +Added in 0.6.0
versionchanges
@@ -362,7 +362,7 @@ An empty priority queue with the default `compare` comparator. #### PriorityQueue.Immutable.**make**
-Added in next +Added in 0.6.0
versionchanges
@@ -407,7 +407,7 @@ PriorityQueue.Immutable.make((a, b) => String.length(b) - String.length(a)) // c #### PriorityQueue.Immutable.**size**
-Added in next +Added in 0.6.0
versionchanges
@@ -439,7 +439,7 @@ Returns: #### PriorityQueue.Immutable.**isEmpty**
-Added in next +Added in 0.6.0
versionchanges
@@ -471,7 +471,7 @@ Returns: #### PriorityQueue.Immutable.**push**
-Added in next +Added in 0.6.0
versionchanges
@@ -504,7 +504,7 @@ Returns: #### PriorityQueue.Immutable.**peek**
-Added in next +Added in 0.6.0
versionchanges
@@ -537,7 +537,7 @@ Returns: #### PriorityQueue.Immutable.**pop**
-Added in next +Added in 0.6.0
versionchanges
@@ -571,7 +571,7 @@ Returns: #### PriorityQueue.Immutable.**drain**
-Added in next +Added in 0.6.0
versionchanges
@@ -603,7 +603,7 @@ Returns: #### PriorityQueue.Immutable.**fromList**
-Added in next +Added in 0.6.0
versionchanges
@@ -640,7 +640,7 @@ Returns: #### PriorityQueue.Immutable.**fromArray**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/queue.md b/stdlib/queue.md index 5b40be937..d2dc23c34 100644 --- a/stdlib/queue.md +++ b/stdlib/queue.md @@ -36,7 +36,7 @@ Functions and constants included in the Queue module. ### Queue.**make**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -64,7 +64,7 @@ Returns: ### Queue.**isEmpty**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -89,7 +89,7 @@ Returns: ### Queue.**size**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -114,7 +114,7 @@ Returns: ### Queue.**peek**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -139,7 +139,7 @@ Returns: ### Queue.**push**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -159,7 +159,7 @@ Parameters: ### Queue.**pop**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -184,7 +184,7 @@ Returns: ### Queue.**toList**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -209,7 +209,7 @@ Returns: ### Queue.**fromList**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -234,7 +234,7 @@ Returns: ### Queue.**clear**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -253,7 +253,7 @@ Parameters: ### Queue.**copy**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -278,7 +278,7 @@ Returns: ### Queue.**toArray**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -303,7 +303,7 @@ Returns: ### Queue.**fromArray**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -328,7 +328,7 @@ Returns: ### Queue.**(==)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -374,7 +374,7 @@ Functions and constants included in the Queue.Immutable module. #### Queue.Immutable.**empty**
-Added in next +Added in 0.6.0
versionchanges
@@ -394,7 +394,7 @@ An empty queue. #### Queue.Immutable.**isEmpty**
-Added in next +Added in 0.6.0
versionchanges
@@ -426,7 +426,7 @@ Returns: #### Queue.Immutable.**peek**
-Added in next +Added in 0.6.0
versionchanges
@@ -461,7 +461,7 @@ Returns: #### Queue.Immutable.**push**
-Added in next +Added in 0.6.0
versionchanges
@@ -497,7 +497,7 @@ Returns: #### Queue.Immutable.**pop**
-Added in next +Added in 0.6.0
versionchanges
@@ -532,7 +532,7 @@ Returns: #### Queue.Immutable.**size**
-Added in next +Added in 0.6.0
versionchanges
@@ -564,7 +564,7 @@ Returns: #### Queue.Immutable.**toList**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -589,7 +589,7 @@ Returns: #### Queue.Immutable.**fromList**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/random.md b/stdlib/random.md index 37af13476..28d2ad43e 100644 --- a/stdlib/random.md +++ b/stdlib/random.md @@ -74,7 +74,7 @@ Returns: ### Random.**nextUint32**
-Added in next +Added in 0.6.0
versionchanges
@@ -106,7 +106,7 @@ Returns: ### Random.**nextUint64**
-Added in next +Added in 0.6.0
versionchanges
@@ -138,7 +138,7 @@ Returns: ### Random.**nextUint32InRange**
-Added in next +Added in 0.6.0
versionchanges
@@ -173,7 +173,7 @@ Returns: ### Random.**nextUint64InRange**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/range.md b/stdlib/range.md index cfe95e3dd..91c2a0e5b 100644 --- a/stdlib/range.md +++ b/stdlib/range.md @@ -16,7 +16,7 @@ of all APIs are available in the `Inclusive` submodule. - +
versionchanges
versionchanges
nextTreats all ranges as exclusive
0.6.0Treats all ranges as exclusive
@@ -38,7 +38,7 @@ Functions and constants included in the Range module. versionchanges -nextTreats all ranges as exclusive +0.6.0Treats all ranges as exclusive @@ -81,7 +81,7 @@ Range.inRange(10, { rangeStart: 0, rangeEnd: 2 }) == false versionchanges -nextTreats all ranges as exclusive +0.6.0Treats all ranges as exclusive @@ -118,7 +118,7 @@ Range.forEach(val => print(val), { rangeStart: 0, rangeEnd: 2 }) versionchanges -nextTreats all ranges as exclusive +0.6.0Treats all ranges as exclusive @@ -161,7 +161,7 @@ Functions and constants included in the Range.Inclusive module. #### Range.Inclusive.**inRange**
-Added in next +Added in 0.6.0 diff --git a/stdlib/rational.md b/stdlib/rational.md index 13a1ae213..274b893f0 100644 --- a/stdlib/rational.md +++ b/stdlib/rational.md @@ -5,7 +5,7 @@ title: Rational Utilities for working with the Rational type.
-Added in next +Added in 0.6.0 No other changes yet.
@@ -28,7 +28,7 @@ Functions and constants included in the Rational module. ### Rational.**fromNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -53,7 +53,7 @@ Returns: ### Rational.**toNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -78,7 +78,7 @@ Returns: ### Rational.**numerator**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -103,7 +103,7 @@ Returns: ### Rational.**denominator**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -128,7 +128,7 @@ Returns: ### Rational.**toIntegerRatio**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -163,7 +163,7 @@ Rational.toIntegerRatio(2/8r) == (1, 4) ### Rational.**fromIntegerRatio**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -206,7 +206,7 @@ Rational.fromIntegerRatio(2, 8) == 1/4r ### Rational.**(+)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -239,7 +239,7 @@ assert 1/2r + 1/4r == 3/4r ### Rational.**(-)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -272,7 +272,7 @@ assert 1/2r - 1/4r == 1/4r ### Rational.**(*)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -305,7 +305,7 @@ assert 1/2r * 1/4r == 1/8r ### Rational.**(/)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -338,7 +338,7 @@ assert 1/2r / 1/4r == 2/1r ### Rational.**(==)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -371,7 +371,7 @@ assert 1/2r == 1/2r ### Rational.**(!=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -404,7 +404,7 @@ assert 1/2r != 1/4r ### Rational.**(<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -437,7 +437,7 @@ assert 1/4r < 1/2r ### Rational.**(>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -470,7 +470,7 @@ assert 1/2r > 1/4r ### Rational.**(<=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -508,7 +508,7 @@ assert 1/2r <= 1/2r ### Rational.**(>=)**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/result.md b/stdlib/result.md index 35be22f82..afc308ddf 100644 --- a/stdlib/result.md +++ b/stdlib/result.md @@ -268,7 +268,7 @@ Returns: ### Result.**(||)**
-Added in next +Added in 0.6.0
versionchanges
@@ -301,7 +301,7 @@ Returns: ### Result.**(&&)**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/runtime/atoi/parse.md b/stdlib/runtime/atoi/parse.md index a68af2bf2..3150d9515 100644 --- a/stdlib/runtime/atoi/parse.md +++ b/stdlib/runtime/atoi/parse.md @@ -9,7 +9,7 @@ Type declarations included in the Parse module. ### Parse.**ParseIntError**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/runtime/numbers.md b/stdlib/runtime/numbers.md index 98e4c16f4..99f9de35b 100644 --- a/stdlib/runtime/numbers.md +++ b/stdlib/runtime/numbers.md @@ -161,7 +161,7 @@ cmpRationals : (x: WasmI32, y: WasmI32) => WasmI32 ### Numbers.**rationalNumerator**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -186,7 +186,7 @@ Returns: ### Numbers.**rationalDenominator**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -563,7 +563,7 @@ Returns: ### Numbers.**coerceNumberToInt8**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -588,7 +588,7 @@ Returns: ### Numbers.**coerceNumberToInt16**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -613,7 +613,7 @@ Returns: ### Numbers.**coerceNumberToUint8**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -638,7 +638,7 @@ Returns: ### Numbers.**coerceNumberToUint16**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -738,7 +738,7 @@ Returns: ### Numbers.**coerceNumberToRational**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -813,7 +813,7 @@ Returns: ### Numbers.**coerceInt8ToNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -838,7 +838,7 @@ Returns: ### Numbers.**coerceInt16ToNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -863,7 +863,7 @@ Returns: ### Numbers.**coerceUint8ToNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -888,7 +888,7 @@ Returns: ### Numbers.**coerceUint16ToNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -988,7 +988,7 @@ Returns: ### Numbers.**coerceRationalToNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1288,7 +1288,7 @@ Returns: ### Numbers.**(\*\*)**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/set.md b/stdlib/set.md index 8e1c7492f..7370fb02d 100644 --- a/stdlib/set.md +++ b/stdlib/set.md @@ -49,7 +49,7 @@ Functions and constants included in the Set module. - +
versionchanges
versionchanges
nextMerged with `makeSized`; modified signature to accept size
0.6.0Merged with `makeSized`; modified signature to accept size
@@ -491,7 +491,7 @@ Returns: versionchanges -nextReturn `InternalSetStats` record instead of a tuple +0.6.0Return `InternalSetStats` record instead of a tuple @@ -519,7 +519,7 @@ Returns: An immutable set implementation.
-Added in next +Added in 0.6.0 @@ -547,7 +547,7 @@ Functions and constants included in the Set.Immutable module. #### Set.Immutable.**empty**
-Added in next +Added in 0.6.0
versionchanges
@@ -567,7 +567,7 @@ An empty set #### Set.Immutable.**size**
-Added in next +Added in 0.6.0
versionchanges
@@ -599,7 +599,7 @@ Returns: #### Set.Immutable.**isEmpty**
-Added in next +Added in 0.6.0
versionchanges
@@ -631,7 +631,7 @@ Returns: #### Set.Immutable.**add**
-Added in next +Added in 0.6.0
versionchanges
@@ -665,7 +665,7 @@ Returns: #### Set.Immutable.**contains**
-Added in next +Added in 0.6.0
versionchanges
@@ -698,7 +698,7 @@ Returns: #### Set.Immutable.**remove**
-Added in next +Added in 0.6.0
versionchanges
@@ -732,7 +732,7 @@ Returns: #### Set.Immutable.**forEach**
-Added in next +Added in 0.6.0
versionchanges
@@ -759,7 +759,7 @@ Parameters: #### Set.Immutable.**reduce**
-Added in next +Added in 0.6.0
versionchanges
@@ -793,7 +793,7 @@ Returns: #### Set.Immutable.**filter**
-Added in next +Added in 0.6.0
versionchanges
@@ -826,7 +826,7 @@ Returns: #### Set.Immutable.**reject**
-Added in next +Added in 0.6.0
versionchanges
@@ -859,7 +859,7 @@ Returns: #### Set.Immutable.**union**
-Added in next +Added in 0.6.0
versionchanges
@@ -892,7 +892,7 @@ Returns: #### Set.Immutable.**diff**
-Added in next +Added in 0.6.0
versionchanges
@@ -925,7 +925,7 @@ Returns: #### Set.Immutable.**intersect**
-Added in next +Added in 0.6.0
versionchanges
@@ -958,7 +958,7 @@ Returns: #### Set.Immutable.**fromList**
-Added in next +Added in 0.6.0
versionchanges
@@ -990,7 +990,7 @@ Returns: #### Set.Immutable.**toList**
-Added in next +Added in 0.6.0
versionchanges
@@ -1022,7 +1022,7 @@ Returns: #### Set.Immutable.**fromArray**
-Added in next +Added in 0.6.0
versionchanges
@@ -1054,7 +1054,7 @@ Returns: #### Set.Immutable.**toArray**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/stack.md b/stdlib/stack.md index 998e85ee3..0e5a22a65 100644 --- a/stdlib/stack.md +++ b/stdlib/stack.md @@ -36,7 +36,7 @@ Functions and constants included in the Stack module. ### Stack.**make**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -64,7 +64,7 @@ Returns: ### Stack.**isEmpty**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -89,7 +89,7 @@ Returns: ### Stack.**size**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -114,7 +114,7 @@ Returns: ### Stack.**peek**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -139,7 +139,7 @@ Returns: ### Stack.**push**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -159,7 +159,7 @@ Parameters: ### Stack.**pop**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -184,7 +184,7 @@ Returns: ### Stack.**clear**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -203,7 +203,7 @@ Parameters: ### Stack.**copy**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -248,7 +248,7 @@ Functions and constants included in the Stack.Immutable module. #### Stack.Immutable.**empty**
-Added in next +Added in 0.6.0
versionchanges
@@ -268,7 +268,7 @@ An empty stack. #### Stack.Immutable.**isEmpty**
-Added in next +Added in 0.6.0
versionchanges
@@ -300,7 +300,7 @@ Returns: #### Stack.Immutable.**peek**
-Added in next +Added in 0.6.0
versionchanges
@@ -333,7 +333,7 @@ Returns: #### Stack.Immutable.**push**
-Added in next +Added in 0.6.0
versionchanges
@@ -366,7 +366,7 @@ Returns: #### Stack.Immutable.**pop**
-Added in next +Added in 0.6.0
versionchanges
@@ -398,7 +398,7 @@ Returns: #### Stack.Immutable.**size**
-Added in next +Added in 0.6.0
versionchanges
diff --git a/stdlib/string.md b/stdlib/string.md index 064fdbcff..7cf41b6f2 100644 --- a/stdlib/string.md +++ b/stdlib/string.md @@ -140,7 +140,7 @@ String.byteLength("🌾") == 4 ### String.**isEmpty**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -451,7 +451,7 @@ String.split(" ", "Hello world") == [> "Hello", "world"] - +
versionchanges
versionchanges
nextDefault `end` to the String length
0.6.0Default `end` to the String length
@@ -706,7 +706,7 @@ String.replaceAll("🌾", "🌎", "Hello 🌾🌾") == "Hello 🌎🌎" versionchanges -nextAdded `includeBom` default argument +0.6.0Added `includeBom` default argument @@ -751,7 +751,7 @@ Throws: versionchanges -nextAdded `includeBom` default argument +0.6.0Added `includeBom` default argument @@ -785,7 +785,7 @@ Returns: versionchanges -nextAdded `keepBom` default argument +0.6.0Added `keepBom` default argument @@ -832,7 +832,7 @@ Throws: versionchanges -nextAdded `keepBom` default argument +0.6.0Added `keepBom` default argument @@ -1007,7 +1007,7 @@ String.trim(" Hello World ") == "Hello World" ### String.**toAsciiLowercase**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1038,7 +1038,7 @@ assert String.toAsciiLowercase("aBc123") == "abc123" ### String.**toAsciiUppercase**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/uint16.md b/stdlib/uint16.md index ce6f4f2c3..3009d951d 100644 --- a/stdlib/uint16.md +++ b/stdlib/uint16.md @@ -5,7 +5,7 @@ title: Uint16 Utilities for working with the Uint16 type.
-Added in next +Added in 0.6.0 No other changes yet.
@@ -20,7 +20,7 @@ Functions and constants included in the Uint16 module. ### Uint16.**fromNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -45,7 +45,7 @@ Returns: ### Uint16.**toNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -70,7 +70,7 @@ Returns: ### Uint16.**fromInt16**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -95,7 +95,7 @@ Returns: ### Uint16.**incr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -120,7 +120,7 @@ Returns: ### Uint16.**decr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -145,7 +145,7 @@ Returns: ### Uint16.**(+)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -171,7 +171,7 @@ Returns: ### Uint16.**(-)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -197,7 +197,7 @@ Returns: ### Uint16.**(*)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -223,7 +223,7 @@ Returns: ### Uint16.**(/)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -249,7 +249,7 @@ Returns: ### Uint16.**rem**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -275,7 +275,7 @@ Returns: ### Uint16.**(<<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -301,7 +301,7 @@ Returns: ### Uint16.**(>>>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -327,7 +327,7 @@ Returns: ### Uint16.**(==)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -353,7 +353,7 @@ Returns: ### Uint16.**(!=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -379,7 +379,7 @@ Returns: ### Uint16.**(<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -405,7 +405,7 @@ Returns: ### Uint16.**(>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -431,7 +431,7 @@ Returns: ### Uint16.**(<=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -457,7 +457,7 @@ Returns: ### Uint16.**(>=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -483,7 +483,7 @@ Returns: ### Uint16.**lnot**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -508,7 +508,7 @@ Returns: ### Uint16.**(&)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -534,7 +534,7 @@ Returns: ### Uint16.**(|)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -560,7 +560,7 @@ Returns: ### Uint16.**(^)**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/uint32.md b/stdlib/uint32.md index f8cf24fd2..24f977b43 100644 --- a/stdlib/uint32.md +++ b/stdlib/uint32.md @@ -5,7 +5,7 @@ title: Uint32 Utilities for working with the Uint32 type.
-Added in next +Added in 0.6.0 No other changes yet.
@@ -20,7 +20,7 @@ Functions and constants included in the Uint32 module. ### Uint32.**fromNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -45,7 +45,7 @@ Returns: ### Uint32.**toNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -70,7 +70,7 @@ Returns: ### Uint32.**fromInt32**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -95,7 +95,7 @@ Returns: ### Uint32.**incr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -120,7 +120,7 @@ Returns: ### Uint32.**decr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -145,7 +145,7 @@ Returns: ### Uint32.**(+)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -171,7 +171,7 @@ Returns: ### Uint32.**(-)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -197,7 +197,7 @@ Returns: ### Uint32.**(*)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -223,7 +223,7 @@ Returns: ### Uint32.**(/)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -249,7 +249,7 @@ Returns: ### Uint32.**rem**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -275,7 +275,7 @@ Returns: ### Uint32.**rotl**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -301,7 +301,7 @@ Returns: ### Uint32.**rotr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -327,7 +327,7 @@ Returns: ### Uint32.**(<<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -353,7 +353,7 @@ Returns: ### Uint32.**(>>>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -379,7 +379,7 @@ Returns: ### Uint32.**(==)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -405,7 +405,7 @@ Returns: ### Uint32.**(!=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -431,7 +431,7 @@ Returns: ### Uint32.**eqz**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -456,7 +456,7 @@ Returns: ### Uint32.**(<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -482,7 +482,7 @@ Returns: ### Uint32.**(>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -508,7 +508,7 @@ Returns: ### Uint32.**(<=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -534,7 +534,7 @@ Returns: ### Uint32.**(>=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -560,7 +560,7 @@ Returns: ### Uint32.**lnot**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -585,7 +585,7 @@ Returns: ### Uint32.**(&)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -611,7 +611,7 @@ Returns: ### Uint32.**(|)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -637,7 +637,7 @@ Returns: ### Uint32.**(^)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -663,7 +663,7 @@ Returns: ### Uint32.**clz**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -688,7 +688,7 @@ Returns: ### Uint32.**ctz**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -713,7 +713,7 @@ Returns: ### Uint32.**popcnt**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/uint64.md b/stdlib/uint64.md index 145527411..5b90c8cb6 100644 --- a/stdlib/uint64.md +++ b/stdlib/uint64.md @@ -5,7 +5,7 @@ title: Uint64 Utilities for working with the Uint64 type.
-Added in next +Added in 0.6.0 No other changes yet.
@@ -20,7 +20,7 @@ Functions and constants included in the Uint64 module. ### Uint64.**fromNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -45,7 +45,7 @@ Returns: ### Uint64.**toNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -70,7 +70,7 @@ Returns: ### Uint64.**fromInt64**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -95,7 +95,7 @@ Returns: ### Uint64.**incr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -120,7 +120,7 @@ Returns: ### Uint64.**decr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -145,7 +145,7 @@ Returns: ### Uint64.**(+)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -171,7 +171,7 @@ Returns: ### Uint64.**(-)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -197,7 +197,7 @@ Returns: ### Uint64.**(*)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -223,7 +223,7 @@ Returns: ### Uint64.**(/)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -249,7 +249,7 @@ Returns: ### Uint64.**rem**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -275,7 +275,7 @@ Returns: ### Uint64.**rotl**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -301,7 +301,7 @@ Returns: ### Uint64.**rotr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -327,7 +327,7 @@ Returns: ### Uint64.**(<<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -353,7 +353,7 @@ Returns: ### Uint64.**(>>>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -379,7 +379,7 @@ Returns: ### Uint64.**(==)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -405,7 +405,7 @@ Returns: ### Uint64.**(!=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -431,7 +431,7 @@ Returns: ### Uint64.**eqz**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -456,7 +456,7 @@ Returns: ### Uint64.**(<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -482,7 +482,7 @@ Returns: ### Uint64.**(>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -508,7 +508,7 @@ Returns: ### Uint64.**(<=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -534,7 +534,7 @@ Returns: ### Uint64.**(>=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -560,7 +560,7 @@ Returns: ### Uint64.**lnot**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -585,7 +585,7 @@ Returns: ### Uint64.**(&)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -611,7 +611,7 @@ Returns: ### Uint64.**(|)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -637,7 +637,7 @@ Returns: ### Uint64.**(^)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -663,7 +663,7 @@ Returns: ### Uint64.**clz**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -688,7 +688,7 @@ Returns: ### Uint64.**ctz**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -713,7 +713,7 @@ Returns: ### Uint64.**popcnt**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/uint8.md b/stdlib/uint8.md index c78ece8e9..16e969bc1 100644 --- a/stdlib/uint8.md +++ b/stdlib/uint8.md @@ -5,7 +5,7 @@ title: Uint8 Utilities for working with the Uint8 type.
-Added in next +Added in 0.6.0 No other changes yet.
@@ -20,7 +20,7 @@ Functions and constants included in the Uint8 module. ### Uint8.**fromNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -45,7 +45,7 @@ Returns: ### Uint8.**toNumber**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -70,7 +70,7 @@ Returns: ### Uint8.**fromInt8**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -95,7 +95,7 @@ Returns: ### Uint8.**incr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -120,7 +120,7 @@ Returns: ### Uint8.**decr**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -145,7 +145,7 @@ Returns: ### Uint8.**(+)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -171,7 +171,7 @@ Returns: ### Uint8.**(-)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -197,7 +197,7 @@ Returns: ### Uint8.**(*)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -223,7 +223,7 @@ Returns: ### Uint8.**(/)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -249,7 +249,7 @@ Returns: ### Uint8.**rem**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -275,7 +275,7 @@ Returns: ### Uint8.**(<<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -301,7 +301,7 @@ Returns: ### Uint8.**(>>>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -327,7 +327,7 @@ Returns: ### Uint8.**(==)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -353,7 +353,7 @@ Returns: ### Uint8.**(!=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -379,7 +379,7 @@ Returns: ### Uint8.**(<)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -405,7 +405,7 @@ Returns: ### Uint8.**(>)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -431,7 +431,7 @@ Returns: ### Uint8.**(<=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -457,7 +457,7 @@ Returns: ### Uint8.**(>=)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -483,7 +483,7 @@ Returns: ### Uint8.**lnot**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -508,7 +508,7 @@ Returns: ### Uint8.**(&)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -534,7 +534,7 @@ Returns: ### Uint8.**(|)**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -560,7 +560,7 @@ Returns: ### Uint8.**(^)**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/uri.md b/stdlib/uri.md index 5c69ace9d..2ae74a577 100644 --- a/stdlib/uri.md +++ b/stdlib/uri.md @@ -5,7 +5,7 @@ title: Uri Utilities for working with URIs.
-Added in next +Added in 0.6.0 No other changes yet.
@@ -104,7 +104,7 @@ Functions and constants included in the Uri module. ### Uri.**encode**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -144,7 +144,7 @@ Uri.encode("word", encodeSet=Uri.EncodeCustom(c => c == 'o')) // "w%6Frd" ### Uri.**decode**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -169,7 +169,7 @@ Returns: ### Uri.**encodeQuery**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -195,7 +195,7 @@ Returns: ### Uri.**decodeQuery**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -220,7 +220,7 @@ Returns: ### Uri.**parse**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -257,7 +257,7 @@ Uri.parse("http://@*^%") == Err(Uri.ParseError) ### Uri.**resolveReference**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -298,7 +298,7 @@ resolveReference(unwrap(parse("https://grain-lang.org/docs")), unwrap(parse("goo ### Uri.**make**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -346,7 +346,7 @@ Uri.make(port=Some(80)) // Err(Uri.PortWithNoHost) ### Uri.**update**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -403,7 +403,7 @@ Uri.update(uri, host=Some(None), port=Some(Some(80))) // Err(Uri.PortWithNoHost) ### Uri.**hasAuthority**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -428,7 +428,7 @@ Returns: ### Uri.**isAbsolute**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -453,7 +453,7 @@ Returns: ### Uri.**toString**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/wasi/file.md b/stdlib/wasi/file.md index 6180ce524..398cc9ae2 100644 --- a/stdlib/wasi/file.md +++ b/stdlib/wasi/file.md @@ -609,7 +609,7 @@ Returns: ### File.**fdPrestatGet**
-Added in next +Added in 0.6.0 No other changes yet.
@@ -1326,7 +1326,7 @@ Returns: ### File.**open**
-Added in next +Added in 0.6.0 No other changes yet.
diff --git a/stdlib/wasi/random.md b/stdlib/wasi/random.md index c7e91e4bc..4c6dbd19a 100644 --- a/stdlib/wasi/random.md +++ b/stdlib/wasi/random.md @@ -15,7 +15,7 @@ Functions and constants included in the Random module. ### Random.**randomUint32**
-Added in next +Added in 0.6.0 @@ -41,7 +41,7 @@ Returns: ### Random.**randomUint64**
-Added in next +Added in 0.6.0
versionchanges
versionchanges