Skip to content

Instantly share code, notes, and snippets.

@danidiaz
Created October 4, 2013 06:46
Show Gist options
  • Select an option

  • Save danidiaz/6821903 to your computer and use it in GitHub Desktop.

Select an option

Save danidiaz/6821903 to your computer and use it in GitHub Desktop.
Ix from control.lens.
(ix 13 .~ 'z') ['a','b','c']
-- "abc"
#_ (ix 2 .~ 'z') ['a','b','c']
-- "abz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment