mentat/either/sidebar-items.js
2018-08-22 17:04:13 +00:00

1 line
No EOL
446 B
JavaScript

initSidebarItems({"enum":[["Either","The enum `Either` with variants `Left` and `Right` is a general purpose sum type with two cases."]],"macro":[["try_left","Macro for unwrapping the left side of an `Either`, which fails early with the opposite side. Can only be used in functions that return `Either` because of the early return of `Right` that it provides."],["try_right","Dual to `try_left!`, see its documentation for more information."]]});