Skip to content

Instantly share code, notes, and snippets.

@josevalim josevalim/foo.exs
Created May 9, 2014

Embed
What would you like to do?
defmodule Foo do
@menu [foo: 1, bar: 3, baz: 2]
@filtered_menu @menu |> Enum.filter(...)
def filtered_menu do
@filtered_menu
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.