-
So, I wrote this set of macros:
``` clojure
(require '[clojure.algo.monads :refer [defmonad domonad]])
(defn status
[{:keys [status]}]
status)
(defn result
[{:keys [result]}]
result)
(def …
-
contd. from https://github.com/hspec/hspec/pull/667#issuecomment-1109869075
Instead of `SpecWith a`, if we had a `SpecWith m a` - it would allow us to use custom monads for, say, managing project-s…
-
Example:
```
nonterminal Foos;
production consFoo top::Foos ::= Foos {}
production nilFoo top::Foos ::= {}
nonterminal Bars;
production consBar top::Bars ::= Integer Bars {}
production nilBar…
-
Seitaro Yuki: Dwango
-
If you modify the property in resources/exe/simple/config.json to use R1
```
{
"func": "main",
"property" : "(assert (= (bvadd R1_mod #x00000002) R0_orig))",
"patches" : [
{"patch-na…
-
Following from discussion in the [Zulip chat](https://roc.zulipchat.com/#narrow/stream/304641-ideas/topic/early.20return.20operator.20for.20Result/near/445970282).
With the addition of the `!` oper…
-
While a functorial action can be derived from the substitution of relative monads (and modules), it seems good both for structuring the definitions as well as for working with the code (coercion!) to …
-
`Monad.do` doesn't seem to allow for Streams that yield more than once
If you change `asyncGet` in `example.js` to:
``` javascript
const asyncGet = n =>
Cont((rej, res) => setInterval(() => res(n),…
-
I wonder how useful the product of monads/applicatives really is. In our paper on bidirectional programming we mainly chose it for simplicity of exposition, but in practice I'd much prefer an approach…
-
Hi there, Dry-monads now has the applicative method which allows for
https://github.com/dry-rb/dry-monads/blob/master/lib/dry/monads/right_biased.rb#L122
`
Some( -> x { x + 1 }).apply(Some(1))…