{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":844774116,"defaultBranch":"main","name":"macabre","ownerLogin":"dusty-phillips","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2024-08-20T00:10:49.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/86920?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1724112660.0","currentOid":""},"activityList":{"items":[{"before":"eefcad8b8e14479fb592e0e10050609ba0153174","after":"6feb561cbbd6ce91fdf7166a0694317cf7b212ca","ref":"refs/heads/main","pushedAt":"2024-09-14T23:00:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Wrap some readme lines","shortMessageHtmlLink":"Wrap some readme lines"}},{"before":"28724cee03b7288d461c9f52fdd4173aa50157d1","after":"eefcad8b8e14479fb592e0e10050609ba0153174","ref":"refs/heads/main","pushedAt":"2024-09-09T16:42:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Make README more approachable","shortMessageHtmlLink":"Make README more approachable"}},{"before":"3a5b22714fc7b6905ee5676a74a182295ef1fe7f","after":"28724cee03b7288d461c9f52fdd4173aa50157d1","ref":"refs/heads/main","pushedAt":"2024-09-09T16:32:25.000Z","pushType":"push","commitsCount":5,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Simplify package management by depending on new library glimpse","shortMessageHtmlLink":"Simplify package management by depending on new library glimpse"}},{"before":"9a48840493bfb288754f080dc86af5f515875b47","after":"3a5b22714fc7b6905ee5676a74a182295ef1fe7f","ref":"refs/heads/main","pushedAt":"2024-08-28T19:07:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Fix a couple warnings","shortMessageHtmlLink":"Fix a couple warnings"}},{"before":"1de6b81e547524db92915c94e6dcb57ba99c9e8c","after":"9a48840493bfb288754f080dc86af5f515875b47","ref":"refs/heads/main","pushedAt":"2024-08-28T19:06:11.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Support constants","shortMessageHtmlLink":"Support constants"}},{"before":"87fde3a0849126e82746e5b9138443f0622c88d5","after":"1de6b81e547524db92915c94e6dcb57ba99c9e8c","ref":"refs/heads/main","pushedAt":"2024-08-28T18:19:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Oh hey, dependencies.","shortMessageHtmlLink":"Oh hey, dependencies."}},{"before":"398458675ac3c69aba981b9bfa7ff7302736faaf","after":"87fde3a0849126e82746e5b9138443f0622c88d5","ref":"refs/heads/main","pushedAt":"2024-08-27T21:27:43.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Rename program to package\n\nThis is in preparation for dependent packages","shortMessageHtmlLink":"Rename program to package"}},{"before":"87fde3a0849126e82746e5b9138443f0622c88d5","after":"398458675ac3c69aba981b9bfa7ff7302736faaf","ref":"refs/heads/main","pushedAt":"2024-08-27T19:27:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Add another level of indirection for projects.\n\nThis is a step towards project dependencies... I hope.\n\nI realized that I don't want a separate build directory for every\nproject; just for the one that is being built. if my package depends\non gleam_stdlib, I need the files in that package to be in the build\ndirectory for this one.\n\nI think I'm still doing it wrong, though because gleam_stdlib is the\npackage name and right now if you tried to build something like that\nyou'd need to import from gleam_stdlib. But e.g. gleam/io is not in\na gleam_stdlib namespace.","shortMessageHtmlLink":"Add another level of indirection for projects."}},{"before":"b85dad6a388fbee9e27044d74854609e4dbe5394","after":"87fde3a0849126e82746e5b9138443f0622c88d5","ref":"refs/heads/main","pushedAt":"2024-08-27T17:35:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Rename program to package\n\nThis is in preparation for dependent packages","shortMessageHtmlLink":"Rename program to package"}},{"before":"449dbf3d8edf5034d9f9a3b6b6aabc8223956f75","after":"b85dad6a388fbee9e27044d74854609e4dbe5394","ref":"refs/heads/main","pushedAt":"2024-08-27T17:31:00.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Add tests for directory structure\n\nI hate tests that touch the filesystem, but in this case I think it's\nnecessary. I can't know which import files to read without loading\nthem, so I can't set up an in-memory system very easily.\n\nMaybe if there was a mock simplifiles? 🤔","shortMessageHtmlLink":"Add tests for directory structure"}},{"before":"caf1e113fa3c83d2f2ce071501bfbf770dfe4b9d","after":"449dbf3d8edf5034d9f9a3b6b6aabc8223956f75","ref":"refs/heads/main","pushedAt":"2024-08-27T15:35:29.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Remove \"use\" todo\n\nI tried unpacking results with use. It is, perhaps, a little tidier than the\npipeline syntax:\n\n```\nfn write_program(program: program.CompiledProgram) -> Result(Nil, errors.Error) {\n let build_directory = program.build_directory(program.base_directory)\n let source_directory = program.source_directory(program.base_directory)\n use _ <- result.try(output.delete(build_directory))\n use _ <- result.try(output.create_directory(build_directory))\n use _ <- result.try(output.write_prelude_file(build_directory))\n use _ <- result.try(output.write_py_main(build_directory, program.main_module))\n use _ <- result.try(output.copy_externals(\n build_directory,\n source_directory,\n program.external_import_files |> set.to_list,\n ))\n use state, name, module <- dict.fold(program.modules, Ok(Nil))\n {\n use _ <- result.try(state)\n build_directory\n |> filepath.join(name)\n |> output.replace_extension()\n |> output.write(module, _)\n }\n}\n```\n\nPros of use syntax:\n* Each `use _ <- result.try` is slightly shorter than `|> result.try(fn(_) {...`\n* Total line count is marginally smaller and there is less syntax\n overall\n\nCons:\n* I had to manually *add back* indentation to make it clear what was\n happening in the `dict.fold` case. The curlies around the nested\n expression aren't necessary, but they make it more readable\n* I have to *think* about how `use` maps to nested dedentation, compared\n to the explicitness of the pipeline syntax\n* Even with the extra curlies, it's not as clear to me that the\n `dict.fold` \"pseudo-callback\" is called multiple times, but the\n result.try ones are only called once.\n\nOverall, I think the pipeline syntax is marginally easier to\n*comprehend*, even if the use syntax is marginally easior to *read*.","shortMessageHtmlLink":"Remove \"use\" todo"}},{"before":"a5868a64922803f9a60622e80d5f9d709f3a648b","after":"caf1e113fa3c83d2f2ce071501bfbf770dfe4b9d","ref":"refs/heads/main","pushedAt":"2024-08-27T14:32:02.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Copy external imports around","shortMessageHtmlLink":"Copy external imports around"}},{"before":"6b0ee5a04dafc1367d856d57391b56174593433e","after":"a5868a64922803f9a60622e80d5f9d709f3a648b","ref":"refs/heads/main","pushedAt":"2024-08-25T19:57:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Fix all non-todo warnings","shortMessageHtmlLink":"Fix all non-todo warnings"}},{"before":"202dcbbe6205b66da5b75599531788db1d2ec14b","after":"6b0ee5a04dafc1367d856d57391b56174593433e","ref":"refs/heads/main","pushedAt":"2024-08-25T19:53:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Some semblance of multi-file imports","shortMessageHtmlLink":"Some semblance of multi-file imports"}},{"before":"c024af4815892e6690f6ea306214a42a73510b4c","after":"202dcbbe6205b66da5b75599531788db1d2ec14b","ref":"refs/heads/main","pushedAt":"2024-08-25T19:53:34.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Some semblance of multi-file imports","shortMessageHtmlLink":"Some semblance of multi-file imports"}},{"before":"040d41d93fe4003760b1e350269983aa753b63fe","after":"c024af4815892e6690f6ea306214a42a73510b4c","ref":"refs/heads/main","pushedAt":"2024-08-25T16:22:53.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Refactor and add better support for error reporting","shortMessageHtmlLink":"Refactor and add better support for error reporting"}},{"before":"197ce74610ca799f733eb4e8d9fa85131b1c851c","after":"040d41d93fe4003760b1e350269983aa753b63fe","ref":"refs/heads/main","pushedAt":"2024-08-25T12:46:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Support list patterns","shortMessageHtmlLink":"Support list patterns"}},{"before":"1f2df362d45bc17b7af87a5b966119fde1c3b110","after":"197ce74610ca799f733eb4e8d9fa85131b1c851c","ref":"refs/heads/main","pushedAt":"2024-08-24T22:27:45.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Fix Integer def","shortMessageHtmlLink":"Fix Integer def"}},{"before":"e1d7971ccd44c9319737c5697e182e3c78326966","after":"1f2df362d45bc17b7af87a5b966119fde1c3b110","ref":"refs/heads/main","pushedAt":"2024-08-24T17:29:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Support nested bitstrings","shortMessageHtmlLink":"Support nested bitstrings"}},{"before":"91152a3c6ab8abb6fa298c6fbb7e851803c25f5e","after":"e1d7971ccd44c9319737c5697e182e3c78326966","ref":"refs/heads/main","pushedAt":"2024-08-24T17:09:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Support numeric bitstrings","shortMessageHtmlLink":"Support numeric bitstrings"}},{"before":"55c5e82cdc4e8ef5f705b05ce65d5dbdec2508f4","after":"91152a3c6ab8abb6fa298c6fbb7e851803c25f5e","ref":"refs/heads/main","pushedAt":"2024-08-24T12:13:29.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Process imports better","shortMessageHtmlLink":"Process imports better"}},{"before":"e5cb93bb9cf2b0cf30f9759d06c424c7d05b9e05","after":"55c5e82cdc4e8ef5f705b05ce65d5dbdec2508f4","ref":"refs/heads/main","pushedAt":"2024-08-23T23:54:11.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Split expressions, import and statement generation to their own files","shortMessageHtmlLink":"Split expressions, import and statement generation to their own files"}},{"before":"76a805164eb0e2ae4a23deccd35e8c0ca9efc8d8","after":"e5cb93bb9cf2b0cf30f9759d06c424c7d05b9e05","ref":"refs/heads/main","pushedAt":"2024-08-23T19:56:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Update contributing with a short tour","shortMessageHtmlLink":"Update contributing with a short tour"}},{"before":"93eb4cc5b297e09197c71078b13e4e40c22d8560","after":"76a805164eb0e2ae4a23deccd35e8c0ca9efc8d8","ref":"refs/heads/main","pushedAt":"2024-08-23T19:28:17.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Support block case expressions","shortMessageHtmlLink":"Support block case expressions"}},{"before":"5c1faf546414a3425cd5a3be93173fc9a775a85f","after":"93eb4cc5b297e09197c71078b13e4e40c22d8560","ref":"refs/heads/main","pushedAt":"2024-08-23T17:46:00.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Basic case statements working","shortMessageHtmlLink":"Basic case statements working"}},{"before":"bdcd83a311b505119d729fd06c94dc4812dbbe01","after":"5c1faf546414a3425cd5a3be93173fc9a775a85f","ref":"refs/heads/main","pushedAt":"2024-08-23T14:48:24.000Z","pushType":"push","commitsCount":8,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Support block exprssions","shortMessageHtmlLink":"Support block exprssions"}},{"before":"1059cf000bfc34acc3b255db59b0972af0fb0fae","after":"bdcd83a311b505119d729fd06c94dc4812dbbe01","ref":"refs/heads/main","pushedAt":"2024-08-23T12:20:43.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Better organize files","shortMessageHtmlLink":"Better organize files"}},{"before":"c3f3f73da7580cb19184ec7876428bf4c36183d7","after":"1059cf000bfc34acc3b255db59b0972af0fb0fae","ref":"refs/heads/main","pushedAt":"2024-08-22T21:12:33.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Move helpers to own library","shortMessageHtmlLink":"Move helpers to own library"}},{"before":"43a299c7c62551aeba22cdf6a58358ba26925a42","after":"c3f3f73da7580cb19184ec7876428bf4c36183d7","ref":"refs/heads/main","pushedAt":"2024-08-21T17:03:40.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Support fn_capture as lambda.\n\nI think it's safe to make it always a lambda.\n\nPython expressions never cross line boundaries, including in Lambdas.\n\nIn general, this means that not all gleam expressions can map to python\nexpressions (consider case->match, where match is a statement in python,\nnot an expression). But I *think* it means that any expression that can\nmap to a python expression can be wrapped in a lambda like this.\n\nThe parens make it so the expression is self-contained and you can call\nit.","shortMessageHtmlLink":"Support fn_capture as lambda."}},{"before":"c5c602df948830a44ae8dce3c4e7d5c6889fd9be","after":"43a299c7c62551aeba22cdf6a58358ba26925a42","ref":"refs/heads/main","pushedAt":"2024-08-21T16:56:51.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"dusty-phillips","name":"Dusty Phillips","path":"/dusty-phillips","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/86920?s=80&v=4"},"commit":{"message":"Support fn_capture as lambda.\n\nI think it's safe to make it always a lambda.\n\nPython expressions never cross line boundaries, including in Lambdas.\n\nIn general, this means that not all gleam expressions can map to python\nexpressions (consider case->match, where match is a statement in python,\nnot an expression). But I *think* it means that any expression that can\nmap to a python expression can be wrapped in a lambda like this.\n\nThe parens make it so the expression is self-contained and you can call\nit.","shortMessageHtmlLink":"Support fn_capture as lambda."}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xNFQyMzowMDozNS4wMDAwMDBazwAAAAS2b-VN","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOC0yMVQxNjo1Njo1MS4wMDAwMDBazwAAAASgcCGl"}},"title":"Activity · dusty-phillips/macabre"}