Post stuff about algorithm and fancy techniques.
Favourite langs: Racket, Haskell and Rust.
Currently focus on substructural logics.
The problem maybe the type infer is not very "intelligent".
Just like this case, it can't treat Some(...) as a Option, then you need to provide more information about it.
The problem maybe the type infer is not very "intelligent".
Just like this case, it can't treat Some(...) as a Option, then you need to provide more information about it.