-
What about:
1. Never explicitly return `nil`, it's almost certainly not duck typed the same as the thing you're actually returning
2. Immediately wrap `nil`s returned by third parties in null objects …
-
```
Failures:
test/BrowseSpec.hs:30:
1) Browse, `browse' in a project directory, can list symbols defined in a a local module
[] does not contain ["foo"]
test/CheckSpec.hs:16:
2) Chec…
-
We have FunctorFilter and TraverseFilter. I have in the past proposed a generalization (FunctorFlatten, later AlternativeFlatten: #1337).
But it seems to me the above are actually doing something l…
-
(I think.)
Perhaps "relatesTo" should be removed.
"mentions" should be sufficient.
Certainly a research question.
See examples of "relatesTo" here, for example:
http://101companies.org/wiki/Monad…
-
| | |
|------------------|-----------------|
|Previous ID | SR-6315 |
|Radar | None |
|Original Reporter | davideme (JIR…
-
## 🚀 Feature request
In Scala, you can do a for-comprehension with a `if`:
```scala
for {
n some(n * 2))
.return(({ m }) => m)
```
In Scala, the for-comprehension checks that the giv…
-
I'm not totally sure what's happening here and unfortunately I haven't been able to figure out how to narrow this down to a minimal example so far.
I have a [rule](https://github.com/roboguy13/sunken…
-
First, thank you for publishing the proposal. I think it's quite interesting language feature. I generally like to design code with protocols, e.g. type class in Haskell or trait in Rust. However, I'm…
-
Implement continuations in the language using the [Cont](https://hackage.haskell.org/package/mtl-2.2.2/docs/Control-Monad-Cont.html) monad. Look into how this could be used to support the implementati…
-
As the [docs](https://hackage.haskell.org/package/lens-5.2.2/docs/Control-Lens-Setter.html#v:lifted) says
> You sometimes have to use this rather than 'mapped' -- due to temporary insanity 'Functor…