Skip to content

Instantly share code, notes, and snippets.

@elbrujohalcon
Created October 29, 2017 14:48
Show Gist options
  • Save elbrujohalcon/e17211cdc25ef4c91e01b1bfe072cd3e to your computer and use it in GitHub Desktop.
Save elbrujohalcon/e17211cdc25ef4c91e01b1bfe072cd3e to your computer and use it in GitHub Desktop.
for my blog
-module(x).
-export([x/0, y/0]).
id(X) -> X.
y() -> [x || id(nothing)].
x() ->
Id = fun(X) -> X end,
[x || Id(nothing)].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment