spec'ed appears to be the term used in the guides,
https://clojure.org/guides/spec
Cheers
On Tue, Nov 14, 2017 at 11:17 AM, Didier wrote:
> Hey all,
>
> I'm facing a naming problem, I can't decide how I want to call something
> that has a spec.
>
>
>1. Something that has a spec is said to b
Using Lein 2's REPL, Ctrl-C doesn't cancel the REPL itself.
On Sat, Feb 21, 2015 at 4:45 PM, Cecil Westerhof
wrote:
> Sometimes I execute something that takes to long. With -C I can
> cancel it, but this also cancels the REPL itself. Is there a way to
> terminate the running command without term
If it's the clojure repl this might work:
https://clojuredocs.org/clojure.repl/set-break-handler!
On Sat, Feb 21, 2015 at 5:28 PM, Lucas Bradstreet wrote:
> Which repl are you using? In lein repl, this does not happen to me, it
> just terminates the expression.
>
> On 21 February 2015 at 19:45,
d instead of the EmacsW32
build.
2. Some kind of file or permissions error when emacs.exe writes out its
server information. You could run ProcMon (or FileMon) and see if emacs.exe
is showing any file or directory errors.
Shawn
--
You received this message because you are subscribed to the Google
G
ending expressions from the
editor), and the project system are most important. After that, I think some
combination of integrating the editor with the REPL's doc function, .NET
intellisense, and Clojure intellisense. There's some effort going on to
potentially unify the REPL servers used by
alse in Clojure
anyway, because compiling also loads, so keep using C-c C-k and you should
be fine. I think compile without load shouldn't even appear in the menu when
connected to Clojure, but I don't know where the right place would be to fix
that.
Shawn
On Sat, Aug 21, 2010 at 10:56 AM,
Works for me, thanks!
On Fri, Aug 20, 2010 at 5:35 AM, Shantanu Kumar wrote:
> Hi,
>
> I have created a Windows distribution for Leiningen 1.3.0 (by pruning
> and modifying the lein.bat file a bit) that can be downloaded from
> here:
>
> http://github.com/downloads/kumarshantanu/leiningen/leining
On Sat, Jul 24, 2010 at 3:30 AM, Mark McGranaghan wrote:
> 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 post is t
On Wed, Jun 30, 2010 at 1:44 AM, Tim Robinson wrote:
> So I am reading On Lisp + some blogs while learning Clojure (I know,
> scary stuff :)
>
> Anyway, I've been playing around to see if I can get an anonymous
> recursive function to work, but alas I am still a n00b and not even
> sure what Cloju
On Wed, Jun 30, 2010 at 7:39 AM, David Powell wrote:
>
> I raised a ticket a while ago regarding newline and println on Windows.
>
> http://www.assembla.com/spaces/clojure/tickets/300-newline-should-output-
> platform-specific-newline-sequence
>
> Currently these functions always output ASCII 10
ex)]
(send a (fn [_] (throw (Exception. "bad news"
(await a)
@a)
42
;; No println!
user=>
Is this the way it should work? I saw some stuff about it in the wiki [1],
but it's hard to tell what was decided explicitly.
Shawn
[1] http://www.assembla.
On Tue, Jun 15, 2010 at 12:01 PM, Ryan Waters wrote:
> I'm working with the code at the following gist and also pasted below:
>
> http://gist.github.com/421550
>
> I'd like to have execution of a separate thread (agent) continue
> running until it sees the atom 'running' change to false.
>
> Unfo
e-extra-classpaths
>(list "C:/Clojure"))
>
I'm not sure what version of Clojure Box you have, but in 1.1 you should set
swank-clojure-classpath, not swank-clojure-extra-classpaths.
Shawn
--
You received this message because you are subscribed to the Google
G
On Wed, Mar 24, 2010 at 11:59 AM, invis wrote:
> I am trying to start labrepl with emacs.
> Labrepl is working nice, but I cant "slime-connect" :(
> Have this message:
> "open-network-stream: make client process failed: connection
> refused, :name, SLIME Lisp, :buffer, nil, :host, 127.0.0.1, :ser
On Wed, Mar 3, 2010 at 8:43 AM, Andrea Tortorella wrote:
> Hi everyone,
>
> if I run this code:
>
> (defprotocol P
> (foo [x]))
>
> (deftype T []
> P
> (foo [] "dummy"))
>
> (extends? P T)
> ;==> nil
> (satisfies? P T)
> ;==> nil
> (extenders P)
> ;==>nil
>
> are they not yet implemented?
>
Ni
brary class would have to be replaced with an appropriate CLR base class
library class.
Shawn
--
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 m
On Tue, Feb 2, 2010 at 2:35 PM, Meikel Brandmeyer wrote:
> PS: On Windows deployment to Clojars does not work due to scp trouble. Only
> Unix/Mac OS X supported at the moment for deployment.
>
If that's a blocker for anyone on Windows, they should parameterize the
Clojars scp program and set it
On Sat, Jan 30, 2010 at 10:11 PM, Shawn Hoover wrote:
>
> On Sat, Jan 30, 2010 at 5:48 PM, Rollo wrote:
>
>> Hi Shawn,
>>
>> Just tried with 1.1.RC1 - no luck. Emacs server won't start and system
>> will start spawning thousands of cmdproxy processes again.
On Sat, Jan 30, 2010 at 5:48 PM, Rollo wrote:
> Hi Shawn,
>
> Just tried with 1.1.RC1 - no luck. Emacs server won't start and system
> will start spawning thousands of cmdproxy processes again.
> Where does that bad condition comes from?
> Let me know if I can help d
Sounds pretty bad! I'll look into it. Can one of you confirm the versions in
play? The thread is talking about 1.0 and 1.0rc1, but I'm wondering if you
mean 1.1.0.
Shawn
On Fri, Jan 29, 2010 at 1:41 PM, Rollo wrote:
> Seconded. I have the same problem on win7, augmented by
On Thu, Jan 14, 2010 at 3:17 AM, brian wrote:
> The above didn't work, but apparently it doesn't pick up my .emacs file,
> which has
>
> (setq swank-clojure-classpath
>(list "c:/shcloj-code/code/examples"))
>
> itknows where home is, when it boots up, the default is my home dir, where
> .emac
On Wed, Jan 13, 2010 at 8:38 PM, brian wrote:
>
> I was wondering if this is the right statement for setting the external
> classpath?
>
> setq swank-clojure-classpath
>
Another way is to use M-x swank-clojure-project. You enter a directory and
it automatically adds that directory/src to the cl
On Wed, Jan 13, 2010 at 8:38 PM, brian wrote:
>
> I was wondering if this is the right statement for setting the external
> classpath?
>
> setq swank-clojure-classpath
>
That's the right variable. You can set it, and then Clojure Box's setup
appends to it to make sure clojure, contrib, and swan
in my .emacs.
>
Putting all the jars in Clojure Box/lib works for me, so there may be
something else whacky with your classpath. What does (System/getProperty
"java.class.path") return?
Shawn
--
You received this message because you are subscribed to the Google
Groups "Clojure&
.emacs is under your Documents and Settings or Users directory, but
it should respect %HOME%), I think the problem is the \ in your classpath
need to be escaped. Try converting them to / or \\.
Shawn
--
You received this message because you are subscribed to the Google
Groups "Clojure&quo
ts and
> Settings/brian/.emacs':
>
> Symbol's value as variable is void: “c:/dev/project/src”
>
The problem is the curly quotes. Replace them with normal " and it should
work. I'll see if I can fix that doc.
Shawn
--
You received this message because you are subscrib
f you have jars in $HOME/.clojure they are added to the classpath by
swank-clojure and then .clojure is searched for user.clj.
Shawn
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegrou
rint.clj:6)
> user=> user=> java.lang.Exception: No such var:
> swank.swank/ignore-protocol-version (NO_SOURCE_FILE:3)
> user=> user=> nil
> java.lang.Exception: No such var: swank.swank/start-server
> (NO_SOURCE_FILE:5)
> user=> user=>
>
Out of curiosity, w
rtup
to not wipe out the entire classpath and build it from scratch:
http://bitbucket.org/shoover/clojure-box/src/8015172a1dc3/default.el#cl-33
Shawn
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@
before the ELPA's
package-initialize is called, which loads the swank-clojure autoloads, which
includes the defadvice.
Shawn
--
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
on (point-min) (point-max)
- (concat pkg-dir file-name ".el")
- nil nil nil 'excl)
+ (package-write-file-no-coding (concat pkg-dir file-name ".el")
'excl)
On Sat, Jan 2, 2010 at 12:35 PM, Mike K wrote:
> On Jan 2, 9:
Hi Mike,
Is there anything useful going on in *messages*?
On Sat, Jan 2, 2010 at 9:07 AM, Mike K wrote:
> Hi all,
>
> I'm trying to get all the latest and greatest swank-clojure 1.1.0
> goodness via ELPA, but no joy. I'm starting with an absolutely clean
> slate. I'm running a freshly install
On Thu, Dec 17, 2009 at 7:50 PM, Sean Devlin wrote:
> Hey everyone,
> I just noticed that replicate's functionality is now duplicated by
> repeat. Should this function be deprecated?
>
> Sean
>
This was discussed before [1] as part of another issue [2], but I don't know
what happened to the sepa
tats.html
Uh oh, I *have *read that, and then forgot it at my peril. If Zed finds me
I'm a goner.
My main goal was to write the simplest thing to avoid manually typing
dotimes as people often do, and then the average slipped in there. Maybe I
should just take out the average to avoid tempt
> (time 10 (* 21 2))
"Elapsed time: 0.201 msecs, Average: 0.0201 msecs"
42
user>
Shawn
--
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 memb
On Fri, Oct 9, 2009 at 10:37 PM, Mark Tomko wrote:
> ; a returns a new similarity function that applies the provided
> transform function
> ; before comparing a pair of collections
> (defn make-coll-similarity-fn [coll-transform]
> (fn [coll1 coll2] coll-similarity [coll1 coll2 coll-transform]))
Works for me. Thanks!
On Thu, Oct 1, 2009 at 1:24 AM, David Miller wrote:
>
> Should be fixed in the latest commit.
> Any of the following will work.
>
>
> (System.Reflection.Assembly/Load "WindowsBase, Version=3.0.0.0,
> Culture=neutral, PublicKeyToken=31bf3856ad364e35")
> (import '(System.Wind
et;
>
> (a2) looks like:
>
> object obj2 = new Matrix();
>((Matrix) obj2).Scale(2.0, 3.0);
>return obj2;
>
> I need to make (a2) look like:
>
> Matrix obj2 = new Matrix();
>obj2.Scale(2.0, 3.0);
>return obj2;
>
>
> -David
>
>
>
On Wed, Sep 30, 2009 at 1:39 PM, John Harrop wrote:
> On Tue, Sep 29, 2009 at 7:21 PM, David Miller wrote:
>
>> Mono:
>> - One BigDecimal implementation away from getting serious about
>> this.
>
>
> Why doesn't Mono have a BigDecimal analogue? It shouldn't, in principle, be
> difficult to crea
Updates to local CLR struct instances seem to be lost as soon as they're
made. Is this expected? In the test below, function a2 returns the identity
matrix despite my attempt to scale it. Function a passes the newly
constructed matrix to another function to do the scaling, and it returns the
scaled
t;
I don't know of an official way to tell, but in the meantime it would be
pretty safe to check for the existence of a standard CLR class: (def
clojureclr (when (ns-resolve 'clojure.core 'System.AppDomain) true))
Shawn
--~--~-~--~~~---~--~~
You rece
On Wed, Sep 16, 2009 at 12:28 PM, Shawn Hoover wrote:
> I'm trying to run the celsius sample recently committed to ClojureCLR. It
> works fine when I run Clojure.Main from Visual Studio, but from a command
> line I get this:
> c:\Users\Shawn\clojure-clr\Clojure\Cloju
I'm trying to run the celsius sample recently committed to ClojureCLR. It
works fine when I run Clojure.Main from Visual Studio, but from a command
line I get this:
c:\Users\Shawn\clojure-clr\Clojure\Clojure.Main\bin\Debug
>Clojure.Main.exe
Clojure 1.1.0-alpha-SNAPSHOT
user=&
.NET host platforms.
>
Essentially, as Chouser noted, #"" and re-seq as currently defined in
Clojure get you pretty far as a portable API. However, unless the platforms
agree on literal regex syntax (they don't, beyond the basic "asdf|[0-9]+"
features) will prevent true p
bocopy
- Developers on XP could manually copy the files around as before
Shawn
--~--~-~--~~~---~--~~
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
On Wed, Jul 8, 2009 at 2:56 PM, Mani wrote:
>
> Thanks Shawn, Robert.
> From Robert's post, I am bit confused here. I also read that .emacs is
> in %appdata% folder (vista), but all I see is .emacs.d folder (which I
> guess is for the emacs server). I tried creating one
Sorry, the snippet author was Daniel Lyons. Here's a link to the other
thread:
http://groups.google.com/group/clojure/browse_thread/thread/6198db7d82610293
On Wed, Jul 8, 2009 at 2:14 PM, Shawn Hoover wrote:
> Oh, here's an example snippet I just saw from Daniel Lyon on another t
;-Dclojure.compile.path=/Users/
fusion/Projects/Languages/Clojure/classes"))
On Wed, Jul 8, 2009 at 2:02 PM, Shawn Hoover wrote:
>
> On Wed, Jul 8, 2009 at 2:55 AM, dumb me wrote:
>
>>
>> Hi All,
>>
>> I am a dumb around here. my first post among many to co
.introduction) or leave off code. or
code.examples. depending on what part you actually put on your classpath.
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send ema
o stuff with file
In Clojure this was made cleaner with a simple macro,
clojure.core/with-open. Usage:
(with-open [file (FileInputStream. "todo.txt"]
(do stuff with file))
You could write the macro yourself if it wasn't included. Programming
Clojure does a good job of explaining t
sulted in a massive slowdown. I haven't profiled
yet, but I plan to do so because I'm so surprised by the results.
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to thi
Another one: http://bitbucket.org/shoover/icfp. Like Jeff we had fun on the
VM but didn't get to post a solution :)
On Wed, Jul 1, 2009 at 1:34 AM, Jeff Foster wrote:
>
> I looked at the ICFP Contest too. I didn't even get as far as solving
> the first problem, but I did implement a virtual mach
have purposely set up a thread-local
binding in its current context). If you're updating multiple functions with
changes in their signatures or meaning, you have to be very careful. There
was an interesting query on the group [1] about the possibility of
supporting multiple versions of scripts by
finition of M, you have (F (M (dec n)). This is
returned in a fn, which is fine until it gets called. When called, the inner
M could return a fn, which gets passed to F, which assumes it's a number and
tries to use it in a subtraction operation.
Shawn
--~--~-~--~~~--
On Tue, Jun 2, 2009 at 9:52 AM, Michael Reid wrote:
>
> On Fri, May 29, 2009 at 2:51 PM, Paul Stadig wrote:
> > You meant to type disclosure, but instead you typed disclojure.
> >
> > Paul
> >
> How about when you try to write code in other languages, and
> reflexively place parentheses before f
On Mon, Jun 1, 2009 at 4:15 PM, Konrad Hinsen wrote:
>
> On 01.06.2009, at 19:57, David Miller wrote:
>
> > :> It'd be much easier to play with if you provide a precompiled
> > :> executable :)
> >
> > I thought about that. Adding assembilies of my code as a download is
> > easy enough. However
didn't realize I had to
pass arguments to the bootstrapcompiler. I recommend adding a note to
compile-run doc that you need command line arguments like "clojure.core
clojure.set clojure.zip clojure.main". Once I got that working, it spat out
dlls and subsequent startup went from about
On Tue, May 26, 2009 at 4:24 AM, hoeck wrote:
>
>
>
> On 20 Mai, 14:25, Shawn Hoover wrote:
> > I can't help with COM, but this patch might help slime automatically
> connect
> > to the REPL on Windows XP:
> http://bitbucket.org/shoover/clojure-box-swank-clo
On Wed, May 20, 2009 at 3:32 AM, hoeck wrote:
>
> i tried importing those two classes from a recent jacob with slime,
> xemacs and w2k and exactly the same is happening here. I have a
> similar problem when starting slime, my emacs blocks and doesn't start
> the repl until i evaluate some random
On Mon, May 11, 2009 at 7:13 PM, tarvydas
wrote:
>
> - Where does the output from println go? I put println's in the proxy
> callbacks, but I don't see the output in the slime repl nor in the
> *Messages* buffer (I know that the callbacks are working, because they
> also alter components of the g
On Fri, May 8, 2009 at 5:43 AM, Baishampayan Ghose wrote:
>
> Stephen C. Gilardi wrote:
>
> > I've simplified my .emacs file and clojure launch script to only what's
> > required for my slime setup to work with swank-clojure. With this
> > simplified setup, I confirmed that slime's repl works and
I was recently tipped off to this nascent project:
http://github.com/technomancy/clojure-http-client/tree/master
On Wed, May 6, 2009 at 8:34 PM, Eric Tschetter wrote:
>
> Last I checked the various clojure libraries, it seemed like noone has
> publicized a set of wrappers/clojure-native implemen
run M-x
slime-redirect-inferior-output it will go to your REPL. I haven't figured
out yet if something changed with swank-clojure lately to change that
behavior.
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
On Mon, Apr 27, 2009 at 3:08 AM, Baishampayan Ghose wrote:
>
> Phil,
> > It works for me. Are you trying to look up a built-in clojure function
> > or one from your own application? How did you install SLIME and
> > swank-clojure etc?
>
> It doesn't work for either. When I try looking up a clojure
My bitbucket contrib mirror is public again at
http://bitbucket.org/shoover/clojure-contrib-mirror. Thanks to bitbucket for
munging unrecognized email addresses per my request.
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I was wondering if anyone would ever need this functionality. Knock yourself
out. In retrospect a map is definitely the way to go.
Shawn
On Sun, Apr 5, 2009 at 12:36 PM, Stuart Halloway wrote:
> Don't work with the yucky properties API, just install a map of properties
> for the du
sm, objectivity, clarity of thought, and excellent design taste you
bring to the language and the community with no excuses or compromise are a
breath of fresh air. Thanks!
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
ntil we forget the next time. It would be great
to have tests to ensure the quality of those statements going forward, with
a side effect being examples of correct usage.
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
d was never changed into test. In addition, if
you evaluate another form like (defn hi [] :hi) test/hi will be available
for future evaluations. If you want to set the REPL package from your .clj
buffer, use C-c M-p (slime-repl-set-package).
Shawn
--~--~-~--~~~---~--~---
from Clojure, but I hadn't seen it in use in a project before. Your
implementation is great, and at 88 lines of mainly imports and tests it's a
great example of using Java (and clojure-contrib). Stringify the keys and
away you go!
Shawn
--~--~-~--~~~---~--~~
Y
e-mode automatically, but now
it's not, and I haven't added paredit itself. I'll make sure it's in the
next release, disabled so people don't freak out when C-d works differently
than they expect. I think that and a link to your tumblr post should do the
trick.
> Thanks fo
the path separator appropriate for your operating
system.
2. Try it with and without the trailing / on your strings that add to
swank-clojure-extra-classpaths. Both work on Windows, but I'm not sure if
other file systems are picky about that.
Shawn
--~--~-~--~~---
to reproduce this on my Windows box when I tried hacking in an
extra classpath to an already-running emacs that had already started slime.
It turns out the extra classpaths are only checked when swank is first
loaded and then the value is cached; I had to manually clear
slime-lisp-impleme
On Thu, Mar 12, 2009 at 5:13 PM, Meikel Brandmeyer wrote:
> Hi,
>
> Am 12.03.2009 um 22:08 schrieb levand:
>
> Seems like there's a bug here. All the digits less than 8 work. If
>> leading zeros aren't allowed, at least the behavior ought to be
>> consistent.
>>
>
> Leading zeros indicate octal,
e-off scripts.
>
I suggest taking a look at the clojure-contrib and swank-clojure sources.
They're both sizable projects that use several namespaces for organization.
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
private system. If
anyone's up for patching hgsvn, it may be as simple as rewriting
u...@example.com to "user ". I'll try that when I can.
Shawn
On Tue, Feb 24, 2009 at 9:46 AM, Konrad Hinsen wrote:
>
> There are a couple of mirrors of clojure-contrib out there, for e
On Sun, Mar 8, 2009 at 6:13 PM, Dan wrote:
>
> > I'm pretty sure structs are only appropriate for when you need to eek
> > the absolute last iota of performance out of a collection, in which case
> > they can provide greater speed than maps. But since the list of keys is
> > fixed, it means it's
le to open a database connection and do all of the good
> DB things, right?
>
Sure. Here's an example of some Java interop: http://clojure.org/jvm_hosted.
There's a Clojure interface to jdbc in the clojure-contrib project:
http://code.google.com/p/c
On Thu, Feb 26, 2009 at 11:11 AM, Peter Wolf wrote:
>
> Hey all,
>
> What is the idiomatic way to concatenate strings? Here are some things
> that I expected to work, but didn't
>
>(+ "foo" "bah")
>(conj "foo" "bah")
>(into "foo" "bah")
>
> For the moment I am doing
>
>(.concat "
On Thu, Feb 19, 2009 at 9:44 AM, Joshua wrote:
>
> Thanks, Ill see what I can do.
>
> Joshua
>
If you decide to pitch in, be sure to read http://clojure.org/contributing.
Discuss on this list before getting too far into something, to make sure the
direction is acceptable and that there's no dupl
On Wed, Feb 18, 2009 at 9:04 AM, Joshua Fox wrote:
> Try this book http://www.pragprog.com/titles/shcloj/programming-clojure
>
Agreed, that book is a good introduction to Lisp and Clojure for programmers
from other backgrounds, as are the Clojure for Java Programmers screencasts
at http://clojur
ojure/contrib/test_clojure/main.clj?spec=svn471&r=467
.
Shawn
--~--~-~--~~~---~--~~
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
To unsubscr
On Sat, Feb 14, 2009 at 5:44 PM, James Reeves wrote:
>
> On Feb 14, 5:30 pm, Dan wrote:
> > What about making the file an agent and sending write actions to it?
>
> I don't see how that would solve the problem, unless you're suggesting
> that I have a single agent to handle all reads and writes?
On Wed, Feb 11, 2009 at 3:10 PM, Harrison Maseko wrote:
>
> Hi everyone,
> I just downloaded Clojure Box today and tried to run the example found
> at http://clojure.org/jvm_hosted and I get the error below. What is
> the problem?
> Harrison
>
> java.lang.Exception: Unable to resolve symbol: setL
of compiling clojure.examples.hello, the compiler will
look for a file clojure/examples/hello.clj on the classpath, meaning your
java -cp or (in emacs) swank-clojure-extra-classpath should include the
directory above clojure/.
Hope this helps,
Shawn
--~--~-~--~~~---~--~--
On Tue, Feb 10, 2009 at 10:07 AM, Lennart Staflin wrote:
>
>
>
> On Feb 10, 2:45 pm, Tzach wrote:
>
> > I got "error in process filter: Wrong number of arguments: nil, 3".
> > What am I missing here?
>
> Are you using Emacs with slime?
>
>
Psychic debugging skills in action :)
--~--~-~--
On Sun, Feb 8, 2009 at 12:23 PM, Anand Patil <
anand.prabhakar.pa...@gmail.com> wrote:
>
> Hello again,
>
> In my application, I'll frequently want to quickly discard all the
> changes made during a transaction involving many refs. I don't want to
> force the refs to roll back to their values at t
On Fri, Feb 6, 2009 at 1:19 PM, Konrad Hinsen wrote:
>
> The doc string of apply says:
>
>([f args* argseq])
>"Applies fn f to the argument list formed by prepending args to
> argseq."
>
> This looks like I could pass in several argument PLUS one sequence of
> arguments, which just
f.java stopped calling
UUID.randomUUID. I had to patch swank-clojure like this to work around it:
http://bitbucket.org/shoover/clojure-box-swank-clojuremq/src/11bec919b978/hack-repl-hang
The current release of Clojure Box (http://clojure.bighugh.com) contains
that change.
Shawn
--~--~-~-
ojure
Now if only Chouser will join the fun and correct all of my misinformation
and omissions...
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send e
On Wed, Jan 28, 2009 at 4:36 PM, Stephen C. Gilardi wrote:
>
> On Jan 28, 2009, at 10:17 AM, Christian Vest Hansen wrote:
>
> Or replicate could go away.
>
> More likely, I think one of them could take multiple arities and make
> the other obsolete.
>
>
> I like "repeat" with multiple arities and
On Wed, Jan 28, 2009 at 11:18 AM, Frantisek Sodomka wrote:
>
> Shawn, I keep wondering where is the best place to put tests for bug fixes.
> One way would be to create a separate file (bugs.clj) and put all these
> tests there. Another way is to include these tests into thei
d map seem to
blur that line.
Shawn
--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send em
fit this into Stuart
Halloway's recent test_clojure build target)
agents: handle OOM in agent r1198
sequences: pmap regression;
- vectors equal other seqs by items equality r1208
I will post patches to issues separated by topic. I appreciate any feedback
on the concepts
ll. Should
test contributions follow the procedure of group discussion, then file an
issue, then post a patch? If so, what would you like to know about the
patch(es)?
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
(concat [(first split)] []
>
> (doseq [x (line-split " Hello world! ")] (println (format "\"%s\""
> x)))
>
Hi Morten,
When you call line-split with (rest split), you're passing a Clojure
sequence of characters, not a string. Then
ates subdirs, but not *compile-path* itself.
>
You're welcome!
Clojure developers, would it be a good idea for Compiler.java or
clojure.core/compile to check if *compile-path* exists, else throw an
exception specific to that problem?
Shawn
--~--~-~--~~~---~--~-
foo [] true), and the compilation
> still crashes on this line.
>
Are your files still called package1/foo.clj and package2/bar.clj? If so you
would need to (compile 'package1.foo) and (compile 'package2.bar).
Also, make sure the directory named by *compile-path* ex
xe from the command line or as an editor
for a program like subversion, the file to edit will pop up in the Clojure
Box and you can use C-x #. Does that help?
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&quo
7;t find where swank-clojure implements the interrupt functionality.
If that's the case, you're left with killing the REPL buffer (C-x k) and
restarting it (M-x slime).
Shawn
--~--~-~--~~~---~--~~
You received this message because you are subscr
1 - 100 of 127 matches
Mail list logo