News for hackers. Stuff that matters.
Re:Comparison between Rust and D by eudox on Saturday June 25, 2016 @10:29AM (#11976410)
Yes, a common refinement pattern in code is (pseudocode):

  def fn(object):
    let object = predicate(object) ? modify(object) : error();
    // do something with the refined object
Or something along those lines.

There are no comments on this comment yet.