Skip to content

Instantly share code, notes, and snippets.

@akhileshs
Created November 22, 2015 12:52
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 akhileshs/82a9dd3e2e275c470509 to your computer and use it in GitHub Desktop.
Save akhileshs/82a9dd3e2e275c470509 to your computer and use it in GitHub Desktop.
(ns fluokitty.core
(:use [uncomplicate.fluokitten core jvm]))
(map inc [1 2 3])
(fmap inc [1 2 3])
(fmap + [1 2 3] [1 2 3 4])
(fmap + [1 2 3] (list 1 2 3))
(fapply [inc dec (partial * 10)] [1 2 3])
(fapply [+ -] [1 2] [3 4])
(pure [] 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment