mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-22 03:01:31 +03:00
dbdf7dab3d
Following a fairly detailed discussion on slack, the feeling is generally that it's better to have a single interface. While precision is nice, it doesn't appear to buy us anything here. If that turns out to be wrong, or limiting somehow, we can revisit it later. Also: - it's easier for backend authors if the type of IO operations is slightly less restrictive. For example, if it's in HasIO, that limits alternative implementations, which might be awkward for some alternative back ends. - it's one less extra detail to learn. This is minor, but there needs to be a clear advantage if there's more detail to learn. - It is difficult to think of an underlying type that can't have a Monad instance (I have personally never encountered one - if they turns out to exist, again, we can revisit!)
7 lines
205 B
Plaintext
7 lines
205 B
Plaintext
1/1: Building wcov (wcov.idr)
|
|
Main> Main.tfoo is total
|
|
Main> Main.wfoo is total
|
|
Main> Main.wbar is not covering due to call to function Main.with block in 1387
|
|
Main> Main.wbar1 is total
|
|
Main> Bye for now!
|