Skip to content

Instantly share code, notes, and snippets.

@daveray
Created October 10, 2011 02:29
Show Gist options
  • Save daveray/1274510 to your computer and use it in GitHub Desktop.
Save daveray/1274510 to your computer and use it in GitHub Desktop.
Familial example
# (println (map #(* % %) (range 10))) becomes:
x = Familiar.with do
map fn {|x| x * x}, range(10)
end
Familiar.println x
=> (0 1 4 9 16 25 36 49 64 81)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment