Re: Confusing Regex Behavior

2018-12-04 Thread Randy J. Ray
ch > returns a lazy-seq of the matches of your regex in the string. > > On Tue, Dec 4, 2018 at 12:37 PM Randy J. Ray wrote: > >> Oh, that might be it. The newline at the end of the string might be what >> is throwing a wrench into things. Though, to be fair, when I used >

Re: Confusing Regex Behavior

2018-12-04 Thread Randy J. Ray
> match the _entire_ string. > > Andy > > [1] https://docs.oracle.com/javase/8/docs/api/java/util/regex/Matcher.html > > > > > On Tue, Dec 4, 2018 at 11:16 AM Randy J. Ray wrote: > >> I must be doing something wrong here, but I cannot figure this out. &g

Confusing Regex Behavior

2018-12-04 Thread Randy J. Ray
the backreferences: (re-find (re-matcher #"\[((\d+)-(\d+)-(\d+) (\d\d):(\d\d))\] (.*)" "[1518-05-27 00:42] falls asleep\n")) I've used re-matches many times, but this has me stumped. This is behaving this way on both 1.8.0 and 1.9.0. Randy -- Randy J. Ray - randy.j

Re: Confused by a bit of syntax-- Clojure(script) or Hiccup?

2018-11-21 Thread Randy J. Ray
is a valid Clojure keyword, but has no special meaning on its own. >> >> In Reagent's version of the Hiccup DSL, :> introduces a Reagent component >> defined from a React component >> >> https://github.com/reagent-project/reagent/blob/master/doc/InteropWithReact.

Re: Confused by a bit of syntax-- Clojure(script) or Hiccup?

2018-11-20 Thread Randy J. Ray
>> >> In Reagent's version of the Hiccup DSL, :> introduces a Reagent component >> defined from a React component >> >> https://github.com/reagent-project/reagent/blob/master/doc/InteropWithReact.md#creating-reagent-components-from-react-components >> >> O

Confused by a bit of syntax-- Clojure(script) or Hiccup?

2018-11-20 Thread Randy J. Ray
element in vectors in a context that leads me to think it's part of Hiccup. But I'm expecting keywords like ":div", ":p", etc. The ":>" sequence, I guess I'm just not quite getting it? Randy -- Randy J. Ray - randy.j@gmail.com - twitter.com/rjray S

Best Practices for Accessing Data Files That May Be Bundled?

2018-02-06 Thread Randy J. Ray
s a single input, and return a string as a result (I have result-files in the same dirs as the input files, for comparison. I just need to be able to iterate over the forms to test, and the test-cases for each form. (I say "I just need", but I'll probably be back with more

Possible bug in clojure.set/union?

2016-03-04 Thread Randy J. Ray
7;t know that would affect the output. I did try putting a list as the first parameter, and that results in a list return value all the time. Is this a bug? Should I file a GitHub issue on this? I first encountered this in 1.7.0, but I recently updated to 1.8.0 and it is still present. Randy -- Randy

Re: Clojure, Swank, and Leiningen with Emacs on Mac OS X

2011-06-08 Thread Randy J. Ray
jure directory? > > On Tue, Jun 7, 2011 at 18:00, Randy J. Ray wrote: > > I am also having some big problems getting a working set-up under MacOS. > I > > can't really start with the emacs-starters-kit, as I have a very large > > existing configuration. And Aquamacs does

Re: Clojure, Swank, and Leiningen with Emacs on Mac OS X

2011-06-07 Thread Randy J. Ray
so much pain? >> > >> > Thanks, >> > Dmitri >> >> -- >> 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

Re: Clojure Quizzes?

2011-01-16 Thread Randy J. Ray
op's problems to help myself in learning Clojure... Randy -- """"""""""""""""""""""""""""""""""""

Re: Having trouble with "reader.tasklist" class from Programming Clojure

2011-01-04 Thread Randy J. Ray
lass to start compiling it, it just isn't finding it when it references itself). The paths to clojure.jar and clojure-contrib.jar are the 1.2.0 distribution jars, stock downloads from clojure.org. And with that REPL, it reported the error. Randy -- """""&q

Having trouble with "reader.tasklist" class from Programming Clojure

2011-01-04 Thread Randy J. Ray
r jline.ConsoleRunner clojure.main Everything up to now has run fine from within the REPL, this is the first time I've tried compiling a class. I get the same error if I try C-c C-k from a SLIME-enabled buffer in Emacs, as well. Any suggestions? Randy -- """""