For the program, I know that when processing a character, I do not
need the previous result. All I need is the current character, and I
can return a function that acts on the result. I'm not sure if this is
simple to implement in a functional way.
Actually my understanding says that you need
So, it appears the (read-line) consumes the Clojure form (in-ns
'test.readln) probably stacked by CCW (at least I didn't type that!)
Yup you're right, CCW typed that, you may disable that feature from
the Windows Preferences Clojure Editor.
Thanks
--
You received this message because you
On Mon, Jul 26, 2010 at 08:13, ka sancha...@gmail.com wrote:
For the program, I know that when processing a character, I do not
need the previous result. All I need is the current character, and I
can return a function that acts on the result. I'm not sure if this is
simple to implement in a
On 26 July 2010 09:25, B Smith-Mannschott bsmith.o...@gmail.com wrote:
[...]
That said, don't use my code. It's hideous. And by now, I'm sure
there's a cleaner solution possible for my approach:
The idea is to split the input string into a lazy list of substrings
alternating between strings
Thanks ka!
2010/7/26 ka sancha...@gmail.com
So, it appears the (read-line) consumes the Clojure form (in-ns
'test.readln) probably stacked by CCW (at least I didn't type that!)
Yup you're right, CCW typed that, you may disable that feature from
the Windows Preferences Clojure Editor.
I really appreciate this article. Some of the compojure web
development documentation is hard to find or out of date. I usually
end up reading the source to have a better idea of what's going on.
Clojure makes that pretty easy though.
A couple quick questions:
1) Inside (view-input), there
Im at work now so cant access the code.
But basiccly i used the example from the github page in the repl.
Went to the url specified and approved it.
I dont remember exactly if i had to run the code again or if it then
returned the Token error message.
To get it to work i basicly looked in the
I've been consider doing some work in the rule process space and would
be interested in the groups feedback.
I'm considering two separate efforts, but will only have the time to
work on one, and I'm curious which of the two the group would find
collectively more useful and of interest in terms of
On 26 July 2010 06:42, ghadi gshay...@gmail.com wrote:
I really appreciate this article. Some of the compojure web
development documentation is hard to find or out of date. I usually
end up reading the source to have a better idea of what's going on.
Clojure makes that pretty easy though.
Hi. I did the min-kanren implementation and the second tutorial.
I think the better path would be the inference engine in Clojure. Are
you familiar with Kanren? (not mini-kanren but the full blown system)
I'd be interested in your opinion of it compared to Prolog. I would
think implementing it in
On 26 July 2010 14:15, p.bernard paul.bern...@teleapp.com wrote:
I've been consider doing some work in the rule process space and would
be interested in the groups feedback.
I'm considering two separate efforts, but will only have the time to
work on one, and I'm curious which of the two the
On Jul 26, 6:34 am, jim jim.d...@gmail.com wrote:
One thing I'd like to do is implement a business rules engine in
Clojure running the Rete algorithm or something similar. Sort of a
Drools in Clojure.
Wouldn't it be easier to implement clojure scripting for Drools ? As
far as i know Drools
Hi all! I have been trying to use Clojure on a student project, but
it's becoming a bit of a nightmare. I wonder whether anyone can
help? I'm not studying computer science, and I really need to be
getting on with the work I'm actually supposed to be doing :)
I am trying to work from a lot of
I didn't want to jade the group's response but I personally had more
interest in an inference engine as well. I've used Drools, as well as
ILog on several large projects but didn't like the proprietary nature
of their underlying language implementations. In short their
implementation was a
On Sat, Jul 24, 2010 at 3:30 AM, Mark McGranaghan mmcgr...@gmail.comwrote:
Hi All,
I recently posted to my blog on the process of developing and
deploying a simple Clojure web application:
http://mmcgrana.github.com/2010/07/develop-deploy-clojure-web-applications.html
The purpose of this
My first thought is that you need to tweak your JVM settings. Try
allocation a minimum of 512MB to the total.
My second thought is that you need to use laziness to your advantage.
Remove the print expression from the mapping operation. It's useful
for debugging/prototyping, but shouldn't be in
Here is my function:
(defn json-seq []
(apply concat
(map #(do (print f) (str/split (slurp %) #\nStatusJSONImpl))
out-files)))
Assuming the str namespace is clojure.contrib.string, (str/split ..)
won't be lazy. Currently it's implemented as:
(defn split
Splits
My response the Jim's post addresses why this is not compelling to me
but you are correct. It would be easier. In fact so much so that I
can't see a benefit in just creating a wrapper. Anyone could cook
that up themselves in short order. There really isn't and value
add.
I'm invisioning
When developing a web app, my preference would be to edit files using
SLIME with lein swank like all of my other development. So, I should
be able to start and stop the server from the repl and can reflect my
changes in the browser simply by reloading a function.
I used to be able to develop like
On 26 Jul 2010, at 17:30, tguy wrote:
When developing a web app, my preference would be to edit files using
SLIME with lein swank like all of my other development. So, I should
be able to start and stop the server from the repl and can reflect my
changes in the browser simply by reloading a
Hi all,
does anyone knows if (and where) the presentation Rick gave at
the Emergin Languages Summit is available?
Thanks,
Juan Manuel
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to
You can get a lazy sequence of all the lines in all the files by
something like:
(for [file out-files
line (with-open [r (io/reader file)] (line-seq r))]
line)
If StatusJSONImpl is on a separate line, you can throw in a :when
clause to filter them out:
(for [file out-files
line
See Phil's comment here
http://technomancy.us/139
--
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
BTW, it's Rich, not Rick
2010/7/26 babui jmgim...@gmail.com
Hi all,
does anyone knows if (and where) the presentation Rick gave at
the Emergin Languages Summit is available?
Thanks,
Juan Manuel
--
You received this message because you are subscribed to the Google
Groups
BTW, it's Rich, not Rick
Sorry, Rich.
JM
PS: I hope this messsage does not contain any error :-)
--
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
Back in the days when i was using common lisp (sbcl) i used this
inference engine: http://lisa.sourceforge.net/
--
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
I don't have a website I maintain right now so I thought I'd post this
to the mailing list.
I have a need to scan a list of IP addresses and I wanted the scan
order to be random. Nmap can do this. However, I also want the scan
order to be consistent so I can do handy things like diff output
Clojure/core Team Update 1
Monday, July 26, 2010
Welcome to the first Clojure/core team update. In these updates you
will find:
* Announcements of upcoming events
* Project updates: summaries of recent work on Clojure and related
projects that we support
* New developments: other new things
I expanded on this theme in a blog post:
http://programming-puzzler.blogspot.com/2010/07/translating-code-from-python-and-scheme.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
29 matches
Mail list logo