For what it's worth SBCL has this same behavior (although I don't like
it).
On Dec 4, 2008, at 5:45 AM, Konrad Hinsen wrote:
>
> On Dec 4, 2008, at 10:50, Meikel Brandmeyer wrote:
>
>> On 4 Dez., 10:08, Konrad Hinsen <[EMAIL PROTECTED]> wrote:
>>> user=> a'
>>> 2
>>> user=> a
>>> a
>>
>> a' is
It's been mentioned before but I'd like to see a planet.clojure.org à
la the planet planet powered sites (http://www.planetplanet.org/).
On Dec 6, 2008, at 4:24 PM, bc wrote:
>
> Hi all,
>
> A lot of people are writing Clojure-related blog posts; however, I am
> often only interested in the C
Hey this looks great!
On Dec 7, 2008, at 10:51 AM, Stuart Sierra wrote:
>
> Hi folks,
...
>
> 2. "each=" and "all-true" are gone, replaced by the new macro "are",
> which works with any predicate:
>(are =
> 2 (+ 1 1)
> 4 (+ 2 2))
>
Just one bone to pick, though. The "are" macro d
Fellow clojurecrats,
I'm here to ask for python style triple-double-quotes syntax in clojure.
For those unfamiliar they're documented here:
http://docs.python.org/reference/lexical_analysis.html#strings
This is also a nice summary:
http://diveintopython.org/getting_to_know_python/documenting_
if the value has to be escaped to play nice with the docstring it can
get confusing confusing... for me at least. I'd like to put *exactly*
what will be returned.
Dan
On Dec 13, 2008, at 7:58 PM, James Reeves wrote:
>
> On Dec 13, 9:34 pm, Dan Larkin wrote:
>> I
I'm incredibly impressed! Have only looked at the code briefly but I
read the whole post and I'm really excited for where this is going.
On Jan 12, 2009, at 11:45 PM, Mark McGranaghan wrote:
>
> Hi All,
>
> I'm happy to announce the alpha release of 'Ring', a library inspired
> by Python's W
(defn require-resolve
[id]
(let [sym (symbol id)
ns-symbol (symbol (namespace sym))
var-symbol (symbol (name sym))]
(require ns-symbol)
(ns-resolve (find-ns ns-symbol)
var-symbol)))
The name is terrible, I know.
You can pass a symbol or a string
On Jan 17, 2009, at 6:29 PM, Stephen C. Gilardi wrote:
>
> Hi Dan,
>
> That's interesting. I've given it some thought and I've come to see
> it as a version of resolve that tries harder than the default.
> Here's an implementation that makes its capabilities purely a
> superset of those of
On Jan 19, 2009, at 12:39 PM, Michael Reid wrote:
>
> Forgive me I am probably missing something, but if your use case is in
> a configuration file, why can't you just to a regular (ns .. (:require
> ..)) so that your configuration file can declare its dependencies in
> the same way other code do
On Jan 20, 2009, at 8:42 PM, wubbie wrote:
>
> Hi
> I would just print the files, excluding "#".
> what's the best way?
>
> user=> (filter recently-modified? (file-seq (File. ".")))
> (# # #)
>
http://java.sun.com/j2se/1.5.0/docs/api/java/io/File.html#getName()
> Thanks
> -Sun
> >
--~--~---
On Jan 17, 2009, at 6:29 PM, Stephen C. Gilardi wrote:
>
> I think it's interesting experimental code. Please do send in a CA
> and let's get something like this into ns-utils.
>
I am now listed on http://clojure.org/contributing so feel free to
commit resolve* (or something like it).
--~-
Name: clojure-json
URL: http://github.com/danlarkin/clojure-json/
Author: Dan Larkin
Tags: parsing, web, data-interchange
License: BSD
Dependencies: clojure-contrib (only for running tests)
Description:
A JSON encoder/decoder for clojure. Supports reading/writing from
strings and files, pretty
On Jan 29, 2009, at 2:55 PM, Cosmin Stejerean wrote:
>
>
> On Thu, Jan 29, 2009 at 1:06 PM, Paul Mooser
> wrote:
>
> I know this has been discussed on the list before to some extent, but
> does clojure by default have any operations which actually do what
> "contains?" sounds like it would do,
On Jan 29, 2009, at 5:23 PM, Cosmin Stejerean wrote:
>
> If in? was to be added how would it behave when given a map as the
> first argument? I would rather have "contains?" do the right thing
> for list/vectors/sets and keep its current behavior for maps. If we
> do actually need a functio
On Feb 2, 2009, at 8:32 PM, Terrence Brannon wrote:
>
> I was fooling around in the REPL and from the looks of the transcript,
> I typed the very same thing, yet in one case the REPL returned (quote
> foo) and in the other case it returned foo.
>
> Transcript follows:
>
> user=> \newline
> \newl
On Feb 3, 2009, at 9:42 PM, sbkogs wrote:
>
> Parsec is a very powerful parsing library for Haskell. I was mainly
> attracted to Haskell because of this library (ala Pugs project which
> used Parsec to create a Perl6 parser).
>
> I am wondering if there is an ongoing effort to write similar lib
So I've got a circular dependency problem. There's a few ways to move
functions and (require )s around but the problem remains -- these
three files fundamentally depend on one another:
parser.clj - lexer & parser (using joshua choi's excellent fnparse
library)
defaulttags.clj - multimethods
On Feb 14, 2009, at 2:14 PM, Stephen C. Gilardi wrote:
>
> On Feb 14, 2009, at 1:40 PM, Dan Larkin wrote:
>
>> But as an aside, does this seem to anyone else like a wart on an
>> otherwise great language? Thinking about file layout should not be
>> one of my priori
On Feb 21, 2009, at 2:23 PM, mikel wrote:
>
>
> If there's interest in having models and generic functions in contrib,
> I'll get a contributor agreement to Rich.
>
Aye there is, from me at least.
--~--~-~--~~~---~--~~
You received this message because you are s
But.. but... macros? code is no longer data?
On Feb 23, 2009, at 10:42 AM, Mark Volkmann wrote:
>
> I have an idea I'd like to float to see if there are reasons why it's
> a bad idea.
>
> What if Clojure had an alternate "surface" syntax that was translated
> into standard Clojure syntax by a k
Sorry for the necro, but I just started using error-kit and read this
thread for the first time today.
Both error-kit (errors no longer inherit from *error* AFAICT) and test-
is (the report function syntax) have changed since David last posted a
working function, so I've updated it work with
On May 18, 2009, at 9:23 AM, Laurent PETIT wrote:
>
> 2009/5/18 Mark Volkmann :
>>
>> On Mon, May 18, 2009 at 7:36 AM, Rich Hickey
>> wrote:
>>>
>>> I'll be doing two sessions involving Clojure at JavaOne this June.
>>> One
>>> is a traditional talk (TS-4164), the other is as a participant
DataCube reminds me of http://timecube.com/
Completely OT, though... or is it?
On May 19, 2009, at 10:18 AM, Konrad Hinsen wrote:
> On May 19, 2009, at 14:28, aperotte wrote:
>
>> I'm glad you got it working. I'll have to look into compiling it
>> with
>> an earlier version of java.
>>
>> I
On Aug 19, 2009, at 2:22 PM, Chouser wrote:
> I use (require '[clojure.contrib.str-utils2 :as str2]) for
> now and would recommend just 'str' if the lib name changes.
Except, of course, since there is already a str function, 'str' would
be a bad alias.
'strutils' or 'str-utils' sound fine t
On Dec 2, 2009, at 5:04 PM, dysinger wrote:
> We need to hire another two full-time devs (!) to work on a clojure
> project
> (distributed backend on clojure). Don't be nervous about that old job
> - take a
> risk! Wake up and work in your PJs with interesting code and get paid
> to code in
> clo
On Dec 11, 2009, at 3:04 PM, Sean Devlin wrote:
> Wouldn't ::quit do the same thing?
It wouldn't, because the repl is evaluating in the context of wherever you put
the (debug-repl) call, so its namespace won't be "dr".
What about instead of using keywords for commands, we use functions for
co
On Feb 8, 2010, at 6:13 PM, aria42 wrote:
> Is it possible to have default implementations associated with
> functions in a protocol? This is most useful when some protocol
> functions are defined in terms of other. For instance,
>
> (defprotocol Span
> (start [self])
> (stop [self])
> (span-l
Hi Chas!
This is great news, I'm glad to hear development will resume. What's the
downside to just forking? aka why bother rebooting from scratch?
> On Jul 18, 2017, at 05:48, Chas Emerick wrote:
>
> Hi all,
>
> I've been approached many, many times over the years (and more frequently
> sin
ing helped clarify things for me:
> specifically, if I'm going to maintain the project outside of contrib, I
> will reboot it as previously described.
>
> Thanks,
>
> - Chas
>
> On 7/18/2017 13:19, Dan Larkin wrote:
>> Hi Chas!
>>
>> This is great news, I
Hey all,
I've cooked up this example code to demonstrate a point:
(send-off
(agent nil)
(fn [_]
(send-off
(agent nil)
(fn [_]
(println "Hey!")))
(Thread/sleep 4000))) ; "Hey!" isn't printed for 4 seconds (when the outer
agent finishes).
Which is that actions sent to an age
sent to another agent depends on the value of
> the original agent.
>
> On Sat, Jun 12, 2010 at 9:43 PM, Moritz Ulrich
> wrote:
>> I'm not sure why it's doing this, but I read about this in the api
>> documentation - It's intended
>>
>> On Sat, Jun
Ah thanks for pointing out release-pending-sends, I didn't know about that;
it's exactly what I need in my case.
On Jun 16, 2010, at 9:52 AM, YD wrote:
> Yeah, it's intended, just like what Ulrich showed. The same comment
> appears on the doc of release-pending-sends.
> In your case, the inner s
George this is super cool! I can't wait to see this show up in swank-clojure
*ahem* Phil.
On Feb 2, 2011, at 12:03 PM, George Jahad wrote:
>
> show's a very cool function, but has a different purpose, (afaik).
>
> It displays the structure of an instance, but not it's contents. get-
> all-f
ant and svn are in /usr/bin/ on my leopard install, which means they
either came with OS X itself or the OS X development tools. I'd check
if you've got them already before installing.
On Nov 10, 2008, at 11:15 AM, Justin Henzie wrote:
>
> I am using the svn version 1086 and this works fin
34 matches
Mail list logo