Re: Confusing Regex Behavior

2018-12-04 Thread Randy J. Ray
> 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
_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. >> >>

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
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.md#creating-reagent-compo

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

2018-11-20 Thread Randy J. Ray
gt; 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 >> >> On Tue, Nov 20, 2018

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

2018-11-20 Thread Randy J. Ray
ors 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 Silicon Valley Scale Modelers: http:

Best Practices for Accessing Data Files That May Be Bundled?

2018-02-06 Thread Randy J. Ray
(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 questions after I get these answered...) Randy -- Ra

Possible bug in clojure.set/union?

2016-03-04 Thread Randy J. Ray
at 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 J. Ray - randy.

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

2011-06-08 Thread Randy J. Ray
directory? On Tue, Jun 7, 2011 at 18:00, Randy J. Ray rj...@blackperl.com 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 doesn't ship SLIME as part

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

2011-06-07 Thread Randy J. Ray
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 -- Randy J. Ray - randy.j@gmail.com - twitter.com/rjray

Re: Clojure Quizzes?

2011-01-16 Thread Randy J. Ray
Clojure... Randy -- Randy J. Ray Sunnyvale, CA http://www.rjray.org rj...@blackperl.com http://www.svsm.org randy.j@gmail.com http://twitter.com/rjray -- You received this message because you

Having trouble with reader.tasklist class from Programming Clojure

2011-01-04 Thread Randy J. Ray
, 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 -- Randy J. Ray Sunnyvale, CA http://www.rjray.org rj...@blackperl.com

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

2011-01-04 Thread Randy J. Ray
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 -- Randy J. Ray Sunnyvale, CA http://www.rjray.org rj...@blackperl.com http