-
I suggest adding new utility functions to `Data.Traversable` that allow monadic effects when traversing the data with accumulator:
```
mapAccumM :: (Monad m, Traversable t) => (a -> b -> m (a, c)…
-
## Proposal
This is a proposal to add the `Fix` datatype to base.
Using the constructors from `data-fix`, `Fix` is defined as:
```haskell
newtype Fix f = Fix { unFix :: f (Fix f) }
```
`Fix`…
-
> Re: printing and classes like `CanGenMathExprs` - maybe. I've got some emails about that from multiple years ago. It's actually kind of a tricky design point where Haskell classes don't always quit…
-
Trying something new here, we've historically had trouble notifying maintainers when we disable packages en masse. We've added some automation for this.
What follows is every package that has gotte…
-
I've been prototyping a new approach to adding checked exceptions to IO, and I think it would be a good thing to do in `base`. While I recognize that the approach hasn't been tried in any production-q…
-
When I first used `MonadState` instance for ParserT I had `ParserT s (State s') a` and I was expecting it to be defined as in most of transformers:
``` hs
(MonadState s m) => MonadState s (ParserT…
-
# The problem
When we encounter a problem with our deserializers, such as in #3003, #2965 and #2444, it can be very difficult to implement a fix. It is difficult because we can only fix such issue…
-
In https://gitlab.haskell.org/ghc/ghc/-/issues/20025 it was observed that the proposed changes to monomorphise Data.List were not well communicated with the community and many people were surprised at…
-
| | |
|------------------|-----------------|
|Previous ID | SR-11740 |
|Radar | rdar://57029805 |
|Original Reporter | @…
xymus updated
2 years ago
-
# Suggestion
`this`-param constraints are super useful for providing extensions to generic structures under certain conditions informed by type parameters.
```typescript
type Result =
| { ty…