On Feb 1, 6:10 pm, "Matthew D. Swank"
wrote:
> AFAIK clojure-clr doesn't have built-in support for accessing
> properties.
Ok David Miller let me know off list the existing interop handle
properties.
--
You received this message because you are subscribed to the Google
G
AFAIK clojure-clr doesn't have built-in support for accessing
properties. Something like this has probably been posted before, but
I've been playing with Windows.Forms, and I found the following
useful.
(import '(System Type Array Exception)
'(System.Reflection PropertyInfo MethodInfo))
(
Given the recent dust-up on c.l.l about the platform independence of
clojure, I was wondering anyone was still hacking on the CLR code
base. The stuff in contrib doesn't seem to have changed since it was
checked in February.
Matt
--~--~-~--~~~---~--~~
You received
in clojure.contrib.monad expressions handling conditions in the monad
comprehension are generated by:
(defn- add-monad-step
"Add a monad comprehension step before the already transformed
monad comprehension expression mexpr."
[mexpr step]
(let [[bform expr] step]
(if (identical? bform
On Oct 30, 8:57 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Oct 29, 6:27 pm, ccahoon <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I'm wondering what would be a good way to represent a mincut, maximum
> > flow problem in Clojure. A set of weighted edges makes sense to me,
> > but I am not sure
Are people going to ILC this spring? Rich, do you have any plans to do
anything Clojure related there?
Matt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to clojur
On Oct 26, 7:47 pm, verec <[EMAIL PROTECTED]>
wrote:
> Even us in OS X
> land have had access to 1.6 for nearly as long as clojure has been
> made public :-)
> --
> JFB
Not if you are using OS-X on a PPC mac.
Matt
--~--~-~--~~~---~--~~
You received this message be
On Oct 23, 8:12 am, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Oct 22, 6:45 pm, André Thieme <[EMAIL PROTECTED]> wrote:
>
> > On 23 Okt., 00:28, wwmorgan <[EMAIL PROTECTED]> wrote:
>
> > > You can get most of the functionality you're looking for with partial
>
> > Yes sure. The thing is that curr
It's a small thing, but all the other basic types have dedicated
predicates.
character-p-patch adds this.
Matt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Clojure" group.
To post to this group, send email to cl
Keywords are like symbols, except:
o They can and must begin with a colon, e.g. :fred.
o They cannot contain '.' or name classes.
The last requirement does not seem to be enforced by the reader:
user> (keyword? :java.lang.Character)
true
user> (keyword? :Character)
true
user>
So, I'm trying to clear up some flow control issues in my head, and I
want to confirm that my thinking is at least in the right direction.
Let's say I implement a very simple restart facility with the
following style:
(def current-handler)
(def current-restart nil)
In some code I want to handle
On Oct 14, 6:35 pm, "Matthew D. Swank" <[EMAIL PROTECTED]>
wrote:
> On Oct 14, 4:48 pm, Randall R Schulz <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Tuesday 14 October 2008 14:17, Matthew D. Swank wrote:
>
> > > Just a data-point:
> > > O
On Oct 15, 10:45 am, "Matthew D. Swank" <[EMAIL PROTECTED]>
wrote:
> Picking the abort restart in the slime debugging window causes an
> exception:
> java.lang.NoClassDefFoundError: swank/core/DebugQuitException
> (NO_SOURCE_FILE:0)
> [Thrown class clojure.
Picking the abort restart in the slime debugging window causes an
exception:
java.lang.NoClassDefFoundError: swank/core/DebugQuitException
(NO_SOURCE_FILE:0)
[Thrown class clojure.lang.Compiler$CompilerException]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [CAUSE] Throw cause of this
On Oct 15, 6:47 am, "Fredrik Appelberg" <[EMAIL PROTECTED]>
wrote:
> On Tue, Oct 14, 2008 at 9:49 PM, Matthew D. Swank <
>
>
>
> [EMAIL PROTECTED]> wrote:
>
> > swank-clojure seems to work fine; it just seems that java is ignoring
> > 's
On Oct 14, 4:48 pm, Randall R Schulz <[EMAIL PROTECTED]> wrote:
> On Tuesday 14 October 2008 14:17, Matthew D. Swank wrote:
>
> > Just a data-point:
> > OS: Windows-XP
> > CPU: Pentium-IV 2.8 Ghz
> > Mem: 504 MB
>
> > JDK:1.6u10rc
>
> > Sta
Just a data-point:
OS: Windows-XP
CPU: Pentium-IV 2.8 Ghz
Mem: 504 MB
JDK:1.6u10rc
Startup time of swank-clojure rev. 1064: 6 s.
Startup time of swank-clojure rev. 1068: 120 s!
When I get home, I can see if the difference is as dramatic in Linux
x68_64 and OS-X PPC32.
--~--~-~--~~--
swank-clojure seems to work fine; it just seems that java is ignoring
'swank-clojure-extra-classpaths.
in slime:
user> (require 'clojure.contrib.zip-filter)
java.io.FileNotFoundException: Could not locate Clojure resource on
classpath: clojure/contrib/zip_filter/zip_filter.clj (NO_SOURCE_FILE:
0
On Oct 14, 1:09 pm, Rich Hickey <[EMAIL PROTECTED]> wrote:
> On Oct 14, 1:55 pm, "Paul Stadig" <[EMAIL PROTECTED]> wrote:
>
> > I'm getting the following error message when trying to load a 12MB clojure
> > file that is basically just a big hashmap of fundamental types (i.e.
> > strings, numbers
On Oct 7, 12:32 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote:
> On Oct 7, 2008, at 1:21 AM, Matthew D. Swank wrote:
...
> Here's a similar question and answer from the list archive that
> includes a cool tip for seeing the effect of reader macros:
>
>
This seems strange:
(with-meta :foo {:type 'id})
causes:
java.lang.IncompatibleClassChangeError (NO_SOURCE_FILE:0)
[Thrown class clojure.lang.Compiler$CompilerException]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [CAUSE] Throw cause of this exception
Backtrace:
0: clojure.lang.C
Typing #(nil) at a repl gives me:
java.lang.NullPointerException (NO_SOURCE_FILE:1)
[Thrown class clojure.lang.Compiler$CompilerException]
Restarts:
0: [ABORT] Return to SLIME's top level.
1: [CAUSE] Throw cause of this exception
Backtrace:
0: clojure.lang.Compiler.analyzeSeq(Compiler.ja
In the *inferior-lisp* after typing a form:
Exception in thread "Read Loop Thread" java.lang.RuntimeException:
clojure.lang.LispReader$ReaderException: java.lang.Exception: Invalid
token: swank::*load-path*
at clojure.lang.AFn.run(AFn.java:42)
at java.lang.Thread.run(Thread.java:
On Oct 5, 12:12 am, "Matthew D. Swank" <[EMAIL PROTECTED]>
wrote:
> I thinks there is a happy medium in there somewhere.
Evidently I'm Smeagol: which, by the way, would be a wonderful name
for a programming language.
Matt
--~--~-~--~~~---~--
On Oct 4, 2:54 pm, Stuart Sierra <[EMAIL PROTECTED]> wrote:
> On Oct 3, 11:06 pm, "Matthew D. Swank" <[EMAIL PROTECTED]>
> wrote:
>
> > I Googled a bit, but I was wondering if anyone here had any
> > recommendations.
...
> Hi Matt,
>
I Googled a bit, but I was wondering if anyone here had any
recommendations. I am somewhat familiar with the .NET and the CLR.
However I am pretty green on the JVM operations and semantics, and the
various tools and platforms that make development and deployment go
along swimmingly.
Thanks,
Mat
26 matches
Mail list logo