{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/reason/issues/650","repository_url":"https://api.github.com/repos/facebook/reason","labels_url":"https://api.github.com/repos/facebook/reason/issues/650/labels{/name}","comments_url":"https://api.github.com/repos/facebook/reason/issues/650/comments","events_url":"https://api.github.com/repos/facebook/reason/issues/650/events","html_url":"https://github.com/facebook/reason/issues/650","id":166878163,"number":650,"title":"Infix printing for `#=` and `##`","user":{"login":"chenglou","id":1909539,"avatar_url":"https://avatars.githubusercontent.com/u/1909539?v=3","gravatar_id":"","url":"https://api.github.com/users/chenglou","html_url":"https://github.com/chenglou","followers_url":"https://api.github.com/users/chenglou/followers","following_url":"https://api.github.com/users/chenglou/following{/other_user}","gists_url":"https://api.github.com/users/chenglou/gists{/gist_id}","starred_url":"https://api.github.com/users/chenglou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenglou/subscriptions","organizations_url":"https://api.github.com/users/chenglou/orgs","repos_url":"https://api.github.com/users/chenglou/repos","events_url":"https://api.github.com/users/chenglou/events{/privacy}","received_events_url":"https://api.github.com/users/chenglou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/reason/labels/Syntax","name":"Syntax","color":"bfd4f2"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-21T17:47:29Z","updated_at":"2016-07-21T18:00:22Z","closed_at":null,"body":"cc @bobzhang \r\n\r\nThe BuckleScript readme example prints in prefix notation for reason:\r\n\r\n```rust\r\nlet port = 3000;\r\n\r\nlet hostname = \"127.0.0.1\";\r\n\r\nlet create_server http => {\r\n  let server = (## http createServer) (\r\n  (\r\n    fun req resp => {\r\n      #= (## resp statusCode) 200;\r\n      (## resp setHeader) \"Content-Type\" \"text/plain\";\r\n      (## resp _end) \"Hello world\\n\"\r\n    }\r\n  )\r\n  [@bs]\r\n  );\r\n  (## server listen)\r\n    port\r\n    hostname\r\n    (\r\n    (\r\n      fun () => Js.log (\r\n        \"Server running at http://\" ^ hostname ^ \":\" ^ Pervasives.string_of_int port ^ \"/\"\r\n      )\r\n    )\r\n    [@bs]\r\n    )\r\n};\r\n\r\nlet () = create_server Http_types.http;\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/reason/issues/comments/234333681","html_url":"https://github.com/facebook/reason/issues/650#issuecomment-234333681","issue_url":"https://api.github.com/repos/facebook/reason/issues/650","id":234333681,"user":{"login":"bobzhang","id":747051,"avatar_url":"https://avatars.githubusercontent.com/u/747051?v=3","gravatar_id":"","url":"https://api.github.com/users/bobzhang","html_url":"https://github.com/bobzhang","followers_url":"https://api.github.com/users/bobzhang/followers","following_url":"https://api.github.com/users/bobzhang/following{/other_user}","gists_url":"https://api.github.com/users/bobzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/bobzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobzhang/subscriptions","organizations_url":"https://api.github.com/users/bobzhang/orgs","repos_url":"https://api.github.com/users/bobzhang/repos","events_url":"https://api.github.com/users/bobzhang/events{/privacy}","received_events_url":"https://api.github.com/users/bobzhang/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T18:00:21Z","updated_at":"2016-07-21T18:00:21Z","body":"http://caml.inria.fr/pub/docs/manual-ocaml/extn.html#sec253\r\nOperator names starting with a # character and containing more than one # character are reserved for extensions."}}
{"actor":{"display_login":"bobzhang"}}