-
http://adit.io/posts/2013-04-17-functors,_applicatives,_and_monads_in_pictures.html
Try using a Maybe data type.
-
Great blog post, thanks. I wonder if there's any slick ways to reduce the amount of boilerplate code when calling monads.
-
There seems to be a hard-coding of Option somewhere. isSuccess doesn't seem to get picked for other monads?
In addition, if the signature of runOrElse is NOT
```scala
def runOrElse[T, U](in: T…
-
Hi, i'm trying to do a simple GET request HTTParty:
```
url = 'https://roteirofacil.bonitour.com.br/robots.txt'
response = HTTParty.get(url)
puts response
```
With another urls it works,…
-
So there is this dry-rb/dry-monads library that has lots of goodies. One that is really useful for mutations is the Result monad, which has two subclasses `Success` and `Failure`.
I propose (and I …
-
**Is your feature request related to a problem? Please describe.**
I want to using applicative in expression, like this example
https://github.com/dbrattli/OSlash/wiki/Functors,-Applicatives,-And-Mo…
-
I was trying to update some old code which was still using the `msgpack` package, so I tried switching to this fork. I see the `MessagePack` class now has
```haskell
fromObject :: (Applicative m, Mo…
-
Right now the `Quasi` and `TH` modules use `error` to report errors. This results in a bad UX.
Instead, we should use `reportError` and `fail` in the relevant monads.
-
The lack of code looks okay but it could probably be cleaned up with a monad. If that doesn't work try two monads.
-
Oleg, in `Freer Monads, More Extensible Effects`, describes the implementation of Fluet and Morrisett’s “monadic regions”, which are like a nested `ST` monad.