Explore >> Select a destination


You are here

samthursfield.wordpress.com
| | without.boats
12.6 parsecs away

Travel
| |
| | rust-lang.github.io
12.4 parsecs away

Travel
| |
| | erikmcclure.com
12.2 parsecs away

Travel
| | One of the most fundamental problems with Rust is the design of Result. It is a lightweight, standardized error return value, similar to C-style error codes but implemented at a type system level that can contain arbitrary information. They are easy to use and very useful, and the ecosystem encourages you to use them over panic! whenever possible. Unfortunately, this ends up creating a problem. Result is not like a C++ exception because it doesn't contain a stacktrace by default, nor does the compiler have any idea where it was first constructed, unless the error type it contains decides to include that information upon construction by using backtrace.
| | www.haskellforall.com
77.9 parsecs away

Travel
| Prelude Some time ago I asked a question on /r/haskell about what unique purpose GADTs served that other language features could not prov...