matthewmueller/joy

Improve range support

Open

#19 opened on Oct 12, 2017

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (34 forks)github user discovery
compilerhelp wanted

Repository metrics

Stars
 (1,317 stars)
PR merge metrics
 (PR metrics pending)

Description

// Range expression                              1st value          2nd value
// [x] array or slice  a  [n]E, *[n]E, or []E    index    i  int    a[i]       E
// [ ] string          s  string type            index    i  int    see below  rune
// [ ] map             m  map[K]V                key      k  K      m[k]       V
// [ ] channel         c  chan E, <-chan E       element  e  E
  • range over maps
  • range over strings
  • range over channels

Contributor guide