-
The combinators defined in [Control.Monad](http://hackage.haskell.org/package/base-4.6.0.1/docs/Control-Monad.html) might be potential candidates to port to OMPromises.
Check which one might be useful…
-
I have the following function:
```haskell
withPostgreSQL :: MonadResource m => ByteString -> (SQL.Connection -> ConduitT i o m r) -> ConduitT i o m r
withPostgreSQL cs f = bracketP (SQL.connectPo…
-
I'm opening this issue just to give some feedback on these two exercises.
- So in Monad exercise `OptionT` is introduced. You can deduce some of its meaning from the text on the exercise but I've had …
-
After reading the docs, I was still trying to understand the purpose of Reader monad.
```typescript
import { Reader } from 'monet'
interface Config {
greeting: string
surround: string
}
…
ghost updated
5 years ago
-
We use Monads to pass variables around that are only read at some points.
We are experiencing quite some issues with combining Monads.
I propose to introduce a context parameter.
We need to pass a …
-
The lack of code looks okay but it could probably be cleaned up with a monad. If that doesn't work try two monads.
-
The docstring of `compact` states that result will be "sorted ascendingly according to values", but it seems like there is a `sortOn (Down . snd)` in the code that causes the result to actually be sor…
-
There are a few situations where we want some monad-like behaviour:
* Marking algorithms, where feedback accumulates as a side-effect of some functions
* The Eukleides extension, where modifiers a…
-
speaker
---
Thomas Chia, find me in Uniqlo near white t shirt shelf. Unsuccessfully ordered char kway teow in an English tea room (in England) aged 8.
intro
---
In the beginning…
-
``` Livescript
const unit = (value)->
bind: (func) -> func (value)
const one = unit 1
one.bind (-> unit (it+2)).bind(alert)
//should be
one >>= -> unit (it+2) >>= alert
```
In other words op…