Bas van Dijk

Results 82 comments of Bas van Dijk

I agree we should get rid of the race conditions in `acqRead` and `acqWrite`. The easiest solution would probably be to rewrite the ReadWriteLock in terms of STM. @roelvandijk want...

> The easiest solution would probably be to rewrite the ReadWriteLock in terms of STM. Scratch that, AFAIK STM doesn't provide fairness guarantees. Only MVars do.

As you see I went ahead and made a patch to replace `ptry`, `pbracket` and `pfinally` by functions from [Control.Exception.Control](http://hackage.haskell.org/packages/archive/monad-control/0.2.0.3/doc/html/Control-Exception-Control.html) from `monad-control`. I also wanted to remove `ptimeout` but it...

@peti any chance you could take a look at this?

I'm [trying](https://github.com/NixOS/nixpkgs/pull/141477#issuecomment-961210362) to package the [`web/ui`](https://github.com/prometheus/prometheus/tree/v2.31.0/web/ui) npm workspace of `prometheus-2.31.0` and I would assume I need workspace support in `node2nix` for this. Any progress on this feature? Also are there...

I try to make a new release when I have some time.

Yes `master` should be usable. However, I haven't updated all its [reverse dependencies](http://packdeps.haskellers.com/reverse/regions) yet. What are you thinking to use `regions` for, if I may ask?

Another more restrictive but simpler library might be Gabriel Gonzalez's [managed](http://www.haskellforall.com/2014_08_01_archive.html) library. I'll try to make a release of `regions` sometime this week so you can more easily work with...

I've fixed this in the [RegionIOControl](https://github.com/basvandijk/regions/tree/RegionIOControl) branch.

> Any chance of an update to the version on Hackage? I first would like to try out these changes by basing [safer-file-handles](http://hackage.haskell.org/package/safer-file-handles) and [regional-pointers](http://hackage.haskell.org/package/regional-pointers) on it. I can't promise...