{"action":"opened","issue":{"url":"https://api.github.com/repos/camilstaps/CleanPrettyPrint/issues/1","repository_url":"https://api.github.com/repos/camilstaps/CleanPrettyPrint","labels_url":"https://api.github.com/repos/camilstaps/CleanPrettyPrint/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/camilstaps/CleanPrettyPrint/issues/1/comments","events_url":"https://api.github.com/repos/camilstaps/CleanPrettyPrint/issues/1/events","html_url":"https://github.com/camilstaps/CleanPrettyPrint/issues/1","id":176452820,"number":1,"title":"Support for # lets","user":{"login":"camilstaps","id":1202754,"avatar_url":"https://avatars.githubusercontent.com/u/1202754?v=3","gravatar_id":"","url":"https://api.github.com/users/camilstaps","html_url":"https://github.com/camilstaps","followers_url":"https://api.github.com/users/camilstaps/followers","following_url":"https://api.github.com/users/camilstaps/following{/other_user}","gists_url":"https://api.github.com/users/camilstaps/gists{/gist_id}","starred_url":"https://api.github.com/users/camilstaps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camilstaps/subscriptions","organizations_url":"https://api.github.com/users/camilstaps/orgs","repos_url":"https://api.github.com/users/camilstaps/repos","events_url":"https://api.github.com/users/camilstaps/events{/privacy}","received_events_url":"https://api.github.com/users/camilstaps/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/camilstaps/CleanPrettyPrint/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-12T18:45:50Z","updated_at":"2016-09-12T18:45:50Z","closed_at":null,"body":"An example is `utilities.dcl`, `mapSt` in `$CLEAN_HOME/lib/iTasks-SDK/Server/lib/CleanCompiler/frontend-jeroen`:\r\n\r\n```clean\r\nmapSt f l s :== map_st l s\r\nwhere\r\n\tmap_st [x : xs] s\r\n\t \t# (x, s) = f x s\r\n\t\t  (xs, s) = map_st xs s\r\n\t\t#! s = s\r\n\t\t= ([x : xs], s)\r\n\tmap_st [] s\r\n\t\t#! s = s\r\n\t \t= ([], s)\r\n```\r\n\r\nThis is now shown as:\r\n\r\n```clean\r\nmapSt f l s :== map_st l s\r\nwhere\r\n        map_st [x:xs] s = ([x:xs],s)\r\n        map_st [] s = ([],s)\r\n```\r\n\r\nTo support this, the `CleanPrettyPrint.Expression` module should consider the `ewl_nodes` field in the `print` instance for `ExprWithLocalDefs`."}}
{"actor":{"display_login":"camilstaps"}}