-
-
Save sritchie/611b9fadf92e2936f15f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; Use clojure.repl/apropos to search for that function that's on the tip of your tongue: | |
| ;; ------------------------- | |
| ;; clojure.repl/apropos | |
| ;; ([str-or-pattern]) | |
| ;; Given a regular expression or stringable thing, return a seq of | |
| ;; all definitions in all currently-loaded namespaces that match the | |
| ;; str-or-pattern. | |
| user> (use 'clojure.repl) | |
| nil | |
| user> (apropos "future-") | |
| (future-values future-done? future-call future-cancel future-cancelled?) | |
| ;; If you're an emacs+SLIME user, Use C-c C-d C-a to get the same | |
| ;; effect. In a cascalog project, for example, Running that command | |
| ;; and typing "future-" brings up a new buffer with the following: | |
| ;; | |
| clojure.core/future-call | |
| Function: ([f]) Takes a function of no args and yields a future object that will | |
| clojure.core/future-cancel | |
| Function: ([f]) Cancels the future, if possible. | |
| clojure.core/future-cancelled? | |
| Function: ([f]) Returns true if future f is cancelled | |
| clojure.core/future-done? | |
| Function: ([f]) Returns true if future f is done | |
| jackknife.core/future-values | |
| Function: ([futures]) nil |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment