Re: Elegant tools deserve elegant solutions. -- L. E. Gant
Hi, Petr, Thank you for the pointer to the site. Indeed a treasure trove of ideas on stemmer algorithms. Tuba On Thu, Aug 11, 2011 at 8:45 AM, Petr Gladkikh petrg...@gmail.com wrote: On Mon, Aug 8, 2011 at 1:46 PM, Tuba Lambanog tuba.lamba...@gmail.com wrote: Hello, I’m doing a word stemmer for a non-English language. A stemmer parses a word into its word parts: prefixes, roots, suffixes. The input word is at least a root word (English example would be ‘cloud’), but can be any combination of prefix(es) and a root (e.g., 'pre-nuptial'), or a root and suffix(es) (‘cloudy’), or all three ('unidirection'). A sequence of more than one prefix in a word is considered one occurrence of a prefix, and similarly for complex prefixes, thus, ‘directional’ is considered to have the ‘single’ suffix ‘ional’. The prefixes, roots, and suffixes are in their own set data structure. The approach I am pursuing is to create a set of potential suffixes that the input word contains. Asssume, for simplicity, that the suffix set consists of #{-or, -er, -al, -ion, -ional, able}. The input ‘directional’ would have the candidate suffix set #{-al –ional}. Now, drop the longest suffix (‘ional’) from the input then check the remaining string (‘direct’) if it is a root; if it is, done. If not, try the next suffix (‘-al’) in the potential suffix set. Prefixes will be similarly processed. Input words with both prefixes and affixes will be fun to do ;) I’m having a hard time thinking through the process of generating the candidate suffix set using set forms, and I’m beginning to think I have selected an arduous path (for me). Thoughts? Somehow offtopic maybe, but have you looked at Snowball http://snowball.tartarus.org/ ? Algorithm is different but language that is used to describe stemmers there is almost lisp and may be useful at least as reference. -- Petr Gladkikh -- 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
Elegant tools deserve elegant solutions. -- L. E. Gant
Hello, I’m doing a word stemmer for a non-English language. A stemmer parses a word into its word parts: prefixes, roots, suffixes. The input word is at least a root word (English example would be ‘cloud’), but can be any combination of prefix(es) and a root (e.g., 'pre-nuptial'), or a root and suffix(es) (‘cloudy’), or all three ('unidirection'). A sequence of more than one prefix in a word is considered one occurrence of a prefix, and similarly for complex prefixes, thus, ‘directional’ is considered to have the ‘single’ suffix ‘ional’. The prefixes, roots, and suffixes are in their own set data structure. The approach I am pursuing is to create a set of potential suffixes that the input word contains. Asssume, for simplicity, that the suffix set consists of #{-or, -er, -al, -ion, -ional, able}. The input ‘directional’ would have the candidate suffix set #{-al –ional}. Now, drop the longest suffix (‘ional’) from the input then check the remaining string (‘direct’) if it is a root; if it is, done. If not, try the next suffix (‘-al’) in the potential suffix set. Prefixes will be similarly processed. Input words with both prefixes and affixes will be fun to do ;) I’m having a hard time thinking through the process of generating the candidate suffix set using set forms, and I’m beginning to think I have selected an arduous path (for me). Thoughts? Thanks. Tuba -- 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
Re: Elegant tools deserve elegant solutions. -- L. E. Gant
Hi, Thank you for the tip. It does look like the Patricia tree -- or suffix tree -- is made-to-order for this kind of task. I'm reading up on it. Would there be a Clojure implementation of this technology, I wonder. Tuba On Mon, Aug 8, 2011 at 1:40 AM, Ken Wesson kwess...@gmail.com wrote: On Mon, Aug 8, 2011 at 2:46 AM, Tuba Lambanog tuba.lamba...@gmail.com wrote: I’m having a hard time thinking through the process of generating the candidate suffix set using set forms, and I’m beginning to think I have selected an arduous path (for me). Thoughts? Store the prefixes in a patricia tree, and the reversed suffixes in another patricia tree. For suffixes, start at the end of the word and walk backward while traversing the suffix tree until hitting a leaf. Each node traversed (including the root, which is the empty string) is a potential suffix and you traverse them in short-to-long order, so reverse that to get them in long-to-short order. The case for prefixes is analogous except you start at the start of the word and walk forward while traversing the prefix tree. No suffix and No prefix needn't be handled as special cases; they are just the empty string as suffix or prefix, of length zero. -- Protege: What is this seething mass of parentheses?! Master: Your father's Lisp REPL. This is the language of a true hacker. Not as clumsy or random as C++; a language for a more civilized age. -- 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
Re: passing value to functions
Alan, The macro is great (output could use a bit of formatting for readability, but, hey, I'm not complaining). Thank you very much. Tuba On Thu, Jul 28, 2011 at 10:34 PM, Alan Malloy a...@malloys.org wrote: On Jul 28, 8:11 pm, Resty Cena restyc...@gmail.com wrote: Hi, Masanori, Yes, I noticed the similarity. I'm using Laurent's 'manual way' for now. I'll look at Alan's and Laurent's more concise solution in a few days. The manual way is easy to debug as all I have to do is println the intermediate results. You can actually debug the - versions even more easily, if you borrow my `?` debugging macro, available at https://github.com/amalloy/amalloy-utils/blob/master/src/amalloy/utils/debug.clj Then you can simply write (- input fix-ou ? ;; see result of fix-ou phase fix-ize ? ;; see result of fix-ize phase ) -- 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
passing value to functions
Hello, I'm trying to pass a variable through a series of functions, which may change the value of the variable. However, the next function in line uses the original value, rather than the changed value. Here's a pseudo-code of what I'm doing. (defn process-1 [s] ; change value of s then return it s) (def s something) (do (process-1 s) ; variable s is changed here (process-2 s)); process-2 uses the original value of s, not the return value from process-1 Thanks for the help. Perhaps a sub-forum for beginners? Kind of embarrassing to ask here questions that are so newbie-ish. -- 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
Re: passing value to functions
I'm trying to write a spelling 'standardizer' for a language that has no standardized spelling. There are about 25 spelling rules, and a few more may be added. . The input words, streamed one at a time from a text file, go through these rules, and may change if conditions are met. To take English examples, wouldn't would be converted to would, labour to labor (assuming a particular spelling standard), criticise to criticize, prolog to prologue. My knee- jerk reaction is to implement the rules as individual functions (what a joy to do this in Clojure!). The functions may be called in different orders depending on, say, the number of syllables of the input word). As suggested by Masanori, I read up on Clojure state -- and what a revelation that was. I understood it enough to say I don't understand it, because, my initial blockheaded reaction was, so how's sending back a value different from the Clojure way, since the value sent back is the state of the identify x at that point in time. I will try Laurent's suggestion. Thanks for the enlightenment! tuba On Jul 28, 5:03 am, Thorsten Wilms t...@freenet.de wrote: On 07/28/2011 11:29 AM, Tuba Lambanog wrote: I'm trying to pass a variable through a series of functions, which may change the value of the variable. However, the next function in line uses the original value, rather than the changed value. Here's a pseudo-code of what I'm doing. I think you should provide more context. Why, if that is the case at all, do you want to pass an argument through functions that do not work with it? How many arguments does each fn in the line take (and what do they evaluate to)? Is it a fixed or a variable number of functions? Perhaps a sub-forum for beginners? Kind of embarrassing to ask here questions that are so newbie-ish. Really no reason to feel embarrassed and I doubt the experts here would like to monitor an additional space ... -- Thorsten Wilms thorwil's design for free software:http://thorwil.wordpress.com/ -- 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
Re: passing value to functions
Hi, Thorsten, Why, if that is the case at all, do you want to pass an argument through functions that do not work with it? The determination of whether a called function will apply is left as a responsibility of the function itself, rather than the calling function. The motivation is that a function may be called from a number of places. Perhaps there's a better way? Thanks for the encouragement to ask questions here. tuba On Jul 28, 5:03 am, Thorsten Wilms t...@freenet.de wrote: On 07/28/2011 11:29 AM, Tuba Lambanog wrote: I'm trying to pass a variable through a series of functions, which may change the value of the variable. However, the next function in line uses the original value, rather than the changed value. Here's a pseudo-code of what I'm doing. I think you should provide more context. Why, if that is the case at all, do you want to pass an argument through functions that do not work with it? How many arguments does each fn in the line take (and what do they evaluate to)? Is it a fixed or a variable number of functions? Perhaps a sub-forum for beginners? Kind of embarrassing to ask here questions that are so newbie-ish. Really no reason to feel embarrassed and I doubt the experts here would like to monitor an additional space ... -- Thorsten Wilms thorwil's design for free software:http://thorwil.wordpress.com/ -- 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
Re: passing value to functions
Hi, Laurent, Your suggestion of manually piping intermediate results works. Thank you very much! Tuba On Thu, Jul 28, 2011 at 3:44 AM, Laurent PETIT laurent.pe...@gmail.comwrote: Hi, 2011/7/28 Tuba Lambanog tuba.lamba...@gmail.com Hello, I'm trying to pass a variable through a series of functions, which may change the value of the variable. However, the next function in line uses the original value, rather than the changed value. Here's a pseudo-code of what I'm doing. (defn process-1 [s] ; change value of s then return it s) (def s something) (do (process-1 s) ; variable s is changed here (process-2 s)); process-2 uses the original value of s, not the return value from process-1 beware, change in the clojure world means computing a new value based on an old one (as opposed to creating a new value almost from scratch). So for example, when you add an element to a map : (def m1 {:a 1}) (def m2 (assoc m1 :b 2)) you're really creating a new value. People will sometimes say they change m1, but it's not true, it's more to say that m2 is derived from m1 (sharing most things with m1). So you need to pipe the return value of process-1 into process-2. The manual way to do the pipe : (let [s-p1 (process-1 s) s-p2 (process-2 s-p1)] s-p2) The short way (preferred in your case) : (- s process-1 process-2) HTH, -- Laurent Thanks for the help. Perhaps a sub-forum for beginners? Kind of embarrassing to ask here questions that are so newbie-ish. -- 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
Need help on Replace
Hello, Alas, spent hours on this but can't get it to work. It's looking for a pattern: r between any vowels, then replace r with l. (clojure.string/replace-first The coror is red. #([aeiou])(?:r) ([aeiou]) #(str %1 l %2)) #CompilerException java.lang.IllegalArgumentException: Wrong number of args (1) passed to: user$eval558$fn (NO_SOURCE_FILE:0) thanks and cheers! Tuba -- 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
Re: Need help on Replace
This works! I really appreciate your help. Thank you very much. On Jul 21, 2:33 am, Meikel Brandmeyer m...@kotka.de wrote: Hi, the anonymous function takes only one argument which contains the matches. You have to extract the data from there. user= (clojure.string/replace The coror is red. #([aeiou])(?:r)([aeiou]) (fn [[_complete-match left-vowel right-vowel]] (str left-vowel l right-vowel))) The color is red. Sincerely Meikel -- 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
(count-all str1 str2)
Thinking of operations on collections to replace iteration is productive, but alas, I'm new to it. I'm looking for a way to count the number of occurrences of each and every character in str1 that occurs in str2, so that (count-all abc abracadabra) will give 8 which is the count of characters in abacaaba. Any suggestion? Thanks! Tuba -- 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
Re: (count-all str1 str2)
That works well. Thank you very much! Tuba On Jul 19, 1:47 am, Meikel Brandmeyer m...@kotka.de wrote: Hi, how about this: (count (filter (set abc) abracadabra))? Sincerely Meikel -- 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
converting a string into a set
Hello, My apologies for this newbie question. I couldn't find a way to convert a string to a set, thus: abc = #{a b c} Thanks. tuba -- 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
Re: converting a string into a set
Hi, (set abc) gives me #{\a \b \c}. I'm expecting instead: #{a b c} But thanks, Tuba On Mon, Jul 18, 2011 at 9:50 PM, Tuba Lambanog tuba.lamba...@gmail.comwrote: Hello, My apologies for this newbie question. I couldn't find a way to convert a string to a set, thus: abc = #{a b c} Thanks. tuba -- 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
Re: converting a string into a set
(thank-you Sean A Corfield) On Mon, Jul 18, 2011 at 10:29 PM, Sean Corfield seancorfi...@gmail.comwrote: On Mon, Jul 18, 2011 at 9:17 PM, Tuba Lambanog tuba.lamba...@gmail.com wrote: (set abc) gives me #{\a \b \c}. I'm expecting instead: #{a b c} (set (map abc)) (set (map str Tuba Lambanog)) -- Sean A Corfield -- (904) 302-SEAN An Architect's View -- http://corfield.org/ World Singles, LLC. -- http://worldsingles.com/ Railo Technologies, Inc. -- http://www.getrailo.com/ Perfection is the enemy of the good. -- Gustave Flaubert, French realist novelist (1821-1880) -- 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
Re: converting a string into a set
Hi, I'm clear on what I want ;) (something new to me), but I'm not clear on how to get there. I'd like to compare str1 and str2, if at least one of the letters in str1 is in str2. I'm thinking that if I can convert str1 and str2 to sets, then I can use the set intersection operation. It probably doesn't matter here if the sets contain characters or symbols? Tuba On Mon, Jul 18, 2011 at 10:31 PM, Benjamin Esham bdes...@gmail.com wrote: Tuba Lambanog wrote: Tuba Lambanog wrote: Hello, My apologies for this newbie question. I couldn't find a way to convert a string to a set, thus: abc = #{a b c} (set abc) gives me #{\a \b \c}. I'm expecting instead: #{a b c} Hi Tuba, Are you quite sure that #{\a \b \c} is not what you want? In Clojure's notation, a backslashed character [more or less] refers to a single-character string--something akin to the char type from C. Hence \a is the character a. On the other hand #{a b c} is a set containing three Clojure symbols, which is probably not what you want. (If you want to be using a, b, and c as some kind of identifiers, take a look at keywords.) -- Benjamin D. Esham | bdes...@gmail.com | www.bdesham.info How to Ask Questions the Smart Way, by Eric S. Raymond: http://catb.org/~esr/faqs/smart-questions.html -- 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
Re: Clojure Books
Hi, I find that the 'best' instruction book is the one that most closely meets the learner's current mind-set, preparedness (do you find the author making assumptions you know nothing about?), match between the practice problems you'd like to do and what the book provides, etc. Right now I'm learning from Practical Clojure; maybe later I will find the Joy of Clojure at the right level. I also consult Programming Clojure. Next, either Clojure in Action or the new Oreilly book. I'm in a self-directed total immersion program to learn Clojure, and surrounding myself with these materials is my knee-jerk reaction, since I can't afford the mentor-programming approach. Good luck! Tuba On Mon, Jul 18, 2011 at 11:59 AM, Teena Mathew mathewteen...@gmail.comwrote: Hey! Which are the recommended books for Clojure newbie? Thanks! Teena -- 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
Re: converting a string into a set
Wow, that some function is just what I'd expect from Clojure, simple, straightforward, elegant. How did I miss it? Thanks all. Tuba On Jul 18, 11:00 pm, David Nolen dnolen.li...@gmail.com wrote: On Tue, Jul 19, 2011 at 12:48 AM, Tuba Lambanog tuba.lamba...@gmail.comwrote: Hi, I'm clear on what I want ;) (something new to me), but I'm not clear on how to get there. I'd like to compare str1 and str2, if at least one of the letters in str1 is in str2. I'm thinking that if I can convert str1 and str2 to sets, then I can use the set intersection operation. It probably doesn't matter here if the sets contain characters or symbols? Tuba Or you could do this: (some (set str1) (set str2)) David -- 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
(doc more-examples)
Hello, More examples in how to use a form in the (doc ...) facility within REPL would be very useful to newbies. Thanks. tuba -- 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
Noobie needs help
Hello, Total noobie here. I'm trying to create a sort of a string maker function. Something like: (defn string-maker [string-name the-string] (def string-name (str the-string))) so that I can call the function like so: (string-maker friend Peter) which I expect to give me the variable: friend with the value: Peter But alas, no luck. Can anybody point me in the right direction? Thanks! tuba -- 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
Re: Anyone on Google+ yet?
http://profiles.google.com/tuba.lambanog On Thu, Jul 14, 2011 at 11:12 AM, Claudia Doppioslash claudia.doppiosl...@gmail.com wrote: My Clojure circle is all set up but empty. My g+ is: http://gplus.to/gattoclaudia Please add link to your profile below. -- 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
Unable to resolve var: subset? in this context (NO_SOURCE_FILE:1)
Hello, I'm getting an unresolved var error when I do (doc subset?), thus: Interactive Clojure console. Starting... Clojure 1.2.0 user= (doc subset?) java.lang.Exception: Unable to resolve var: subset? in this context (NO_SOURCE_FILE:1) I'm able to do doc on other forms. My clojure and clojure-contrib directories are in the root of my username directory. I am running repl.sh under another directory. Something perhaps in my clojure development environment (Mac OSX 10.6)? Thanks. -- 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
Re: Unable to resolve var: subset? in this context (NO_SOURCE_FILE:1)
Thank you! Tuba On Thu, Jul 14, 2011 at 2:24 PM, Daniel Janus nath...@gmail.com wrote: subset? is in the clojure.set namespace, so you must (use 'clojure.set) before you can use subset? unqualified. -- 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