Matt Parsons
Matt Parsons
I was *just* about to make this exact issue! Would really help with nested contexts in `mtl`-style :)
This is the constraint I get: ``` /home/matt/Projects/prismatic/app/Main.hs:50:12: warning: [-Wpartial-type-signatures] • Found type wildcard ‘_’ standing for ‘(generic-lens-0.5.1.0:Data.Generics.Internal.HList.ListTuple BarErr '[e], Data.Generics.Sum.Typed.ErrorUnlessOne BarErr (Either FooErr e) (Data.Type.Bool.If (Data.Type.Equality.EqStar BarErr e) '["Right"]...
This isn't really an issue with `stylish-haskell`, it's an issue with vim formatters that act as whole-file filters. They'll all do that. You can work around it by setting a...
I didn't figure this out until I saw this issue and investigated myself, but it had low-level bothered me until then :sweat_smile:
Yes, this seems to only occur in tests when we run them in parallel. Otherwise there's no contention on the database connection, and no time is spent waiting on the...
This feels pretty doable with the hooks API - `before` is essentially `local` for a given part of the spec tree.
I've written a blog post on this, though folding it into the actual docs would be great too: https://www.parsonsmatt.org/2021/07/16/hspec_hooks.html
Oh, another thing I've found myself needing to do, for `ReaderT`-like stacks. ```haskell aroundBugsnag :: (forall a. BugsnagTest a -> BugsnagTest a) -> SpecWith BugsnagSettings -> SpecWith BugsnagSettings aroundBugsnag action...
Yeah, totally. I'm fine with this being a discussion or a label or whatever. What's interesting to me is that `hspec` essentially works with `ReaderT`-like things - or, the same...
@gbaz that's a fork of acid-state. I am curious why [this PR](https://github.com/serokell/serokell-util/issues/23) says that the fix won't be merged in -- it links back to this thread, but after a...