payload: {"action":"created","issue":{"url":"https://api.github.com/repos/unisonweb/unison/issues/1028","repository_url":"https://api.github.com/repos/unisonweb/unison","labels_url":"https://api.github.com/repos/unisonweb/unison/issues/1028/labels{/name}","comments_url":"https://api.github.com/repos/unisonweb/unison/issues/1028/comments","events_url":"https://api.github.com/repos/unisonweb/unison/issues/1028/events","html_url":"https://github.com/unisonweb/unison/issues/1028","id":534292798,"node_id":"MDU6SXNzdWU1MzQyOTI3OTg=","number":1028,"title":"Add ucm command to preview adds/updates ","user":{"login":"anovstrup","id":375423,"node_id":"MDQ6VXNlcjM3NTQyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/375423?v=4","gravatar_id":"","url":"https://api.github.com/users/anovstrup","html_url":"https://github.com/anovstrup","followers_url":"https://api.github.com/users/anovstrup/followers","following_url":"https://api.github.com/users/anovstrup/following{/other_user}","gists_url":"https://api.github.com/users/anovstrup/gists{/gist_id}","starred_url":"https://api.github.com/users/anovstrup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anovstrup/subscriptions","organizations_url":"https://api.github.com/users/anovstrup/orgs","repos_url":"https://api.github.com/users/anovstrup/repos","events_url":"https://api.github.com/users/anovstrup/events{/privacy}","received_events_url":"https://api.github.com/users/anovstrup/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2019-12-06T22:44:47Z","updated_at":"2019-12-13T02:55:52Z","closed_at":null,"author_association":"NONE","body":"I find myself touching my scratch file at times just to get ucm to echo the output that it produces when a scratch file is saved. It would be nice if there were a ucm command that would produce this output on demand, without having to save/touch a scratch file. (It can be useful when the output from other intervening ucm commands has \"hidden\" the output produced after the most recent save or the codebase/namespace has changed in ways that alter the interpretation of the current scratch code.)\r\n\r\nThis [was discussed](https://unisonlanguage.slack.com/archives/CLKV43YE4/p1575669593027300) briefly on the Slack channel, and some possible command names were thrown around: `load`, `status`, `preview`/`add.preview`/`update.preview`."},"comment":{"url":"https://api.github.com/repos/unisonweb/unison/issues/comments/565279249","html_url":"https://github.com/unisonweb/unison/issues/1028#issuecomment-565279249","issue_url":"https://api.github.com/repos/unisonweb/unison/issues/1028","id":565279249,"node_id":"MDEyOklzc3VlQ29tbWVudDU2NTI3OTI0OQ==","user":{"login":"anovstrup","id":375423,"node_id":"MDQ6VXNlcjM3NTQyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/375423?v=4","gravatar_id":"","url":"https://api.github.com/users/anovstrup","html_url":"https://github.com/anovstrup","followers_url":"https://api.github.com/users/anovstrup/followers","following_url":"https://api.github.com/users/anovstrup/following{/other_user}","gists_url":"https://api.github.com/users/anovstrup/gists{/gist_id}","starred_url":"https://api.github.com/users/anovstrup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anovstrup/subscriptions","organizations_url":"https://api.github.com/users/anovstrup/orgs","repos_url":"https://api.github.com/users/anovstrup/repos","events_url":"https://api.github.com/users/anovstrup/events{/privacy}","received_events_url":"https://api.github.com/users/anovstrup/received_events","type":"User","site_admin":false},"created_at":"2019-12-13T02:55:52Z","updated_at":"2019-12-13T02:55:52Z","author_association":"NONE","body":"I suggested `preview` because I was thinking of the loading behavior as an implementation detail. Maybe it's not loading anything at all—if the scratch files haven't changed since they were last processed, ucm could potentially have everything it needs for `preview`, `add`, and `update` already in memory. \r\n\r\nMy _intent_ is not to load a particular file, it's to find out whether my scratch code parses/typechecks in the current namespace/codebase state and what the effects of `add` and/or `update` will be.\r\n\r\nOn the other hand, I'd avoid _too_ much bike-shedding on this because ucm command names may [become about as important as term/type names](https://github.com/unisonweb/unison/issues/922#issuecomment-564240776) (which is not to say completely unimportant, but the canonical names will be significantly less important when users can customize them at will)."}}
other: {"actor":{"display_login":"anovstrup"}}