{"id":16336349,"url":"https://github.com/basvandijk/regions","last_synced_at":"2025-03-16T14:31:19.059Z","repository":{"id":1432395,"uuid":"1626700","full_name":"basvandijk/regions","owner":"basvandijk","description":"Provides the region monad for safely opening and working with scarce resources","archived":false,"fork":false,"pushed_at":"2015-02-24T11:21:08.000Z","size":365,"stargazers_count":33,"open_issues_count":6,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-02-27T10:59:07.801Z","etag":null,"topics":["haskell"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"membase/cucumberl","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basvandijk.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-17T15:35:55.000Z","updated_at":"2024-12-13T19:23:43.000Z","dependencies_parsed_at":"2022-08-16T13:20:27.565Z","dependency_job_id":null,"html_url":"https://github.com/basvandijk/regions","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basvandijk%2Fregions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basvandijk%2Fregions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basvandijk%2Fregions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basvandijk%2Fregions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basvandijk","download_url":"https://codeload.github.com/basvandijk/regions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746200,"owners_count":20341203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["haskell"],"created_at":"2024-10-10T23:43:54.685Z","updated_at":"2025-03-16T14:31:18.616Z","avatar_url":"https://github.com/basvandijk.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"This package provides the region monad transformer. Scarce resources\nlike files, memory pointers or USB devices for example can be opened\nin a region. When the region terminates, all opened resources will be\nautomatically closed. The main advantage of regions is that the opened\nresources can not be returned from the region which ensures no I/O\nwith closed resources is possible.\n\nThe primary technique used in this package is called \"Lightweight\nmonadic regions\" which was [invented][1] by Oleg Kiselyov and\nChung-chieh Shan.\n\nAlso see the [regions-mtl] and [regions-monadstf] packages which\nprovide instances for the classes in the respected monad transformers\npackages.\n\nFor an example on how to use this library see the\n[safer-file-handles], [usb-safe] or [regional-pointers] packages.\n\n[1]: http://okmij.org/ftp/Haskell/regions.html#light-weight\n\n[regions-mtl]:        http://hackage.haskell.org/package/regions-mtl\n[regions-monadstf]:   http://hackage.haskell.org/package/regions-monadstf\n[safer-file-handles]: http://hackage.haskell.org/package/safer-file-handles\n[usb-safe]:           http://hackage.haskell.org/package/usb-safe\n[regional-pointers]:  http://hackage.haskell.org/package/regional-pointers\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasvandijk%2Fregions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasvandijk%2Fregions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasvandijk%2Fregions/lists"}