Hacker News new | past | comments | ask | show | jobs | submit login

If you want those values to be strings, yes. For instance, it knows that this is a list of ints:

    $ [1, 2] | math max
      2
And here are some strings:

    $ ["a", "c"] | str join "b"
    abc
And there are tables

    $ [
       {name: "foo", value: 6},
       {name: "bar", value: 9}
      ] | where value > 7 | get name
    bar
And that's about as weird as the types get.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: