{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":634043200,"defaultBranch":"main","name":"mojo","ownerLogin":"modularml","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2023-04-28T22:17:24.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/39327063?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1714352170.0","currentOid":""},"activityList":{"items":[{"before":"09db8f3bcb0d783078a63241cda57047a850e05e","after":"f5f5109541c31615a68a3c4b58bd1e75b59625f6","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:02:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Bump compiler version to 2024.5.1515","shortMessageHtmlLink":"[stdlib] Bump compiler version to 2024.5.1515"}},{"before":"707ba0115419d28430a43aed7a1e7e1354935c69","after":"09db8f3bcb0d783078a63241cda57047a850e05e","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:02:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Change `Reference.is_mutable` to `Bool` (from `i1`)\n\nWith the recent change to `Bool` to use an `i1` as its\nrepresentation, many of the errors holding up moving\n`Reference.is_mutable` to `Bool` were resolved.\n\nCo-authored-by: Chris Lattner \nMODULAR_ORIG_COMMIT_REV_ID: 980a32f9b676905284a58b454c3f5e25a7280b21","shortMessageHtmlLink":"[stdlib] Change Reference.is_mutable to Bool (from i1)"}},{"before":"607adaa0f7995bf06accf6877b8bceb811ee4c89","after":"707ba0115419d28430a43aed7a1e7e1354935c69","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:02:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] feature: Add initial string byte slicing\n\n* Add String.as_bytes_slice() -> Span[Int8, _, _]\n* Add StringLiteral.as_bytes_slice() -> Span[Int8, 0, ImmStaticLifetime]\n* Add new ImmStaticLifetime and MutStaticLifetime helpers\n* Add _byte_length() methods to String and StringLiteral\n* Change Span.__getitem__() to return a Reference, making the doc\ncomment accurate\n* Add Span.unsafe_ptr()\n* Fix missing declaration of utils/span in CMakeLists.txt\n\nMODULAR_ORIG_COMMIT_REV_ID: e7c7f512b0d968f1cbb1e2098f824b621046659a","shortMessageHtmlLink":"[stdlib] feature: Add initial string byte slicing"}},{"before":"9f5cae694cb25a4af10ff5b434388c6370a9efc7","after":"607adaa0f7995bf06accf6877b8bceb811ee4c89","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:02:05.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Re-enable `FloatLiteral.__trunc__` tests\n\nThese were accidentally disabled when the original patch landed.\n\nMODULAR_ORIG_COMMIT_REV_ID: 0debdbd812763b50aefedc3aed34b51593fdd8c7","shortMessageHtmlLink":"[stdlib] Re-enable FloatLiteral.__trunc__ tests"}},{"before":"b4da05cef19a6c79cad786ea9c8e2f22d092bd75","after":"9f5cae694cb25a4af10ff5b434388c6370a9efc7","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:01:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Add unit tests for SIMD add, radd and iadd operations (#39931)\n\nAdd unit tests for the `__add__()`, `__radd__()`, and `__iadd__()`\nmethods.\n\nCo-authored-by: Peyman Barazandeh \nCloses modularml/mojo#2611\nMODULAR_ORIG_COMMIT_REV_ID: b1616eedeb11b99a9e8f62df6f58cd708c587d78","shortMessageHtmlLink":"[External] [stdlib] Add unit tests for SIMD add, radd and iadd operat…"}},{"before":"0101130d46da8e294cff8381a50a0bb0c2ba0821","after":"b4da05cef19a6c79cad786ea9c8e2f22d092bd75","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:01:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [docs] Add constraint documentation for various `reduce`-like functions in simd.mojo (#39872)\n\nFixes #2237 for `reduce`-like functions in simd.mojo:\n- Adds documentation for constraint on value of `size_out` not exceeding\nwidth of input vector in `reduce_add`, `reduce_mul`, `reduce_max` and\n`reduce_min`.\n\nSigned-off-by: Brian-M-J \n\nCo-authored-by: Brian M Johnson <1DT21AI037@dsatm.edu.in>\nCloses modularml/mojo#2461\nMODULAR_ORIG_COMMIT_REV_ID: b151847dcc2e89c9b87fec873941bf8b20a534c7","shortMessageHtmlLink":"[External] [docs] Add constraint documentation for various reduce-l…"}},{"before":"eab52d3c0788a779080a01702825c278880c1926","after":"0101130d46da8e294cff8381a50a0bb0c2ba0821","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:01:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[Stdlib] Fix the abs implementation (#39100)\n\nThe abs function was evaluating both branches even if we can prove the\nvalue is positive. Switch the conditions to avoid that.y\n\nCo-authored-by: Abdul Dakkak \nMODULAR_ORIG_COMMIT_REV_ID: ee080ab8be7b8838d918734ee032fec34d12860b","shortMessageHtmlLink":"[Stdlib] Fix the abs implementation (#39100)"}},{"before":"dd2ce62e5fb71866be99b9c030516808e165abb1","after":"eab52d3c0788a779080a01702825c278880c1926","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:01:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Added `Variant.replace` (#39900)\n\n[stdlib] Added `Variant.replace`\n\nBEGING_PUBLIC\n[stdlib] Added `Variant.replace`\n\nThe `replace` method serve the same purpose as `take` before, but\nenforces placement of a new element immediately.\n\nThis also fix the problem where `Optional.take` does not actually\ntake out the value.\n\nTest cases were updated accordingly\nEND_PUBLIC\n\n---------\n\nCo-authored-by: Connor Gray \nMODULAR_ORIG_COMMIT_REV_ID: 0a35284f47a9a8fcf58c2a25e3288725ac426e37","shortMessageHtmlLink":"[stdlib] Added Variant.replace (#39900)"}},{"before":"f05749db22548f61c17e6cb0db938e22f092341f","after":"dd2ce62e5fb71866be99b9c030516808e165abb1","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:01:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[Docs] Fix a broken description of undeclared variables\n\nAlso, some general corrections and rewrites. (And one very trivial typo\nfix in another file.)\n\nMODULAR_ORIG_COMMIT_REV_ID: 70f8469144f5e17c9836fbd748a8b440707d53df","shortMessageHtmlLink":"[Docs] Fix a broken description of undeclared variables"}},{"before":"9b39eed9a6feb7d063b9be1d06885aff1483ce3d","after":"f05749db22548f61c17e6cb0db938e22f092341f","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:01:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[mojo-stdlib] Make `Tuple`'s constructor move its input elements. (#39904)\n\nThis changes `Tuple` to take its input pack as 'owned' and then\nmove from the pack into it storage.\n\nThis unearthed some bugs handling owned packs which were causing\nmultiple destructions, as a consequence of VariadicPack's ctor\nmoving off of `-> Self`. Fix these bugs, make the variadics.mojo\nmore thorough, and make the IR pattern matching more \"fail fast\"\nfor when the IR changes again next time.\n\nMODULAR_ORIG_COMMIT_REV_ID: b11da619445ce8330e7fef7b98e20860421ce1e6","shortMessageHtmlLink":"[mojo-stdlib] Make Tuple's constructor move its input elements. (#3…"}},{"before":"2d015fb549fc3c1efd4312abc749066aaf66ea9c","after":"9b39eed9a6feb7d063b9be1d06885aff1483ce3d","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:01:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Make `trunc` generic\n\nThis is done by introducing a `Truncable` trait. Implementations of\n`__trunc__` are added for the core numeric types.\n\nMODULAR_ORIG_COMMIT_REV_ID: 0b70cb6eaf05651ceb676eda40db6d364b0c9995","shortMessageHtmlLink":"[stdlib] Make trunc generic"}},{"before":"831d7e7b9170921b390df5318857a21d7c8bfc8d","after":"2d015fb549fc3c1efd4312abc749066aaf66ea9c","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:01:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [docs] Correct typo in types.ipynb (#39888)\n\n[External] [docs] Correct typo in types.ipynb\n\nCorrecting typo.\n\nCo-authored-by: N <47500890+avi-cenna@users.noreply.github.com>\nCloses modularml/mojo#2646\nMODULAR_ORIG_COMMIT_REV_ID: aef3bb9dca96efdc6badc7b9369f14583ea2c71a","shortMessageHtmlLink":"[External] [docs] Correct typo in types.ipynb (#39888)"}},{"before":"9ab060c6cf2ca69cc6964536c3a4cd374f2cbaaa","after":"831d7e7b9170921b390df5318857a21d7c8bfc8d","ref":"refs/heads/nightly","pushedAt":"2024-05-15T16:01:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Provide safe `Variant` and `Optional` `take/get` methods\n\nThe safe version of `take/get` aborts if type checking fails.\n\nMODULAR_ORIG_COMMIT_REV_ID: 240b627f31860a674e5878a1467e3c39feadce1b","shortMessageHtmlLink":"[stdlib] Provide safe Variant and Optional take/get methods"}},{"before":"31b2e546f481bda2f06555fe0f14c0b83e47435b","after":"9ab060c6cf2ca69cc6964536c3a4cd374f2cbaaa","ref":"refs/heads/nightly","pushedAt":"2024-05-14T13:34:52.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Bump compiler version to 2024.5.1413","shortMessageHtmlLink":"[stdlib] Bump compiler version to 2024.5.1413"}},{"before":"60f5b044f237fffd94143adcb8934e90861559bd","after":"31b2e546f481bda2f06555fe0f14c0b83e47435b","ref":"refs/heads/nightly","pushedAt":"2024-05-14T13:34:32.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Add method `unsafe_ptr()` to `InlineArray` (#39871)\n\n[External] [stdlib] Add method `unsafe_ptr()` to `InlineArray`\n\nThis is pretty useful to implement short string optimization. See\nhttps://github.com/modularml/mojo/issues/2467\n\nCo-authored-by: Gabriel de Marmiesse \nCloses modularml/mojo#2642\nMODULAR_ORIG_COMMIT_REV_ID: 5739e8a67742c1841ca3c33efcd23bcc45048b86","shortMessageHtmlLink":"[External] [stdlib] Add method unsafe_ptr() to InlineArray (#39871)"}},{"before":"bd15306cf04dcb2ed3f6dfebc4531066a6fa8315","after":"60f5b044f237fffd94143adcb8934e90861559bd","ref":"refs/heads/nightly","pushedAt":"2024-05-14T13:34:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Add `Defaultable` trait (#39797)\n\n[External] [stdlib] Add `Defaultable` trait\n\nAdd a `Defaultable` trait for describing a type which has a constructor\nwith no arguments.\n\nCo-authored-by: Helehex \nCloses modularml/mojo#2526\nMODULAR_ORIG_COMMIT_REV_ID: aed69a25ecf531873f944466a1cb5d7652dd7425","shortMessageHtmlLink":"[External] [stdlib] Add Defaultable trait (#39797)"}},{"before":"6052186427e768edaad48ed3a057bab0dc43b114","after":"bd15306cf04dcb2ed3f6dfebc4531066a6fa8315","ref":"refs/heads/nightly","pushedAt":"2024-05-14T13:34:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Remove unused import in python tests\n\nRemove some unused imports in a few test files.\n\nMODULAR_ORIG_COMMIT_REV_ID: c42bbfc0f593a6063729aedde761b7ccd2564680","shortMessageHtmlLink":"[stdlib] Remove unused import in python tests"}},{"before":"e4249ac998ae33d7b7baa633c5fb708837f48ab9","after":"6052186427e768edaad48ed3a057bab0dc43b114","ref":"refs/heads/nightly","pushedAt":"2024-05-14T13:34:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Added tests for `memset`\n\nThe current tests for `memset` only include `memset` with 0 in the\nargument. The additional tests also check validity when `memset` is\ncalled with non-zero values.\n\nMODULAR_ORIG_COMMIT_REV_ID: b54197f903fee8482e10ec6fc03d907db78a4995","shortMessageHtmlLink":"[stdlib] Added tests for memset"}},{"before":"8ffd00788961037244f20cd6a396866824026bd0","after":"e4249ac998ae33d7b7baa633c5fb708837f48ab9","ref":"refs/heads/nightly","pushedAt":"2024-05-14T13:34:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] String Constructor Does Not Depend On StringRef\nEnable StringRef Dependency on String\n\nMODULAR_ORIG_COMMIT_REV_ID: 3685dcb055d89f4d78b405db5c4ade6ad4ce35a2","shortMessageHtmlLink":"[stdlib] String Constructor Does Not Depend On StringRef"}},{"before":"f9fa6e4241db002ff113d54ac0ecdb64b5117546","after":"8ffd00788961037244f20cd6a396866824026bd0","ref":"refs/heads/nightly","pushedAt":"2024-05-14T13:34:10.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Optimizes the range function\n\nOptimizes the range function in some cases.\n\nMODULAR_ORIG_COMMIT_REV_ID: dabb154b20f978e0407fbce16f5bd77aee65b87e","shortMessageHtmlLink":"[stdlib] Optimizes the range function"}},{"before":"d1da86df2b1fdeaa79d2ad37972b75492132ece2","after":"f9fa6e4241db002ff113d54ac0ecdb64b5117546","ref":"refs/heads/nightly","pushedAt":"2024-05-14T13:34:06.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[docs] Fix changelog for `repr` functionality\n\nThis was added by Gabriel, so give proper attrition. This looks to just be an\noversight originally.\n\nMODULAR_ORIG_COMMIT_REV_ID: 3471128703755234b9ba618a624b6717517992c7","shortMessageHtmlLink":"[docs] Fix changelog for repr functionality"}},{"before":"5327aa4e70904b5a855795c3889a14065a051452","after":"d1da86df2b1fdeaa79d2ad37972b75492132ece2","ref":"refs/heads/nightly","pushedAt":"2024-05-14T13:34:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[stdlib] Clean up weird uses of `assert_equal` in testscases\n\nChanged `assert_equal({True, False}, ...)` to `assert_true` and\n`assert_false`.\n\nMODULAR_ORIG_COMMIT_REV_ID: c57cc9172b13b76afe5b79fa643c3e2f697b1e1b","shortMessageHtmlLink":"[stdlib] Clean up weird uses of assert_equal in testscases"}},{"before":"28e6ee93a0311d7c7d62675688bd8139d56bceaf","after":"5327aa4e70904b5a855795c3889a14065a051452","ref":"refs/heads/nightly","pushedAt":"2024-05-13T19:06:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"JoeLoser","name":"Joe Loser","path":"/JoeLoser","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6462525?s=80&v=4"},"commit":{"message":"[CI] Add timeouts to workflows\n\nOn Ubuntu tests, we're seeing some non-deterministic timeouts\ndue to a code bug (either in compiler or library) from a recent\n`nightly` release. Instead of relying on the default GitHub timeout\nof 6 hours for all of our workflows, add a sensible timeout\nfor each of our jobs, so they end early rather than spinning\nfor many hours.\n\nSigned-off-by: Joe Loser ","shortMessageHtmlLink":"[CI] Add timeouts to workflows"}},{"before":"d472fdf80e74191fa256496f251e8e845037bb7b","after":"28e6ee93a0311d7c7d62675688bd8139d56bceaf","ref":"refs/heads/nightly","pushedAt":"2024-05-13T18:30:52.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"JoeLoser","name":"Joe Loser","path":"/JoeLoser","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6462525?s=80&v=4"},"commit":{"message":"[stdlib] Bump compiler version to 2024.5.1317\n\nSigned-off-by: Joe Loser ","shortMessageHtmlLink":"[stdlib] Bump compiler version to 2024.5.1317"}},{"before":"bd0e475e95d0fa5a3697c64653a75089af82e42a","after":"d472fdf80e74191fa256496f251e8e845037bb7b","ref":"refs/heads/nightly","pushedAt":"2024-05-13T18:07:42.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[mojo-lang] Let's let `let` be an identifier once more\n\n`let` has been returned to the wilds, free to be an identifier once\nagain.\n\nThis PR completes removal of `let` from the language by removing the\ntoken kind entirely. This removes the warning that `let` is no longer\nsupported. It has been sufficient time.\n\nMODULAR_ORIG_COMMIT_REV_ID: a9c26c315329ee74b33321740d92c36a9ff24f38","shortMessageHtmlLink":"[mojo-lang] Let's let let be an identifier once more"}},{"before":"d627296e0e26623c970f17bc1eae3e0206d3af48","after":"bd0e475e95d0fa5a3697c64653a75089af82e42a","ref":"refs/heads/nightly","pushedAt":"2024-05-13T18:07:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] Support `reversed` for `Dict.items()|values()` (#39351)\n\n[External] [stdlib] Support `reversed` for `Dict.items()|values()`\n\nFollow up PR on https://github.com/modularml/mojo/pull/2327. `Dict` now\nsupports `reversed` for `dict.items()` and `dict.values()`.\n\nCo-authored-by: Jay Zhan \nMODULAR_ORIG_COMMIT_REV_ID: 416c016f35d7e4062297656c99c1172d101bd488","shortMessageHtmlLink":"[External] [stdlib] Support reversed for Dict.items()|values() (#…"}},{"before":"e586004731e1723328b9d36ae69a38bf37773e8b","after":"d627296e0e26623c970f17bc1eae3e0206d3af48","ref":"refs/heads/nightly","pushedAt":"2024-05-13T18:07:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[mojo-lang] Implementation mechanics for Reference autoderef.\n\nThis is more progress towards implementing automatic deference for\n`Reference`. This:\n\n1) Introduces a new `@automatically_dereference` struct decorator which\n signs a type up for autoderef and requires the type to have an\n `__mlir_ref__` member.\n2) Adds type checking logic for that.\n3) Adds `@automatically_dereference` to the various references in the\n testsuite and stdlib.\n4) Switches some testcases from using `Reference(x).value` to use\n `__get_mvalue_as_litref(x)` instead. The former will autoderef\n in the future and be synonymous for `x.value` so move these test\n cases, to reduce future diffs.\n\nFor what it's worth, I tried to do this without a decorator, but that\nsuffers\nfrom a big problem: it means that we cannot determine what the RValue\ntype of a value is without body resolving the type of the expression. We\ncurrently are lazy on this, and I don't want to start resolving lots of\nmore\ntypes just because of references - a decorator allows us to just\nsignature\nresolve the target struct, which we're already doing.\n\nAutoderef is not implemented yet, this is just progress towards it.\n\nMODULAR_ORIG_COMMIT_REV_ID: ab40ebf86f06bb1dd841293fd0197deb88b1ee3d","shortMessageHtmlLink":"[mojo-lang] Implementation mechanics for Reference autoderef."}},{"before":"31ec54f3842b8555b982fca292a24c1e94dad33c","after":"e586004731e1723328b9d36ae69a38bf37773e8b","ref":"refs/heads/nightly","pushedAt":"2024-05-13T18:07:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[mojo-stdlib] Change all `__refitem__` impls to return `Reference`\n\nSome were returning the MLIR internal reference type directly.\n\nMODULAR_ORIG_COMMIT_REV_ID: 98305f910e93f75b4c8c6f0fd9bb9ca2ae45bdc8","shortMessageHtmlLink":"[mojo-stdlib] Change all __refitem__ impls to return Reference"}},{"before":"682f225b164c661ea79ccc056346d662ef3e5d54","after":"31ec54f3842b8555b982fca292a24c1e94dad33c","ref":"refs/heads/nightly","pushedAt":"2024-05-13T18:07:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[mojo-stdlib] Improve doc comments for UnsafePointer.\n\nImprove doc comment on `destroy_pointee`.\n\nMODULAR_ORIG_COMMIT_REV_ID: 95499ed80cc4686ffbe3fbb3860e32a6763ed7ac","shortMessageHtmlLink":"[mojo-stdlib] Improve doc comments for UnsafePointer."}},{"before":"836626b7c7478126f21c6f57f200d88fd55a253b","after":"682f225b164c661ea79ccc056346d662ef3e5d54","ref":"refs/heads/nightly","pushedAt":"2024-05-13T18:07:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"modularbot","name":"modularbot","path":"/modularbot","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/116839051?s=80&v=4"},"commit":{"message":"[External] [stdlib] now `strip` can take `chars` argument and `String` now have useful aliases (#39814)\n\n[External] [stdlib] now `strip` can take `chars` argument and `String`\nnow have useful aliases\n\nTwo major changes:\n1. `strip`, `lstrip` and `rstrip` now can remove custom chars\n2. `String` now have useful aliases like Python's\nhttps://github.com/python/cpython/blob/0085c3ae8f067abd4f6540d0f6dd2fb13107618e/Lib/string.py#L24C1-L32C62\n\n- Naming is identical to python's\n- Defaults to whitespace ` \\n\\t\\r\\f\\v` without casting to Int8\n- Tests are updated\n\nCo-authored-by: Ilya Lubenets \nMODULAR_ORIG_COMMIT_REV_ID: ca166203ba387950a70e9b053f46bd9687ee6936","shortMessageHtmlLink":"[External] [stdlib] now strip can take chars argument and `String…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAESr6gRQA","startCursor":null,"endCursor":null}},"title":"Activity · modularml/mojo"}