Skip to content

Instantly share code, notes, and snippets.

@BrooklinJazz
Created June 7, 2021 18:50
Show Gist options
  • Select an option

  • Save BrooklinJazz/9b4ac057ac051a39e778373f67d40bbb to your computer and use it in GitHub Desktop.

Select an option

Save BrooklinJazz/9b4ac057ac051a39e778373f67d40bbb to your computer and use it in GitHub Desktop.
head and tail example
[head | tail] = [1,2,3]
head # 1
tail # [2, 3]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment