When you start a swank server with lein swank, and then connect to it
via slime-connect in emacs, is there any way from within emacs to
restart the swank server and/or delete all definitions to start from a
clean slate?
--
You received this message because you are subscribed to the Google
Groups
I asked Stu on the booze bus about the purpose of contrib apart from
being a stage for libraries which might get included into core. He
noted that having a set of libraries for which provenance is assured
is a strong selling point for getting clojure into certain types of
organizations, ones which
On Oct 23, 9:44 pm, Shantanu Kumar wrote:
> How about using protocols to fetch metadata? SQLRat uses this
> approach:http://bitbucket.org/kumarshantanu/sqlrat/wiki/tutorial/EntityDefinition
Adding extra fields to mapped records is looking like the best
solution to what I'm trying to accomplish.
Thanks for pointing this out.
Adding the namespace declaration was exactly the reason why loading
the file did not work in the first place.
Now everything is working like a charm, and thanks to you I learnt yet
another piece of the Clojure puzzle!
Best regards,
Stefan
On Oct 24, 10:54 pm, Meik
I just posted a tutorial that describes some of the internals of the
Conduit library and also gives some direction for writing transports
for Conduit.
http://intensivesystems.net/tutorials/conduit_internals.html
Jim
--
You received this message because you are subscribed to the Google
Groups "C
All the talks were being taped. It sounded like if the videos came out
ok they'd be online at some point in the future.
On Sun, Oct 24, 2010 at 2:40 PM, Saul Hazledine wrote:
> On Oct 24, 6:03 pm, Stuart Halloway wrote:
>> It was terrific meeting so many of you for the first time. Thanks again t
Yeah, this didn't actually happen. There were too many people
scattered around getting dinner, eating at the bar, talking at the
bar, etc, which worked out fine too.
On Thu, Oct 21, 2010 at 12:51 PM, Sean Allen
wrote:
> What hackathon?
>
> On Thu, Oct 21, 2010 at 12:00 AM, Alex Miller wrote:
>>
A big shout-out to Relevance, sponsors, speakers and attendees (with
my own heartfelt gratitude towards Alan et al.) - Thank you! A great
conference.
Superb talks, and smooth execution, down right to making sure everyone
could get to and from the social outings and to-from the airports.
It was ni
This is awesome! Thank you. After installing auto-complete and
following the instructions on your github page, works like a charm.
Brilliant work.
Regards,
Raju
On Oct 16, 12:27 am, Jarl Haggerty wrote:
> Should autocomplete work in the swank repl? It works perfectly in a
> clj buffer but not
http://clojure.org/contributing
On Oct 22, 6:30 pm, Ulises wrote:
> I know this may be a silly question but: how does one get started
> helping with contrib/etc.? I'm only starting to learn clojure but I've
> found the community so helpful and thriving that I cannot help but to
> want to help ...
Here's one way:
(def version (delay (... read the JAR ...))
(defn get-version [] (force version))
-S
On Oct 22, 11:56 am, Ralph wrote:
> I have a Clojure program that I build as a JAR file using Maven.
> Embedded in the JAR Manifest is a build-version number, including the
> build tim
In clojure.test, you can use the Clojure `binding` macro to provide
local replacements for global functions.
In Lazytest, you can use the context objects provided by
lazytest.context.stub.
-S
On Oct 24, 3:03 pm, "Felix H. Dahlke" wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Stuart,
I just read through this thread again and noticed that I didn't notice
you mentioning that I can stub functions within tests. I had a look at
the clojure.test documentation, but I didn't find an example of that.
How would that apply to my
On Oct 24, 6:03 pm, Stuart Halloway wrote:
> It was terrific meeting so many of you for the first time. Thanks again to
> all the attendees, speakers, sponsors, and volunteers for making the conj
> great.
>
Is there any video of the conference available for those of us on the
other side of the
On Sat, Oct 23, 2010 at 5:44 PM, Chris Dow wrote:
> Is there any way to attach Clojure defined 'metadata' to to types? I
> am trying to write a ORM for records and would like some way to attach
> 'metadata' to types for the sake of mapping configuration. Clojure's
> built-in metadata apppears t
If you were at Clojure-conj, you can post your feedback on talks through
SpeakerRate at http://speakerrate.com/events/613-clojure-conj. Please do, so we
can make (second conj) even better!
It was terrific meeting so many of you for the first time. Thanks again to all
the attendees, speakers, sp
Hi,
On 24 Okt., 04:00, Stefan Rohlfing wrote:
> This is what I did:
> -
> src/active-record/tns.clj
>
> (ns active-record.tns)
>
> (require '[active-record.user :as user])
> (require '[active-record.charge :as charge])
You shou
Hi,
On 24 Okt., 14:27, Shantanu Kumar wrote:
> by the way the Class/forName thing completely took me by
> surprise. :-)
Also useful for protocols (extend-type (Class/forName ...)) and
multimethods (defmethod foo (Class/forName ...)).
Sincerely
Meikel
--
You received this message because you
+1
I notice the project.clj has Clojure and Contrib listed
under :dependencies. IMHO listing them in :dev-dependencies may free
the user to use any Clojure/contrib version they want.
Regards,
Shantanu
On Oct 24, 3:13 pm, Saul Hazledine wrote:
> Hello,
> clj-sql was written by developers who u
Thanks Dave and Meikel,
This is really useful. Maybe they should have been part of
clojure.core; by the way the Class/forName thing completely took me by
surprise. :-)
Regards,
Shantanu
On Oct 24, 4:07 pm, Meikel Brandmeyer wrote:
> Hi,
>
> On 24 Okt., 05:53, Shantanu Kumar wrote:
>
> > I want
Hi,
On 24 Okt., 05:53, Shantanu Kumar wrote:
> I want to be able to detect arrays of other types too - e.g.
> char[], Integer[] etc.
Other types can be done as "[C" (char), "[Ljava.lang.String;", etc.
You can get the types via type or class in the repl.
Hope this helps.
Sincerely
Meikel
--
Hi,
user=> (defn byte-array? [o] (instance? (Class/forName "[B") o))
#'user/byte-array?
user=> (byte-array? "abc")
false
user=> (byte-array? (byte-array [(byte 1) (byte 2)]))
true
Sincerely
Meikel
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To p
Hello,
clj-sql was written by developers who use clojure.contrib.sql but
needed to add a few features to support their projects. Most of the
functionality and API is inherited from clojure.contrib.sql but the
following additions have been made:
* Functions to describe tables and schema objec
23 matches
Mail list logo