Unofficial Hacker News companion — get notified on comment replies, and more.

Roc version 0.1.0, eight years in the making (opens external site)

485 points by DrDeadCrash 3 days ago rtfeldman.com 134 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (1)

  1.     y = U64.from_str(b) ? InvalidSecond   
        # returns Err(InvalidSecond(BadNumStr))
    
    Ooo, I like that syntax. Implicit wrapping, but it gives you a type you control so you can <do stuff> if needed.