kristoffer berg
kristoffer berg
> Hello @0xksure > > .match() is meant to be used primarily as a method to **unwrap** a Result, in which case any behavior for value/error cases would be inside...
ping @paduc
> @0xksure I’m not sure what you are trying to achieve. If you have a Result and want to return an Err if the Result is an Err, then you...
It seems as this https://github.com/supermacro/neverthrow/pull/448/files is at least closer to what I imagine, given of course that the `Error` type is the same
> > @paduc I simply want a similar control flow to this https://doc.rust-lang.org/std/result/. An example is > > ```rust > > fn write_info(info: &Info) -> io::Result { > > //...
Then Rust is worth checking out. I would imagine a lot of users of the package are writing or experimenting with rust on the side. Rust in typescript would be...