Skip to content

Instantly share code, notes, and snippets.

@rugyoga
Last active August 4, 2022 17:56
Show Gist options
  • Save rugyoga/9142c40e3267af273c32745cd479e70a to your computer and use it in GitHub Desktop.
Save rugyoga/9142c40e3267af273c32745cd479e70a to your computer and use it in GitHub Desktop.
Simpler version for presentation
1
|> Stream.iterate(increment)
|> Stream.filter(palindrome?)
|> Stream.filter(divisible_by_3?)
|> Enum.at(99)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment