{"number":5,"pull_request":{"number":5,"issue_url":"https://github.com/jputcu/serialport/issues/5","head":{"label":"basvandijk:bracket","repo":{"master_branch":null,"name":"serialport","created_at":"2011-10-13T18:52:17Z","size":116,"clone_url":"https://github.com/basvandijk/serialport.git","private":false,"updated_at":"2011-10-13T18:58:39Z","watchers":1,"ssh_url":"git@github.com:basvandijk/serialport.git","url":"https://api.github.com/repos/basvandijk/serialport","git_url":"git://github.com/basvandijk/serialport.git","language":"Haskell","fork":true,"svn_url":"https://svn.github.com/basvandijk/serialport","id":2571586,"pushed_at":"2011-10-13T18:58:38Z","open_issues":0,"homepage":"","description":"Cross platform haskell library for using the serial port","forks":0,"html_url":"https://github.com/basvandijk/serialport","owner":{"gravatar_id":"781a860767c303b371b43ad2ded00bef","avatar_url":"https://secure.gravatar.com/avatar/781a860767c303b371b43ad2ded00bef?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/basvandijk","id":576355,"login":"basvandijk"}},"sha":"754ad3bb8e6beb1a41ea17449205e15c4cecf732","ref":"bracket","user":{"gravatar_id":"781a860767c303b371b43ad2ded00bef","avatar_url":"https://secure.gravatar.com/avatar/781a860767c303b371b43ad2ded00bef?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/basvandijk","id":576355,"login":"basvandijk"}},"merged_by":{"gravatar_id":"1fd52029ee26529cfe3c80e332b30b44","avatar_url":"https://secure.gravatar.com/avatar/1fd52029ee26529cfe3c80e332b30b44?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jputcu","id":553267,"login":"jputcu"},"created_at":"2011-10-13T19:03:52Z","changed_files":1,"merged":false,"body":"Hi Joris,\r\n\r\nYou probably want to use [bracket](http://hackage.haskell.org/packages/archive/base/latest/doc/html/Control-Exception.html#v:bracket) in `withSerial` to ensure that `closeSerial` is called even when an exception is thrown in the continuation.","comments":1,"title":"Use bracket in withSerial","additions":2,"diff_url":"https://github.com/jputcu/serialport/pull/5.diff","updated_at":"2011-10-13T19:13:29Z","url":"https://api.github.com/repos/jputcu/serialport/pulls/5","id":401194,"patch_url":"https://github.com/jputcu/serialport/pull/5.patch","mergeable":true,"merged_at":null,"commits":1,"closed_at":"2011-10-13T19:13:29Z","user":{"gravatar_id":"781a860767c303b371b43ad2ded00bef","avatar_url":"https://secure.gravatar.com/avatar/781a860767c303b371b43ad2ded00bef?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/basvandijk","id":576355,"login":"basvandijk"},"deletions":5,"html_url":"https://github.com/jputcu/serialport/pull/5","base":{"label":"jputcu:master","repo":{"master_branch":null,"name":"serialport","created_at":"2011-04-10T11:18:43Z","size":132,"clone_url":"https://github.com/jputcu/serialport.git","private":false,"updated_at":"2011-10-13T19:13:29Z","watchers":5,"ssh_url":"git@github.com:jputcu/serialport.git","url":"https://api.github.com/repos/jputcu/serialport","git_url":"git://github.com/jputcu/serialport.git","language":"Haskell","fork":false,"svn_url":"https://svn.github.com/jputcu/serialport","id":1594610,"pushed_at":"2011-10-13T19:13:29Z","open_issues":1,"homepage":"","description":"Cross platform haskell library for using the serial port","forks":4,"html_url":"https://github.com/jputcu/serialport","owner":{"gravatar_id":"1fd52029ee26529cfe3c80e332b30b44","avatar_url":"https://secure.gravatar.com/avatar/1fd52029ee26529cfe3c80e332b30b44?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jputcu","id":553267,"login":"jputcu"}},"sha":"6e7be367039b3ba096af8417d0b4005f9be532a5","ref":"master","user":{"gravatar_id":"1fd52029ee26529cfe3c80e332b30b44","avatar_url":"https://secure.gravatar.com/avatar/1fd52029ee26529cfe3c80e332b30b44?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/jputcu","id":553267,"login":"jputcu"}},"state":"closed"},"action":"closed"}