mailbox and I will not
be following up in any way.
--
Miron Brezuleanu
--
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
Hi Rich,
On Sat, Jan 2, 2010 at 7:13 PM, Rich Hickey richhic...@gmail.com wrote:
On Fri, Jan 1, 2010 at 5:16 PM, Miron Brezuleanu mbr...@gmail.com wrote:
Hello,
In order to get a better understanding of how some things happen in
Clojure,
I'd like to step through Clojure code (and I mean
, when
you create a new project clojure.jar is suggested to be downloaded
automatically.
With best regards,
Ilya
2010/1/2 Miron Brezuleanu mbr...@gmail.com
Hello,
In order to get a better understanding of how some things happen in
Clojure, I'd like to step through Clojure code (and I mean
am a complete IDEA newbie, I'd be very happy if someone who is using
IDEA to work on Clojure can provide a few pointers. I don't mind trying this
with Eclipse, so Eclipse advice is welcome too.
Many thanks and Happy New Year everyone,
--
Miron Brezuleanu
--
You received this message because you
-in, assoc-in and get-in and maybe
your data structure will be easier to manipulate. Zippers are great
too, as James Sofra suggests.
I hope I managed to describe what you were missing, I probably used
too many words in the attempt :-)
--
Miron Brezuleanu
--
You received this message because you
to participate
pseudonymously for those people that (unlike myself) value their privacy
sufficiently not to want to even post here under their real names.
Remember SCO IBM Novell Linux many others? I assume this is
why many open source projects today require CAs.
--
Miron Brezuleanu
--
You
://groups.google.com/group/clojure?hl=en
--
Miron Brezuleanu
--
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
, and its setup is completely non-obvious.
The ns macro has the potential of putting off an otherwise committed
newcomer. Clear and abundant short examples would go a long way, and
be very appreciated.
--
Miron Brezuleanu
--
You received this message because you are subscribed to the Google
... Implementing the 'return a list' suggestion above would
in fact automate writing such wrappers by asking the Clojure
compiler/runtime to generate that code.
I hope there are better ways to handle ref/outs:-)
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received
Test.m(ref int x) and
(Test/m #^Int32 a)
should call Test.m(int x),
while
(Test/m a)
should throw an exception because it can't pick a method.
So ... a mandatory uglified type hint. Language design is hard :-)
there are probably much better alternatives.
Cheers,
--
Miron Brezuleanu
?
Try putting the code in a gist on GitHub then use the 'embed' link on
the gist page in your blog post (this adds a script to the page, so it
doesn't fit your 'simple html' requirements [1] , but I thought it's a
neat alternative anyway).
Cheers,
--
Miron Brezuleanu
[1] The script does add
creates another instance of a DateTime, and the
instance passed via 'a' is left unmodified.
I believe the same problem applies to 'ref' parameters.
Thanks,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you are subscribed
. Run the
$CLOJURE/clojure-clr/Clojure/Clojure.Main/bin/Debug/Clojure.Main.exe.
Celebrate getting a Clojure REPL by typing (+ 1 1) or your favourite
Clojure expression.
Cheers,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you
[] 1)) (which works on both Clojures) but I find
the `apply` version clearer than double parentheses.
Sorry about multi-topicness and thanks for any pointers,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
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
Hello,
On Thu, Oct 29, 2009 at 2:24 PM, Meikel Brandmeyer m...@kotka.de wrote:
On Oct 29, 1:15 pm, Miron Brezuleanu mbr...@gmail.com wrote:
Cons: I'm afraid of getting the SQL generating syntax wrong and making
the data structures used for generation ugly. But I guess that can be
fixed
. If there is a need to compare parts of infinite
sequences, just truncate them and compare the resulting finite parts.
This is something that belongs in the application, not in the
language, as the value for N depends on the application and there is
no N that fits everyone (other than infinity).
--
Miron Brezuleanu
the SQL generating syntax wrong and making
the data structures used for generation ugly. But I guess that can be
fixed by iterating a little. :-)
Thanks,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
of something like this?
http://www.gitorious.org/clojureql/
Thanks! clojureql seems to be very close to what I need.
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post
really want to avoid risks, the safest thing to do would be
negotiate license contracts with the owners of all the components upon
which your software depends, assuming this is feasible.
-Tom Gordon
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received
with
the contents of clojure.contrib.
HTH,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
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
.
Thanks,
On Fri, Oct 2, 2009 at 12:40 AM, AlamedaMike amino.metr...@gmail.com wrote:
odd and even should be odd? and even?
Thanks for creating this. Most useful.
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you
Hi,
On Sat, Sep 26, 2009 at 3:36 PM, Daniel Werner
daniel.d.wer...@googlemail.com wrote:
On Sep 24, 10:14 am, Miron Brezuleanu mbr...@gmail.com wrote:
about). The degree of typing can be varied (i.e. a person is any map
with a :name key, or any map with only a :name key, or any map
*, but it defines accessors and a struct-map
coercion, not a predicate :))
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
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
to use (let [aperson (struct person John)]...) but I'm not
completely happy with it.)
Thanks,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email
key which is nil or string etc.)
I browsed through clojure.test (which is clojure.contrib.test-is
integrated into Clojure, right?) but couldn't find something like
this.
Thank you,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you
Hi,
On Thu, Sep 24, 2009 at 12:12 PM, Jarkko Oranen chous...@gmail.com wrote:
On Sep 24, 11:01 am, Miron Brezuleanu mbr...@gmail.com wrote:
Hello,
I find that I tend to name struct instances like the struct. For instance,
You could name the struct base person or something. I vaguely
that should return a data structure
with certain properties always returns such a data structure.
I'll try to formalize my fuzzy ideas as code. Thanks for giving me
some starting points.
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because
strings and chars - or add a textCompare function that would do that,
to avoid slowing down compare?
Thanks,
user= (.compareTo \a \b)
-1
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure
Hello,
I'm a Clojure newbie (many thanks to Rich Hickey and everyone involved
- it's a great programming environment) and I have some trouble with
'eval'.
What I'm trying is:
$ java -cp clojure.jar clojure.lang.Repl
Clojure 1.1.0-alpha-SNAPSHOT
user= (let [x 1] (eval '(inc x)))
Hello,
thanks everyone for replies,
On Thu, Sep 3, 2009 at 2:36 PM, Konrad Hinsen
konrad.hin...@fastmail.net wrote:
On 3 Sep 2009, at 08:24, Miron Brezuleanu wrote:
user= (let [x 1] (eval '(inc x)))
java.lang.Exception: Unable to resolve symbol: x in this context
(NO_SOURCE_FILE:1
Hi,
On Thu, Sep 3, 2009 at 4:26 PM, Konrad Hinsenkonrad.hin...@fastmail.net wrote:
On 3 Sep 2009, at 14:43, Miron Brezuleanu wrote:
Is there a way to get the list of symbols bound locally and to access
their values?
I don't think so. Python and Clojure are quite different languages
not
enough at the worst moments, so a more capable debugger would come in
handy.
Thanks,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure
- maybe it will be
added at some point in the future. I sure don't mind the extra speed
gained from compiling as much as possible :-)
Thanks,
--
Miron Brezuleanu
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Clojure
34 matches
Mail list logo