-
- [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 …
-
Some less experienced readers who have never seen a for comprehension de-sugared will block at this first comment touching on the topic:
> “Plus, if we have both **flatMap** and **map** we can use …
-
Hi,
I am fairly new to julia but got quite excited when I found out that there is a Monads library.
Now even with all the tests passing I am uncertain if the mdo macro works properly.
I was going t…
-
### comparison to Elm architecture
there are a few other FRP around. in particular I had a lot of confusion moving from Elm to Reflex. One difference, possibly is that Reflex, being written in Hask…
-
e.g. this experiment with monadic error handling:
https://gist.github.com/lionel-/a9aee3edb45a60a6e393
-
The following fails:
Define `run n = \s. if 0 < n then run (n - 1n) s else ()`
giving the error
Defn.prim_mk_defn:
at Defn.prim_mk_defn:
failure in internal translation to tupled format
Clearly th…
acjf3 updated
9 years ago
-
I'd like to be able to write something like
```
get_structural_ty(lhs, ty_names)
>>= (lhs) => get_structural_ty(rhs, ty_names)
>>= (rhs) => pure(Ty_lam(lhs, rhs))
```
however, …
-
Sometimes there is just no avoid effects. The `foldl` packages' `FoldM` type captures this variety of fold nicely.
-
Very simply, I expected that if I build an anonymous record, for example like in
`(Either ei1, Either ei2)`
I could apply it to a function like
`Either f(int i1, int i2) => ...`
With somet…
-
I am not that sure of internal workings and if that is possible, but it would be nice if `forAllDL` returned `PropertyM` value. That way one could mix it with other kind of monadic Quickcheck code, li…