Skip to content

Instantly share code, notes, and snippets.

@zaphod42
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zaphod42/3bca51eee458c83f94d3 to your computer and use it in GitHub Desktop.
Save zaphod42/3bca51eee458c83f94d3 to your computer and use it in GitHub Desktop.
Fun with resource collection
@notify { there: message => "string" }
@notify { again: message => ["string"], tag => ["different"] }
# This will get both of the above resources
Notify <| message == "string" |>
# This will, surprise, surprise, get the second resource
Notify <| message != "string" |>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment