scala-subscript / subscript

9 stars 2 forks source link

Rename $success #2

Open AndreVanDelft opened 9 years ago

AndreVanDelft commented 9 years ago

The result holder $ is a Try; in case this is a Success(something) then that something is currently available as $success. Likewise for $failure. IMO $success is too long. As we will probably also introduce $1, $2, etc, a convenient short alternative for the success result value would be $0.

anatoliykmetyuk commented 8 years ago

What $failure should be renamed to?