-
The following code
```scala
import zio.prelude.Subtype
object PreludeForComprehensionIssue extends App {
object ArbitrarySubType extends Subtype[String]
type ArbitrarySubType = ArbitrarySu…
-
Got another one for you.
Try this:
```haskell
debug [d|
f :: Int -> m Int
f _ = undefined
|]
```
You get an `Overlapping instances for Show (m0 Int)` error. This can be "fixed"…
-
Are there plans to add support for monadic syntax (`let*` and friends) to Base? I'm imagining that the `Let_syntax` modules could just add the `let*` alias.
-
I tend to use `let[@ocaml.warning "-8"] ...` when I'm trying something out quickly.
This is not currently possible with binding operators, and instead produces a syntax error:
```ocaml
File "sr…
-
Thank you for your smart and interesting implementation, which uses context abstraction, Project Loom's coroutines and no CPS transformation.
However, there is a point which concerns me.
Some type…
-
Lets say we wanted to implement a pattern that takes a module type of the form
```ocaml
functor (X) (Y) (Z) -> S
```
and parses it to a list of the functor arguments, followed by the core modu…
-
### Describe the bug
Find references doesn't work for implicits declared with [`better-monadic-for`](https://github.com/oleg-py/better-monadic-for). Only the reference to the implicit itself is retur…
-
- Depends on #2354.
We would support three kinds of statements (bind, let, expression), and we could borrow the syntax from haskell.
```
do {
-
I believe we should offer
``` haskell
freezeGraph :: (GraphM m mg, Graph g) => mg a b -> m (g a b)
thawGraph :: (GraphM m mg, Graph g) => g a b -> m (mg a b)
```
-
They are not even remotely legitimate and there should never be any reason to use them. IMO, they should be removed promptly in the next major version.