Ironically, I found out about ns-publics from (find-doc "ns-") On Thu, Jun 2, 2011 at 12:57 PM, Avram <aav...@me.com> wrote: > find-doc retrieves too other things though. > > For example, I'm exploring a bunch of libs now (including crane and > fs) but even if I ask only for just "fs" I get the kitchen sink: > > user=> (find-doc "fs") > ------------------------- > crane.ec2/cluster-confs > ([cluster base-conf]) > Return a sequence of confs for each machine in the cluster. > ------------------------- > clojure.contrib.pprint/add-english-scales > ([parts offset]) > Take a sequence of parts, add scale numbers (e.g., million) and > combine into a string > offset is a factor of 10^3 to multiply by > ------------------------- > clojure.contrib.pprint/cl-format > ([writer format-in & args]) > An implementation of a Common Lisp compatible format function. cl- > format formats its > arguments to an output stream or string based on the format control > string given. It > supports sophisticated formatting of structured data. > > etc… > > (ns-publics 'lib) works best for me. > -A > > > On Jun 2, 10:22 am, James Estes <james.es...@gmail.com> wrote: >> You could also try >> (find-doc "libname") >> >> On Thu, Jun 2, 2011 at 11:15 AM, Alex Robbins >> >> >> >> <alexander.j.robb...@gmail.com> wrote: >> > (ns-publics 'namespace) will show all the publicly defined things in a >> > namespace. >> >> > On Thu, Jun 2, 2011 at 11:51 AM, Avram <aav...@me.com> wrote: >> >> >> Apologies for a silly question, there must be a simple way to do this >> >> from the repl, but I can't seem to find it… >> >> >> Is there a way from the repl to view all available functions in the >> >> library or namespace? >> >> >> It often happens that I know a library contains functionality I seek, >> >> but I don't yet know the name. I realize that I can try to use the >> >> Atlas url (which is awesome) or an IDE or check github, but it would >> >> be really nice not to have to leave the repl. >> >> In R I would do: library(help=libname) >> >> >> Thanks in advance, >> >> Avram >> >> >> -- >> >> You received this message because you are subscribed to the Google >> >> Groups "Clojure" group. >> >> To post to this group, send email to clojure@googlegroups.com >> >> Note that posts from new members are moderated - please be patient with >> >> your first post. >> >> To unsubscribe from this group, send email to >> >> clojure+unsubscr...@googlegroups.com >> >> For more options, visit this group at >> >>http://groups.google.com/group/clojure?hl=en >> >> > -- >> > You received this message because you are subscribed to the Google >> > Groups "Clojure" group. >> > To post to this group, send email to clojure@googlegroups.com >> > Note that posts from new members are moderated - please be patient with >> > your first post. >> > To unsubscribe from this group, send email to >> > clojure+unsubscr...@googlegroups.com >> > For more options, visit this group at >> >http://groups.google.com/group/clojure?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
-- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en