implicit class TryOps[T](val t: Try[T]) extends AnyVal {def eventually[Ignore](effect: => Ignore): Try[T] = t.transform(_ => { effect; t }, _ => { effect; t })}
Adding "andThen" on Try and "fold" on Future and Try would be useful.
Cheers,
V
--
You received this message because you are subscribed to the Google Groups "scala-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.