Solving balanced parentheses problem using Dart's type system | Hacker News Reader