Just trying to understand the issues/solutions for the (de-)serializing of
clojure data structures…
With the tag literal support of 1.4+, is that kind of the idiomatic way of the
future to structure protocols for serialized clojure data/code?
When you say that Nippy is much faster than the read
That worked. Thanks.
On Thu, Jul 5, 2012 at 8:50 AM, Mark Rathwell wrote:
> My guess on this is that you need PowerShell 2.0, just a guess though.
> It can be download as a part of this package:
>
> http://www.microsoft.com/en-us/download/details.aspx?id=16818
>
>
> On Thu, Jul 5, 2012 at 10:21
Hey folks,
In case you missed it via other channels, the Light Table Playground
can now hook into your own projects!
http://www.chris-granger.com/2012/07/09/light-table-playgrounds-level-up/
Take her for a spin :D
Cheers,
Chris.
--
You received this message because you are subscribed to the G
On 2012-07-09 18:07 , "Herwig Hochleitner" wrote:
>> (I had written):
>> So is there a way to do it cleaner without resorting to using the
>> map/implementation (detail) form of protocol extension?
>
>Currently, there is no way to get the implementing fns for a
>type-protocol point. I doubt the
On Wednesday, June 20, 2012 11:07:16 PM UTC-5, Jack Moffitt wrote:
>
> > So taking up the task of insuring correctness/consistency but leaving
> aside
> > static typing as is typically practiced. How can we best catch errors
> and
> > inconsistencies in our code before our end users do? How
>
> So is there a way to do it cleaner without resorting to using the
> map/implementation (detail) form of protocol extension?
>
Currently, there is no way to get the implementing fns for a type-protocol
point. I doubt there will be soon, since clojure compiles implementations
in a deftype/record
Hi,
There is also a package for Ubuntu if you wish to install it that way:
sudo apt-get install libgc-dev
Will be keeping an eye on this one :)
Nelo Onyiah
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to cloj
Assume we want to memoize a function that is part of a protocol extended
to some user-defined record, like so:
(defprotocol SomeOps (someop [_]))
(defrecord AImp [x] SomeOps (someop [me] (comment magic here)))
one quite heavy-weight way of doing is includes a couple of indirections:
(defn ^:priv
On Mon, Jul 9, 2012 at 6:58 PM, Paul Stadig wrote:
> On Mon, Jul 9, 2012 at 12:12 PM, Paul Stadig wrote:
>> On Mon, Jul 9, 2012 at 12:07 PM, Mark Probst wrote:
>>> Yes. I'm sorry I forgot to mention that. Please let me know if it
>>> works and I'll update the README.
>>
>> It works with lein2.
On Mon, Jul 9, 2012 at 12:12 PM, Paul Stadig wrote:
> On Mon, Jul 9, 2012 at 12:07 PM, Mark Probst wrote:
>> Yes. I'm sorry I forgot to mention that. Please let me know if it
>> works and I'll update the README.
>
> It works with lein2. The tests are running now, but there are some
> failures.
On Jul 9, 4:11 pm, Mark Probst wrote:
> On Mon, Jul 9, 2012 at 4:05 PM, Paulo Pinto wrote:
> > A question that I also mentioned on the HN thread, any idea to bypass
> > C and
> > compile directly to native, for example via LLVM?
>
> No particular plans. Why would you prefer that?
>
> Mark
I w
On Mon, Jul 9, 2012 at 12:07 PM, Mark Probst wrote:
> Yes. I'm sorry I forgot to mention that. Please let me know if it
> works and I'll update the README.
It works with lein2. The tests are running now, but there are some
failures. I'll keep poking at it.
Thanks!
Paul
--
You received this m
On Mon, Jul 9, 2012 at 6:05 PM, Paul Stadig wrote:
> On Mon, Jul 9, 2012 at 11:50 AM, Mark Probst wrote:
>> On Mon, Jul 9, 2012 at 5:47 PM, Paul Stadig wrote:
>>> I checked out the code and followed the instructions to setup glib2
>>> and the GC. When I run `lein test` "I get Exception in thread
On Mon, Jul 9, 2012 at 11:50 AM, Mark Probst wrote:
> On Mon, Jul 9, 2012 at 5:47 PM, Paul Stadig wrote:
>> I checked out the code and followed the instructions to setup glib2
>> and the GC. When I run `lein test` "I get Exception in thread "main"
>> java.io.FileNotFoundException: Could not locat
On Mon, Jul 9, 2012 at 5:47 PM, Paul Stadig wrote:
> I checked out the code and followed the instructions to setup glib2
> and the GC. When I run `lein test` "I get Exception in thread "main"
> java.io.FileNotFoundException: Could not locate clojurec/
> core__init.class or clojurec/core.clj on cla
Mark,
This looks interesting. Thanks for working on this.
I checked out the code and followed the instructions to setup glib2
and the GC. When I run `lein test` "I get Exception in thread "main"
java.io.FileNotFoundException: Could not locate clojurec/
core__init.class or clojurec/core.clj on cla
On Mon, Jul 9, 2012 at 4:44 PM, Timothy Baldridge wrote:
>> No particular plans. Why would you prefer that?
>
> Simplicity for one thing, self hosting for another.
Self-hosting is orthogonal to this question. In principle one can
make the ClojureC compile run on ClojureC and be self-hosting.
>
> No particular plans. Why would you prefer that?
Simplicity for one thing, self hosting for another. This is the
problem I see with a project like this:
1) My macros are written in Clojure for the JVM, my code is written in
Clojure for C
2) My code path is then ClojureScript->JVM Macros->C->GCC
On Sun, Jul 8, 2012 at 1:47 AM, Pierre-Henry Perret wrote:
>
> Using clojure.java.io/copy I get the following output:
>
> ___
> Exception in thread "main" java.io.FileNotFoundException:
> .lein-git-deps\project\cljs-src (Access denied) (NO_SOURCE_FILE:0
>
>
> The sourc
On Sun, Jul 8, 2012 at 4:47 AM, Pierre-Henry Perret wrote:
>
> Using clojure.java.io/copy I get the following output:
>
> ___
> Exception in thread "main" java.io.FileNotFoundException:
> .lein-git-deps\project\cljs-src (Access denied) (NO_SOURCE_FILE:0
>
>
> The sourc
On Mon, Jul 9, 2012 at 4:05 PM, Paulo Pinto wrote:
> A question that I also mentioned on the HN thread, any idea to bypass
> C and
> compile directly to native, for example via LLVM?
No particular plans. Why would you prefer that?
Mark
--
You received this message because you are subscribed t
On Jul 9, 1:03 pm, Mark Probst wrote:
> Dear Clojurians,
>
> I'm excited to announce ClojureC, an effort to produce a Clojure
> implementation that targets C:
>
> https://github.com/schani/clojurec
>
> My personal goals with this are to be able to write self-contained
> (command-line) Clojure p
> I'm excited to announce ClojureC, an effort to produce a Clojure
> implementation that targets C:
>
> https://github.com/schani/clojurec
>
> My personal goals with this are to be able to write self-contained
> (command-line) Clojure programs that have (essentially) zero start-up time,
> as well
Dear Clojurians,
I'm excited to announce ClojureC, an effort to produce a Clojure
implementation that targets C:
https://github.com/schani/clojurec
My personal goals with this are to be able to write self-contained
(command-line) Clojure programs that have (essentially) zero start-up time,
Tassilo Horn writes:
> I think, you are looking for `realized?`. Here's a function for
> creating a vector of realized elements of a lazy seq.
>
> user> (defn realized-vec [s]
> (loop [s s, r []]
> (if (and (seq s) (realized? (rest s)))
> (recur (rest s) (conj r (first
25 matches
Mail list logo