Re: meaning and pronunciation of Clojure

2009-01-04 Thread Ed

I have been wanting to know the same thing...I was guessing Clojure
was an acronym for: Common_Lisp_Object_Java_?something?_?something?_?
something?, or possibly Concurrency_Language_OnThe_JVM_?something?_?
something?_?something?...I am dying to know.  Or, like others have
cited, Closure en Francais 'Clojure'what does the name stand for
and mean?

Can somebody post the history of the language, what the name means,
how it was chosen, were there any working names for the language
before it was called Clojureetc.  Is the inventor a Seattle
Seahawks fan, the colors of the Clojure Icon suggest so.

Thanks...happy hackin'

-
ed

On Jan 3, 1:06 pm, "Mark Volkmann"  wrote:
> I assume that the name "Clojure" is taken from the word "closure",
> replacing the "s" with a "j" for Java. I've never seen that in writing
> though and my curiosity compels me to have this verified. Is that
> right?
>
> Also, is it pronounced it is spelled or is it pronounced the same as
> "closure"? I did find a post that said it's pronounced like "closure",
> but I've always pronounced it the way it is spelled.
>
> --
> R. Mark Volkmann
> Object Computing, Inc.

--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: Anyone Worked with NW.js and ClojureScript

2015-04-09 Thread Ed Babcock
Hey, I've been working on some projects to help with ClojureScript on NW.js 
and mobile platforms. The main one is browserific:

https://github.com/greenyouse/browserific

Right now, it's just a lein plugin + template but there should be an 
interop library within a few weeks. It uses a new feature expression 
library too for tailoring code to different platforms (e.g. OSX, Linux, 
Windows). It's pretty new though so it probably still has a lot of rough 
edges.

Hope it helps!

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] CIDER 0.9

2015-06-18 Thread Ed Maphis
On that note,  the nrepl 0.2.6 problem is a pretty old issue by now. Does 
anyone know if there are any plans to update leiningen.

On Wednesday, June 17, 2015 at 3:04:29 AM UTC-4, Isaac Zeng wrote:

> leiningen use org.clojure/tools.nrepl 0.2.6 cider-nrepl throw warning
>
> On Tuesday, June 16, 2015 at 10:33:48 PM UTC+8, Bozhidar Batsov wrote:
>>
>> Hey everyone,
>>
>> CIDER 0.9 is finally out! You can read more about the release here 
>> http://batsov.com/articles/2015/06/16/cider-0-dot-9/
>>
>> Enjoy (responsibly)! :-)
>>
>

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] clj-refactor.el 1.1.0 is released

2015-07-06 Thread Ed Maphis

Thanks to all the contributers, along with Cider, this is great software

>
>

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [ANN] Release 0.32.0 of Counterclockwise

2015-07-29 Thread Ed Maphis
Thanks Laurent, looks like an exciting release.

>
>  

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CCW bug [SEVERE]

2014-10-26 Thread Ed Maphis

Notepad is relatively bug free. 

>
>>

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: clojure.spec origin story

2016-09-02 Thread Ed Maphis
I haven't checked it myself but I remember reading that Clojure Specs were 
roughly based on Racket's Contracts.




-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Spec's not being checked on macro expansion

2017-06-29 Thread Ed Bowler
Hi,
I've got a problem where specs are not always being checked during macro
expansion. It seems to be reliably be checked when I load the code using
cider (using cider-load-buffer), but not when running lein test at the
terminal.

Code:

(defproject macroexpand-spec-test "0.1.0-SNAPSHOT"
  :description "FIXME: write description"
  :url "http://example.com/FIXME";
  :license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
  :dependencies [[org.clojure/clojure "1.9.0-alpha17"]])

(ns macroexpand-spec-test.core-test
  (:require [clojure.test :refer :all]
[macroexpand-spec-test.core :refer :all]))

(deftest a-test
  (testing "FIXME, I fail."
(is (thrown? Exception (macroexpand '(fish "not a symbol" 1))

(ns macroexpand-spec-test.core
  (:require [clojure.spec.alpha :as s]))

(s/fdef fish
:args (s/cat :func symbol?
 :args (s/* any?))
:ret any?)

(defmacro fish [f & args]
  `(~f ~@args))

However, the minimal case works correctly:

$ rlwrap java -cp
/home/aviso/.m2/repository/org/clojure/clojure/1.9.0-alpha17/clojure-1.9.0-alpha17.jar:/home/aviso/.m2/repository/org/clojure/spec.alpha/0.1.123/spec.alpha-0.1.123.jar:/home/aviso/.m2/repository/org/clojure/core.specs.alpha/0.1.10/core.specs.alpha-0.1.10.jar
clojure.main
Clojure 1.9.0-alpha17
user=> (require '[clojure.spec.alpha :as s])
nil
user=> (s/fdef fish
:args (s/cat :func symbol?
 :args (s/* any?))
:ret any?)
user/fish
user=> (defmacro fish [f & args]
  `(~f ~@args))
#'user/fish
user=> (macroexpand '(fish "not a symbol" 1))
CompilerException clojure.lang.ExceptionInfo: Call to user/fish did not
conform to spec:
In: [0] val: "not a symbol" fails at: [:args :func] predicate: symbol?



Is this a bug in lein? I'm getting the same failure using gradle (which is
where the problem first showed up, and I switched to lein to find a smaller
failing case).

Many thanks for any help,

Ed

-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Compiling ClojureScript in the repl using a macro defined in Clojure

2013-11-20 Thread Ed Yu
Hello,
  I'm stuck on this particular problem that I'm having problem figuring out 
what to do:

Say I have a leiningen project that has a simple ClojureScript 
src/cljs/hello_world/hello.cljs file that has the following:

(ns hello-world.hello
  (:require-macros [hello-world.macro :as macro]))

(defn ^:export main []
  (macro/my-when true
(.write js/document "Hello, world!")))

and I have the macro file macro.clj

(ns hello-world.macro)

(defmacro my-when [condition & body]
  `(if ~condition (do ~@body)))

I can't figure out where do I put macro.clj for cljsc or cljs.closure/build 
to find the macro. I tried placing the macro.clj in the same directory as 
hello.cljs or place it under src/clj/hello_world or place it directory 
under src/hello_world. It doesn't matter where I put it, it will not 
compile as I get the following error:

FileNotFoundException Could not locate hello_world/macro__init.class or 
hello_world/macro.clj on classpath:   clojure.lang.RT.load (RT.java:443)

Thank you


-- 
-- 
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 unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: offtopic - where are you come from? (poll)

2008-11-24 Thread Ed Bowler

Sheffield, UK

--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---