Comment

Comment by Polyisoprene

I would like to have the result type for this, like in Rust:

enum Result<T, E> { Ok(T), Err(E), }

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton