{"action":"created","issue":{"url":"https://api.github.com/repos/urbit/arvo/issues/361","repository_url":"https://api.github.com/repos/urbit/arvo","labels_url":"https://api.github.com/repos/urbit/arvo/issues/361/labels{/name}","comments_url":"https://api.github.com/repos/urbit/arvo/issues/361/comments","events_url":"https://api.github.com/repos/urbit/arvo/issues/361/events","html_url":"https://github.com/urbit/arvo/issues/361","id":211576860,"number":361,"title":"Add an `aka` for the identity of a core","user":{"login":"chc4","id":1669003,"avatar_url":"https://avatars2.githubusercontent.com/u/1669003?v=3","gravatar_id":"","url":"https://api.github.com/users/chc4","html_url":"https://github.com/chc4","followers_url":"https://api.github.com/users/chc4/followers","following_url":"https://api.github.com/users/chc4/following{/other_user}","gists_url":"https://api.github.com/users/chc4/gists{/gist_id}","starred_url":"https://api.github.com/users/chc4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chc4/subscriptions","organizations_url":"https://api.github.com/users/chc4/orgs","repos_url":"https://api.github.com/users/chc4/repos","events_url":"https://api.github.com/users/chc4/events{/privacy}","received_events_url":"https://api.github.com/users/chc4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-03-03T02:18:48Z","updated_at":"2017-03-03T03:00:00Z","closed_at":null,"body":"You've surely seen those arcane typecasts of `^-  {(list move) _+>.$}` in state machines and app arms. It is, frankly, scary and hard to explain since it's basically the equivalent of dereferencing a pointer literal in C, and pretty much the only spot where Nock shines through. It's basically the only reason for the explanation of lark syntax.\r\n\r\n`=*` allows you to define a variable as an alias instead of by-value copy. They also update through context updates (`(|=(@ =*(b +< =+(c=1 b))) 4)` compared to `(|=(@ =+(c=1 +<)) 4)`), unlike the current `+>.$` invocation which you have to potentially manually update if you add a pin.\r\n\r\nIs there a reason that `|_` at least doesn't add a `=*  this  +>.$` to its expansion? I don't actually know how %core is expanded, so it might require something like adding the bull to the top of each arm in the core the door expands into, since the sub-twig of a core is actually a `(map term twig)` instead."},"comment":{"url":"https://api.github.com/repos/urbit/arvo/issues/comments/283851847","html_url":"https://github.com/urbit/arvo/issues/361#issuecomment-283851847","issue_url":"https://api.github.com/repos/urbit/arvo/issues/361","id":283851847,"user":{"login":"chc4","id":1669003,"avatar_url":"https://avatars2.githubusercontent.com/u/1669003?v=3","gravatar_id":"","url":"https://api.github.com/users/chc4","html_url":"https://github.com/chc4","followers_url":"https://api.github.com/users/chc4/followers","following_url":"https://api.github.com/users/chc4/following{/other_user}","gists_url":"https://api.github.com/users/chc4/gists{/gist_id}","starred_url":"https://api.github.com/users/chc4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chc4/subscriptions","organizations_url":"https://api.github.com/users/chc4/orgs","repos_url":"https://api.github.com/users/chc4/repos","events_url":"https://api.github.com/users/chc4/events{/privacy}","received_events_url":"https://api.github.com/users/chc4/received_events","type":"User","site_admin":false},"created_at":"2017-03-03T03:00:00Z","updated_at":"2017-03-03T03:00:00Z","body":"Ah, you're right. That does make this a lot easier then, and so it's basically just bikeshedding.\r\n\r\nMentioned in `:talk` was that `..foo` is the same as `+>.$`, but works even with pins. Problems are that it's not actually clear what that means (and the expression _..foo doesn't actually have anything to do with the ++foo arm), along with breaking via spurious renames of unrelated arms. You also have to pick an arbitrary arm while you're coding, which is kinda kludgy. These is, admittedly, minor gripes, and magically defining a magic variable that names the door might not be any better?\r\n\r\n/cc benevolent dictator @cgyarvin "}}
{"actor":{"display_login":"chc4"}}