btw, have you seen https://github.com/jduey/protocol-monads ?
Marek
On Thursday, February 7, 2013 1:06:39 AM UTC+1, Armando Blancas wrote:
>
> Morph is a new implementation of monads based on protocols. It's intended
> to provide the common patterns of error-handling, short-circuit sequencing,
The most simple thing would be to change the default value of *read-eval*
to false...
Marek
On Wednesday, January 30, 2013 8:02:54 AM UTC+1, Takahiro Hozumi wrote:
>
> As more and more projects are using edn format for config,
> communication and etc, I think that default value of *read-eval*,
On Saturday, January 19, 2013 8:56:28 PM UTC+1, Andy Fingerhut wrote:
>
> Irakli:
>
> I am curious about the possibility of auto-creating patches from git pull
> requests, in case that would bridge the divide between people that would
> prefer submitting pull requests, and Clojure screeners tha
The url is https://groups.google.com/forum/#!forum/numerical-clojure
Marek
On Friday, January 11, 2013 10:41:58 AM UTC+1, Shantanu Kumar wrote:
>
> Hi Mike,
>
> Could you please share the discussion group URL?
>
> Shantanu
>
> On Jan 11, 9:12 am, Mikera wrote:
> > Hello everybody,
> >
> >
I found CLJ-1060 [1] and added there a patch with Cons implementing
IPersistentList and (apply list args) in one-argument case of list*.
Marek
[1] http://dev.clojure.org/jira/browse/CLJ-1060
On Wednesday, December 26, 2012 9:35:25 PM UTC+1, Marek Šrank wrote:
>
> function list* doesn
ure/clojurescript/commit/88b36c177ebd1bb49dbd874a9d13652fd1de4027
>
> It looks like the only thing missing to make Cons implement
> IPersistentList is IPersistentStack. Why not implement it?
>
> On Wednesday, December 26, 2012 4:13:38 PM UTC-6, Ben wrote:
>>
>> On Wed,
function list* doesn't return a list, because it uses 'cons' under the hood:
(list? (list* 1 2 3 '()))
;=> false
(class (list* 1 2 3 '()))
;=> clojure.lang.Cons
...however, its docstring says: "Creates a new list containing the items
prepended to the rest, the last of which will be treated as a
...which should be also a lot faster :)
On Saturday, December 15, 2012 5:44:01 PM UTC+1, Armando Blancas wrote:
>
> (comp (partial apply str) (partial filter #{\a}))
>>
>
> Or, (comp join (partial filter #{\a}))
>
>
--
You received this message because you are subscribed to the Google
Groups "
Btw, seems that Rich won't allow sharing his videos by
ourselves: https://twitter.com/richhickey/status/279414741582114817 , but
he's going to find an alternate location where to put them, so it should be
all okay then :)
Marek.
On Friday, December 14, 2012 2:20:09 PM UTC+1, Marek Š
On Friday, December 14, 2012 12:32:17 PM UTC+1, Marek Šrank wrote:
>
> While they are not on http://blip.tv/clojure , I was able to google them:
> https://google.com/search?q=site:blip.tv/clojure - all the links are
> here: http://is.gd/clojure_blip_videos
>
> In the process I als
While they are not on http://blip.tv/clojure , I was able to google
them: https://google.com/search?q=site:blip.tv/clojure - all the links are
here: http://is.gd/clojure_blip_videos
In the process I also found the rss channel http://blip.tv/clojure/rss
which has direct links to the files (espec
> Just tried, my first foray into reducers, but I must not be understanding
> something correctly:
>
> (time (r/map burn (doall (range 4
>
> returns in less than a second on my macbook pro, whereas
>
> (time (doall (map burn (range 4
>
> takes nearly a minute.
>
> This feels lik
+1
On Saturday, December 1, 2012 6:38:54 PM UTC+1, Andy Fingerhut wrote:
>
> I don't have suggestions for the best names for these new things, but one
> good example in the doc string would go a long way to making it clearer
> what they *do* and how they are intended to be used. The doc strings
Yep, leiningen now doesn't create -main function in the default template
Marek.
On Wednesday, November 14, 2012 8:40:20 PM UTC+1, Alec Ramsay wrote:
>
> My bad: I did not have (defn -main[] (...)) defined.
>
>
> On Wednesday, November 14, 2012 7:42:20 AM UTC-8, Alec Ramsay wrote:
>>
>> Thanks
I also had the same issue some time ago and it was caused by incorrect
using of dash ('-') vs. underscore ('_') in project/namespace name... I
don't remember what concretely was wrong, but you at least can try all
possibilities
Also, are you using gen-class ?
Marek.
On Wednesday, November
At the wiki: https://github.com/clojure/core.match/wiki :-)
Marek.
On Sunday, November 4, 2012 11:03:40 PM UTC+1, Vladimir Tsichevski wrote:
>
> Hi Moritz,
>
> this looks promising. Do you know where can I get any
> documentation/examples for this module?
>
> Regards,
> Vladimir
>
> On Monday, N
These are my results using (dotimes (time (dotimes ...))) combo to get
consistent results:
- on sets:
(dotimes [i 10] (time (dotimes [j 100] (into #{} (range 1e4)
"Elapsed time: 388.595226 msecs"
"Elapsed time: 406.666801 msecs"
"Elapsed time: 421.559753 msecs"
"Elapsed time: 444.719263 mse
Oh yes, I've found the commit
https://github.com/clojure/clojure/commit/728972b026a323fc941a5d560b81d37453dc6cad
. I should look at the commits first
Marek.
On Saturday, October 27, 2012 10:26:22 PM UTC+2, Marek Šrank wrote:
>
> Please ignore that github link. I some
Please ignore that github link. I somehow got the feeling that it's about a
bug in leiningen (really don't know why :), but now I see that it's
(probably) totally unrelated :D
Marek
On Saturday, October 27, 2012 10:20:34 PM UTC+2, Marek Šrank wrote:
>
> When using [org.c
When using [org.clojure/clojure "1.5.0-beta1"] in my project.clj, calling:
(doc function) gives me this exception:
CompilerException java.lang.RuntimeException: Unable to resolve symbol: doc
in this context, compiling:(NO_SOURCE_PATH:1:1)
And similarly with find-doc, source, javadoc and clojure
20 matches
Mail list logo