Ole Kristian Sandum

Results 13 comments of Ole Kristian Sandum

This should work. But there may exist a better solution that doesn't use exceptions to make early returns. ```kotlin fun eitherDo(block: EitherDo.() -> Either): Either = try { EitherDo.block() }...

Please note that Idris has a stronger and richer type system than Eta, and that possible alternatives (for example, implementing a Java context/resource type for ST) should also be considered.

By the way, a limited version of the `Java` monad from Eta should be fairly easy to implement, if you want it right now. Here is my take: ```idris record...

Sadly no. Imagine a scenario where a method foo runs an async coroutine, and then another method foo2 rund another async coroutine, within which is a call to foo. I...

```cs static async Task foo() { //Does some long async stuff here //Uses await when it needs to return "Hello"; } static async Task foo2() { //Some stuff here var...

> I have to clarify that code in async block still runs in UI thread. Only a code in await block runs in a background thread. I realise this. >...

Like @jmpressman said, are there any outstanding questions on this? It would be nice to have this fixed. Can the suggested fix be incorporated as is? If not, is there...

I stopped paying for the server it was served from. I guess I could upload it to some public repo

Hi, @juliens Thank you for replying. Like I said, my struct does implement `http.Flusher` and the `Flush` function. I tried to be clear on this point in the issue description....

I have created a repository which showcases the problem. I hope that helps. https://github.com/okkero/traefik-plugin-flusher-bug Here is a playground link to the same code running as a standalone program: https://goplay.tools/snippet/jGnkrBnbnTR As...