-
In my current project, we sometimes want to run a QCheck test in an [LWT](https://ocsigen.org/lwt/latest/api/Lwt#3_Promises) context.
So far what we did was using `Lwt_main.run` **inside** the test…
-
`func_adl` has no trouble doing "x.pt() + x.eta()", however `hep_tables` will never let something like that through. This is because it has no way of recognizing that the two sequences are the same an…
-
ゆるゆる考えましょう。
-
Hyperon's ad-hoc sharing of state using the Rc pattern (or Shared) mainly appears to be in service of a missing "Context" structure (or structures).
This leads to the double-borrow issues caused by…
-
* https://www.adit.io/posts/2013-06-10-three-useful-monads.html
* http://cmsc-16100.cs.uchicago.edu/2021-autumn/Lectures/15/writer-reader.php
* https://mmhaskell.com/monads/reader-writer
-
Routes belong to peers, but should the route record really hold a peer record value?
Not withstanding the implications it has for updating GC use counts for peers....
Ditto global in peer - why shou…
-
The operation `A.sequenceT` allows to convert a sequence of typed Monads into a Monad of a typed tuple, such as in this `Option` example:
```ts
const sequenceO = A.sequenceT(O.Apply);
…
-
I think we should add a type equivalent to the following to transformers (and mtl):
````haskell
newtype ChoiceT m a = ChoiceT { runChoiceT :: m (Maybe (ChoiceT m a)) }
````
This is a monad transfo…
-
Some for loop issues
```rust
pub fn loop1() -> Result {
let p1 = vec![1, 2, 3];
for i in 0..p1.len() {
if p1[i] == 3 {
return Ok(p1[i]);
}
}
Er…
-
Isn't `Data.Semigroup.Monad.Mon` identical to `base`'s `Data.Monoid.Ap`?
Either way, it would be worth a haddock comment clarifying the relationship, and why `Mon` exists (just for backwards compat…