Comment by ginko
>you can call a function that requires an io parameter from a function that doesn't have one by passing in a global io instance?
How will that work with code mixing different Io implementations? Say a library pulled in uses a global Io instance while the calling code is using another.
I guess this can just be shot down with "don't do that" but it feels like a new kind of pitfall get get into.
> Say a library pulled in uses a global Io instance while the calling code is using another.
it'll probably carry a stigma like using unsafe does.