Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

They are. Further in the draft there is an example:

  var x []int
  total := Sum(x) // shorthand for Sum(int)(x)


ah crap. how did I miss that! Thanks!




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

Search: