@vincent you can get a quick overview of why you can't just impl display for Result from the first couple minutes of this video: https://youtu.be/qrf52BVaZM8
@vincent you can get a quick overview of why you can't just impl display for Result from the first couple minutes of this video: https://youtu.be/qrf52BVaZM8
@vincent alternatively it might be possible make a newtype that can do what you want that just wraps result. Don't have time for that example ATM though
@vincent unwrap will remove the result type and make it either the Greek number or panic and crash the program.
The simple solution is something like this
@vincent Ah I thought you could impl for structs with generics defined inside crates, my bad.
That means you won't be able to display the result nicely, you'll need to match the result and display its contents without the displat trait.
@vincent can't compile that ATM but looks like the contents of the result do implement display but the result itself doesn't. Try adding a
`````impl fmt::Display for Result<Greek, error>
And just match the result case and use the display implemented for that case
@vincent does the explicit result<Greek, err> impl? Have you included the impl location?
@Tourma you could use https://anubis.techaro.lol/. Captcha seems to be bypassable at this point.
@stevenaleach short term #solarpunk is my best guess.
Concurrency in Haskell: Fast, Simple, Correct
https://bitbashing.io/haskell-concurrency.html
Discussions: https://discu.eu/q/https://bitbashing.io/haskell-concurrency.html
@SeanOMik wasm is really good for plugins and scripts for the cross codebase stuff that you mention. It really lowers the barrier to other developers.
@anubis2814 you handled that well
@mqsalmon gotta wonder if they're trying to bolster they're position from both liberals thinking about voting teal and green voters looking for a more moderate alternative switching to teal
Fun poll: Have you ever accepted that 'magic' is a perfectly good explanation for why something works in your code base? Asking for a friend.