Skip to content
  • Nate Bosch's avatar
    Tighten type for argument to `evaluate` (#22) · 1309eabe
    Nate Bosch authored
    Taking a `dynamic` throws away the static help that a caller would get
    with an argument type. Since it is easy to refactor callers currently
    passing an `Iterable<String>` to tear off the `.contains` method we can
    take the Function type always. This also improves inference for argument
    types in places that are passing a function literal.
    1309eabe