-
I'm not sure if this is a good idea or not but I have been thinking about monadic interfaces and the pure interface can just use `Identity` to use the monadic instance or the `RULES` pragma for the sp…
-
I found in [biparsing](https://github.com/BebeSparkelSparkel/biparsing) that a monadic `lmap` was very useful.
Is there an `lmapM :: (a -> m b) -> t m b c -> t m a c`?
-
Hi!
Is it possible to use a monadic action and specify an attribute in a grammar rule?
Example:
`MyRule { %myMonadicAction }`
I'd like to do something like this:
```
MyRule { %myMonadicAct…
-
### Reproducing the behavior
When writing a monadic operation inside of a pattern matching statement nested inside a `with` block, the value returned by the match, assigned to the variable is the bin…
-
- [x] I have read [CONTRIBUTING.md](https://github.com/idris-lang/Idris2/blob/main/CONTRIBUTING.md).
- [x] I have checked that there is no existing PR/issue about my proposal.
## Summary
I …
-
The method `tabulateRecordA` is great for building a record from a structure of `Applicative` actions. But when the action is a `Monad` we have even more freedom: we can choose to delay the "glue" ope…
-
Code which communicates with the underlying socket is monadic. Code which just analyses results computationally are pure. If you split this up, then it becomes easier to test the code base by invoking…
-
As codebases are growing, it's increasingly intractable to pre-load all names, even with history excluded. (This applies to both UCM and Share.)
We want to just load the names that are needed for p…
-
I just needed the following function, which turned out a bit trickier than I had expected:
```
foldlWithKeyM :: (Ord k, Monad m) => (k -> b -> a -> m b) -> b -> Map k a -> m b
foldlWithKeyM f z0 …
-