Dear Marko Topolnik
You are right, it's correct when I upgrade to leiningen213, and no
these warning messages, thank you again!
On Wednesday, April 17, 2013 9:04:18 AM UTC+8, ljcp...@gmail.com wrote:
>
> Dear all,
>
> When I installed leiningen and clojure, I run command "lein repl",
On Wednesday, April 17, 2013 7:23:32 PM UTC+8, Marko Topolnik wrote:
>
> Seems like old leiningen + new Clojure. You should upgrade to the latest
> leiningen, which is 2.1.3.
>
> On Wednesday, April 17, 2013 3:04:18 AM UTC+2, ljcp...@gmail.com wrote:
>>
>> Dear all,
>>
>> When I installed le
On Thursday, April 18, 2013 6:19:26 PM UTC-4, Tassilo Horn wrote:
>
>
>
> That's how docs generated with the plugin look like:
>
> http://userpages.uni-koblenz.de/~horn/funnyqt-docs/
>
>
Nice, Tassilo!
Incidentally, it looks like most of the doc strings there are pretty-much
markdown-formatte
Hi Josh, you should post Ring-related questions here:
https://groups.google.com/forum/?fromgroups#!forum/ring-clojure
To answer your question, it's hard to say without seeing your code. In
fact, I'm having a hard time reproducing the problem without explicitly
telling ring to serve an HTML file
Firstly, :import in ClojureScript only supports symbols as libspecs,
so you'd need to write
(:import goog.ui.Button)
(foo Bar Quux) support could be added easily, but currently
ClojureScript's ns form doesn't support the equivalents for :require
and :use, to it makes sense to expect full names
Hi all,
I've just released version 2.0.0 of the lein-html5-docs plugin. Since
version 1.2.3, I've slightly refactored some parts of the code (but it's
still messy), and I have added one new killer feature: *SEARCH*! Yay!
That's how docs generated with the plugin look like:
http://userpages.un
Hi there ;
Please help. How do i set the ContentType header in a
(ring.util.resouce/resource-response ) ?
I am serving html file and its being served as plain text.
Josh
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, sen
Hmm, I'm stuck again. :)
I don't know why, but it seems that building the project with *
lein-cljsbuild* does not accept :import. Here's the code:
(ns habarnam
(:use [domina :only [xpath]])
(:import [goog.ui [Button]])
And here's the compilation error:
Compiling ClojureScript.
Compiling
A few more:
- Slamhound https://github.com/technomancy/slamhound
- Eastwood https://github.com/jonase/eastwood
- Here's an emacs lisp refactoring mode:
https://github.com/magnars/clj-refactor.el
- This one is out of date but maybe useful to you:
https://github.com/joodie/clojure-refactoring
--
Looks nice!
Alan
On Mon, Apr 15, 2013 at 12:40 PM, Anthony Grimes wrote:
> You had me at the changelog entry regarding Sundays.
>
> I was actually tasked with writing pretty much this at work last Friday.
> My thanks for doing my work for me. Unfortunately I don't think you will be
> paid for yo
(for [[y cols] (map-indexed vector rows)
[x cell] (map-indexed vector cols)]
(display cell y x))
?
On Thursday, April 18, 2013 3:14:19 AM UTC-7, edw...@kenworthy.info wrote:
>
> So, I want a 2 dimensional array.
>
> I think the best way to implement this is a vector of vectors.
>
> Now I
1) Your signature has to match your java method,
(Foo/bar (byte 1)) will work.
2) There's been a long thread about this. People wanted ints and longs to
have a similar behavior and match whatever signature is available when
doing
interop.
When passing (Long. 1), interop tries t
Michael,
There are some pre-existing libraries that could give you a headstart in
this work :-
tools.reader - can help you parse Clojure source -
https://github.com/clojure/tools.reader
tools.namespace can help you parse and manage graphs of namespaces -
https://github.com/clojure/tools.name
1)
public class Foo {
public static String bar(byte b) {
return "byte";
}
}
user=> (Foo/bar 1)
"byte"
public class Foo {
public static String bar(byte b) {
return "byte";
}
public static String bar(Thread thread) {
return "thread";
}
}
user=> (Foo/bar 1)
IllegalArgument
Check it out, please support it if you think it has potential...
http://www.indiegogo.com/projects/combimouse-combination-keyboard-and-mouse?c=home
--
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googl
Thank you for your explanation. I also suspect there is some subtle
issue with the class file being used by the different constructors.
However, I would be surprised if this behaviour is intended, and that
the 'hackery' you proposed is the only, and prefered way of solving this.
To better illust
I guess extend-type does changes only to generated java class and the var
defrecordissue.arecord->ARecord
contains the 'old' version of ARecord constructor. Obviously it would be
weird for defprotocol to change the variable in another namespace.
Especially when you can extend a record from anyw
writes:
> Hello, I'm doing a school paper on Clojure but there are two questions that
> i just can't find answers to anywhere they are:
>
>
> Are data types bound to variables and parameters at compile-time? run-time? a
> combination?
>
> and also,
>
> How are parameters passed? (Pass by value?
Anyway, nice to see that somebody is doing some work in that direction... :)
Marek
On Wednesday, April 17, 2013 8:10:37 PM UTC+2, Ghadi Shayban wrote:
>
> Brandon,
> Not really, but I don't want to deter anyone from exploration as its own
> goal. There are a lot of interesting ways that Clojure
So, I want a 2 dimensional array.
I think the best way to implement this is a vector of vectors.
Now I want to display that array drawing each element relative to its
position in the array.
Is the best way to use doseq and manually maintain the indices? Or is it to
use nested for-loops manuall
Hi,
I'm Damian Skrodzki and I study at Gdańsk University of Technology. I don't
know Clojure yet - I have academic experiance with Lisp. I sow the lecture
about Clojure at 33rd Degree conference in Warsaw and I really liked it. I
really would like to participate in Clojure development.
I feel
I use a mongodb which use sharding, so I connect to mongos.
but when I query like:
(fetch :locations)
NullPointerException com.mongodb.DBCursor._check (DBCursor.java:365)
there is error
if the use (fetch :locations :one? true) it works.
anyone know what is going on? I use version [congomong
I use a mongodb which use sharding, so I connect to mongos.
but when I query like:
(fetch :locations)
NullPointerException com.mongodb.DBCursor._check (DBCursor.java:365)
there is error
if the use (fetch :locations :one? true) it works.
anyone know what is going on? I use version [congomong
https://github.com/Raynes/least
I wrote this a little while ago. My intentions are to make use of it in
lazybot for some last.fm integration. Haven't actually done that yet
(tomorrow is another wonderful day) so it hasn't seen real world use. If
you find any boogs, shoot me an issue on Github.
Some fun facts:
1. You could probably get a full history of Hacker News by carefully
crawling the HNSearch API[0]. Chronically crawling the new page for links
would allow you to stay in synch with Hacker News proper, and a monthly
refresh of the data would probably be smart to hit anything you m
25 matches
Mail list logo