I wrote a functional Lisp in Clojure. Come have a look

2015-05-04 Thread eduardoejp
The language is called Lux and it's inspired by Clojure, Haskell ML https://github.com/LuxLang/lux -- 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

Re: I wrote a functional Lisp in Clojure. Come have a look

2015-05-04 Thread eduardoejp
Shen is definitely a language I'm checking out! It's sequent-calculus approach to types is really innovative and I'm a fan of the work of Dr. Mark Tarver. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to

Re: The :type key is not printed in metadata.

2014-01-21 Thread eduardoejp
i know it's special, but I don't see why that has to affect printing/serializing. What if I typed a map using :type, then wanted to save it as text somewhere and get it again? After I've read it back, it's no longer typed and whatever code was expecting it no longer works. There's also my

The :type key is not printed in metadata.

2014-01-20 Thread eduardoejp
(set! *print-meta* true) (pr-str (with-meta {} {:type :foo})) {} (pr-str (with-meta {} {:class :foo})) ^{:class :foo} {} Is that how it's supposed to be? I find that behavior weird and troublesome for those wanting to use the :type key when serializing data (like me). -- -- You received

core.async doesn't handle metadata well in the code you give it.

2014-01-09 Thread eduardoejp
Try this at your REPL: (meta (let [x 10] ^:yolo {:val x})) = {:yolo true} (meta (!! (let [x 10] (go ^:yolo {:val x} = nil -- -- 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

java.lang.IndexOutOfBoundsException when calling namespaced functions inside the 'go macro in core.async

2013-08-20 Thread eduardoejp
Hi, y'all. I'm having trouble with core.async in ClojureScript. Inside 'let forms in 'go blocks, making calls to namespaced functions causes the compiler to die with an IndexOutOfBoundsException. For example: (ns my-ns (:require [bar])) (go (let [foo (bar/baz 1 2 3)] (.log js/console

Re: java.lang.IndexOutOfBoundsException when calling namespaced functions inside the 'go macro in core.async

2013-08-20 Thread eduardoejp
Sorry, I meant: (go (let [foo (! (bar/baz 1 2 3))] (.log js/console foo))) I also sometimes get the following error: clojure.lang.ExceptionInfo: clojure.lang.Namespace cannot be cast to clojure.lang.Named at line 26 src/foo/bar/baz.cljs -- -- You received this message because you are

Re: Jormungandr: Prototype-based OO on top of functions

2013-02-12 Thread eduardoejp
I wonder what are the specific advantages of putting the objects first / making them functions? There wasn't any specific advantage. I did it because I could and I thought it was an interesting approach. I didn't just want to create Yet-Another-OO-System. I wanted it to be different.

Re: Jormungandr: Prototype-based OO on top of functions

2013-02-11 Thread eduardoejp
Hi, Mikera. Thanks for the feedback, it was a very interesting read. Nice, I have been looking for something like this to experiment with. Glad to see someone else who likes to experiment with weird code :P However, I must admit that I made it mainly as a toy project, with no serious intent

Jormungandr: Prototype-based OO on top of functions

2013-02-10 Thread eduardoejp
Just a simple toy project I made moments ago... https://github.com/eduardoejp/jormungandr -- -- 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 moderated

Are there any dominican Clojure hackers around?

2013-02-10 Thread eduardoejp
I'm the only dominican Clojure dev I know, since Clojure isn't a very popular language over here... I'd like to meet other dominican clojurians and see if we could maybe start our own group. I'm specially interested in meeting clojurians in the city of Santo Domingo. -- -- You received this

Re: ANN: http-kit 2.0.0.RC2, high performance HTTP Server Client for Clojure

2013-02-10 Thread eduardoejp
http-kit seems to me to be as bad-ass as you can get. -- -- 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 moderated - please be patient with your first

Re: New Clojurescript Project: browsing the web collectively.

2012-12-26 Thread eduardoejp
Looks awesome, man. Finally someone gets social right. Good luck. -- 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 moderated - please be patient with your

[ANN] Clojure JSR 223 Implementation

2012-05-23 Thread eduardoejp
Since the only other alternatives (http://code.google.com/p/clojure-jsr223/ and https://github.com/pmf/clojure-jsr223) seem pretty much dead, I decided to write my own (in Clojure). You can get the jar downloading it from Clojars with lein dep and then just drop it in the desired class-path to

Re: [ANN] Clojure JSR 223 Implementation

2012-05-23 Thread eduardoejp
Thanks for the advice. I'll check into those. -- 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 moderated - please be patient with your first post. To

Re: Browser History in cljs

2012-05-16 Thread eduardoejp
Regarding Snout: I'm using it mostly for routing but it should work for most things history-related. The back and forward buttons already work correctly. If you need more detailed programmatic access to the browser's history, that can be easily arranged with one or two more functions. I

A Clout-like route-matching lib for ClojureScript.

2012-05-15 Thread eduardoejp
Made it for a project I'm working on. Thought it'd be nice to open-source it. It's called Snout. https://github.com/eduardoejp/snout -- 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