Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by shawn_w

6 days ago

You can just use

    lindex $mydata 35 2

for indexing nested lists, btw. Same for nested hash tables:

    dict get $mydata channel 2

Mixing the two does get ugly with nested functions, granted.

0 comments

shawn_w

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities