Hi all,
On Tuesday, 17 December 2013 16:35:24 UTC, Magomimmo wrote:
In my mind I think about something like a pair composed by of a lein template
and a lein plugin.
The template should serve to create new mixed clj/cljs projects and the
plugin should serve to easily manage the
I am so sorry. I see it only now.
The symbols and | in the slimmed grammar are interchanged.
--
--
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
hi all,
I want to use reify in macro, but the namespace is the problem. the
following code shows what have done. is there a way to make it right?
(defmacro def-site-entity
[ent body]
`(let [e# (create-e)]
(def ~ent (reify clojure.lang.ILookup
(valAt [key not-found]
Hi,
I am Markus, also working on this project. Thanks for your reply.
The errors on the grammar resulted from the reducing of the original one -
just to give a minimal example. The original one featured the issues you
mentioned in addition to other logial operators like nand, xor, equivalent,
hi all,
I want to use reify in macro, but the namespace is the problem. the
following code shows what have done. is there a way to make it right?
(defmacro def-site-entity
[ent body]
`(let [e# (create-e)]
(def ~ent (reify clojure.lang.ILookup
(valAt [key not-found]
Xiangtao Zhou tao...@gmail.com writes:
Hi!
I want to use reify in macro, but the namespace is the problem. the
following code shows what have done. is there a way to make it right?
Probably this will work:
(defmacro def-site-entity
[ent body]
`(let [e# (create-e)]
(def ~ent (reify
as an aside, if you're writing def-like macros, I'd encourage you to
look at 'clojure.tools.macro/name-with-attributes'
Jim
On 18/12/13 12:14, Tassilo Horn wrote:
Xiangtao Zhou tao...@gmail.com writes:
Hi!
I want to use reify in macro, but the namespace is the problem. the
following code
hi Tassilo,
that's great, thanks. I current use a function wrap reify, it's simple.
(defn make-reify [entity] ...)
(defmacro def-site-entity
`(let [e# (create-e)]
(def ~ent (make-reify e#
Joe
On Wed, Dec 18, 2013 at 8:14 PM, Tassilo Horn t...@gnu.org wrote:
Xiangtao Zhou
Thanks for the faster slimmed grammar.
For our grammar we need hierarchy for operator precedence in the final
version.
e. g.: c1c2|c3c4 = (c1c2)|(c3c4)
So we have to nest the and in the or
e. g.:
and = unary ('' unary)*
or = and('|' and)*
As soon as we implement the hierarchy in the grammar,
Joe (Zhou Xiangtao) tao...@gmail.com writes:
that's great, thanks. I current use a function wrap reify, it's
simple.
(defn make-reify [entity] ...)
(defmacro def-site-entity
`(let [e# (create-e)]
(def ~ent (make-reify e#
That's even better. ;-)
Bye,
Tassilo
--
--
You received
https://gist.github.com/ngw/f8ef003532c8d712dd9b
I'm having troubles using the create function from inside the REPL.
I think I should require it directly without defining a ns, right?
user= (:require [theshire.models.element :as model])
CompilerException java.lang.ClassNotFoundException:
The (:require ...) form is specific to the (ns) macro, in the REPL you'd
invoke the require function directly.
(require '[theshire.models.element :as model])
HTH,
/thomas
On Wednesday, December 18, 2013 3:14:14 PM UTC+1, Nicholas Wieland wrote:
Damn, you are right :)
Still, it's no good, and I don't understand why...
user= (require '[theshire.models.element :as model])
Exception lib names inside prefix lists must not contain periods
clojure.core/load-lib (core.clj:5359)
ngw
On Wed, Dec 18, 2013 at 3:21 PM, Thomas Heller
You have a `'` in your ns macro that shouldn't be there.
You're ns form should be:
```
(ns theshire.models.element
(:require [clojurewerkz.welle.core :as wc]
[clojurewerkz.welle.buckets :as wb]
[clojurewerkz.welle.kv :as kv]
[ring.util.codec :refer
Hi Clojurers,
I'm building a tool for Clojure and I've been hitting the same bump for
quite some time now, namely auto-completion and finding the definition of a
symbol. After doing some research I've found that some tools rely on a
running REPL to figure out where a symbol might be coming
Well I tried it, two immediate issues after opening an existing project:
- tried to open a file for some reason the only method is 'jump to file'?
Is that right?
- doing so caused a crash to desktop both times I tried.
On Sunday, December 15, 2013 11:21:08 PM UTC, Nikki Degutis wrote:
It's
Just for background, Steve Yegge's grok project seems relevant. It is a
cross-language static analysis system intended to be useable on a large
scale. (And is intended to be open sourced, when it's done.)
http://www.youtube.com/watch?v=KTJs-0EInW8
On Wed, Dec 18, 2013 at 8:27 AM, juan.facorro
Oh and: no way to create a new file in a project?
--
--
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
Hey, thanks for the response.
'any-legall-move?' is used to determine if the player has any legal moves,
if not then it's the other player's turn; if neither has any legal moves
then the game is over. So when it is called the 'desired move' is unknown.
Similarly 'legal-moves' is used before
Documentation is here: http://hoplon.io
We continue to add documentation all the time. Serverside stuff not yet
documented yet. Feedback welcomed!
-- Micha Niskin and Alan Dipert
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
So excited to see this officially released! Hoplon is some cool shit.
-- Clinton
On Wed, Dec 18, 2013 at 3:05 PM, Micha Niskin micha.nis...@gmail.comwrote:
Documentation is here: http://hoplon.io
We continue to add documentation all the time. Serverside stuff not yet
documented yet.
On Tuesday, December 17, 2013 9:02:19 AM UTC-4, David Della Costa wrote:
...I would probably simply push out an uberjar
with lein which I would run with Java via an init script--for example,
if using Ubuntu:
http://upstart.ubuntu.com/cookbook/#run-a-java-application
I want to try
I'm an early adopter who's been using Hoplon for a while.
Here'shttp://www.vbnetwork.com/tspdemo a
demo of software for solving the traveling salesman problem that uses the
full hoplon suite.
On Wednesday, December 18, 2013 3:05:01 PM UTC-5, Micha Niskin wrote:
Documentation is here:
It looks interesting, but it really needs an overview of the syntax. The
purpose of the examples is clear, but the mechanism is a mystery.
- James
On 18 December 2013 20:05, Micha Niskin micha.nis...@gmail.com wrote:
Documentation is here: http://hoplon.io
We continue to add documentation
There is a section in the Getting Started page, titled Sexp Markup
Syntax that attempts to explain the syntax. What needs to be improved
there?
On Wednesday, December 18, 2013 3:56:02 PM UTC-5, James Reeves wrote:
It looks interesting, but it really needs an overview of the syntax. The
Hi, I've notice a bunch of activity on my demo and I appreciate the
interest. I apologize for the lack of documentation on specifically how to
use it; it's in the works. I've noticed that several users are attempting
to use the multiple vehicle feature which solves the capacitated vehicle
I build an uberjar of a web server that uses jetty with compojure and run
it on port 3000, then I have nginx configured to proxy it like so:
https://gist.github.com/cgag/8031034
--
--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this
I don't know how to configure an init script, but I just run the command
`java -jar mywebserver.jar` in a tmux session manually and then detach.
For how to setup an uberjar to run a web server, there's a nice tutorial on
clojure-doc. You just need to make sure you have your :main class
I am following your tutorial, but I am stuck with Jetty configuration. My
installation does not seem to have a /contexts directory. Where is it?
On Tuesday, December 17, 2013 9:02:19 AM UTC-4, David Della Costa wrote:
I have not done this specifically with Nginx but I suspect you probably
I wasn't expecting an overview of the syntax to be under Getting Started.
The documentation there makes things clearer, but I still have a few
questions:
1. What differentiates the top-level page definition from DOM objects
returned from functions? Is the compiler just looking for the last
Ah, yes. There are some gaps in the docs that need to be fixed. To answer
your questions:
1. The main thing that Hoplon does is unify the DOM and the dynamic
environment (the JS environment). This makes it possible to refer to things
from the dynamic environment in your markup.
On Wed, Dec 18, 2013 at 10:45 PM, Micha Niskin micha.nis...@gmail.comwrote:
The difference between a cell and an atom with watchers attached is that
cells guarantee consistency. That is to say that the evaluation mechanism
ensures that a formula cell is never updated until all of the cells it
I found Doug Selph's talk at Clojure/conj to be quite inspiring, in
that he is clearly (IMHO) doing something that is of great potential
value to humanity. I used to have similar feelings about The Climate
Corporation, but their recent acquisition by Monsanto troubles me.
This makes me wonder
If formula cells have circular dependencies then you have an infinite loop
at runtime. It's not really a problem when making real applications,
though, at least for me. The spreadsheet model simplifies things enough
that there really aren't any surprises; it's very clear what's happening in
the
34 matches
Mail list logo