[ANN] Advenjure 0.2.0 - An interactive fiction game engine

2016-06-08 Thread Ashish Negi
Looks cool. Thanks. -- 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,

[ANN] Advenjure 0.2.0 - An interactive fiction game engine

2016-06-08 Thread Ashish Negi
Looks cool. Thanks. -- 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,

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Rangel Spasov
Sean - thanks for the detailed explanation. I will try to investigate if nobody has any other ideas. On Wednesday, June 8, 2016 at 4:15:05 PM UTC-7, Sean Corfield wrote: > > I ran into this same problem with Encore but found it very, very hard to > repro in a simple project. > > > > The under

Re: How to Keep Clojure Server From Quitting

2016-06-08 Thread Andrea Richiardi
I do the following in my code (where system/http is a mount var, the eval result of start-server): (ns ... (:require [aleph.netty :as netty]) (defn -main [& args] (mount/start args) (netty/wait-for-close server/http)) On Wednesday, June 8, 2016 at 7:53:25 AM UTC-7, Nate Young wrote: >

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Sean Corfield
I ran into this same problem with Encore but found it very, very hard to repro in a simple project. The underlying issue is that clojure.tools.analyzer.utils defines boolean? but doesn’t exclude core’s version (since it’s new in Alpha 5 and libraries haven’t caught up). That normally wouldn’

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Rangel Spasov
Hey guys - getting this compiler exception when I tried alpha 5 (up to alpha 4 it was all good). WARNING: boolean? already refers to: #'clojure.core/boolean? in namespace: clojure.tools.analyzer.utils, being replaced by: #'clojure.tools.analyzer.utils/boolean? WARNING: boolean? already refers

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Sean Corfield
But named? to mean instance? clojure.lang.Named tells you that something implements the Named interface which has getName() *and* getNamespace() methods – and the namespace function does *not* accept a String. The fact that the name function accepts something that is not Named is a bit of an

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Josh Tilles
Well, it’s worth noting that clojure.core/name does account for strings : (defn name "Returns the name String of a string, symbol or keyword." {:tag String :added "1.0" :static true} [x

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Sean Corfield
Given the only two things in Clojure that implement Named are keyword and symbol – and we have ident? – what additional value would named? have? (but, yes, that was my first thought when I saw the list of new predicates) Sean Corfield -- (904) 302-SEAN An Architect's View -- http://corfiel

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Devin Walters (devn)
Any chance of `named?` making the cut in 1.9? I see it's used in the implementation of clojure.spec. On Tuesday, June 7, 2016 at 12:38:34 PM UTC-5, Alex Miller wrote: > > Clojure 1.9.0-alpha5 is now available. > > Try it via > > - Download: > https://repo1.maven.org/maven2/org/clojure/clojure/1.

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread David Powell
Do uri? and bytes? really have generator support implemented? I couldn't seem to get that to work. -- 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 mode

Re: How to Keep Clojure Server From Quitting

2016-06-08 Thread Kurman Karabukaev
In both of your solutions you are stopping main thread from exiting, you could j.c.u CountDountLatch that could have same number of lines as the second solution but has clearer intent. BTW, aleph.http/start-server returns closable object if you are planning to do something fancy. Kurman On Wed,

How to Keep Clojure Server From Quitting

2016-06-08 Thread Nathaniel Young
Good morning (at least from my part of the globe), I spent a good chunk of time last night wondering why this chunk of code kept exiting about a minute after being run: (ns narcoleptic.server (:require [aleph.http :as http] [compojure.core

[ANN] Specter 0.11.1 released

2016-06-08 Thread Nathan Marz
Released Specter 0.11.1 with bug fixes and performance improvements. It also has a new README which I hope provides a better introduction to the project. https://github.com/nathanmarz/specter The navigators are now very intelligent about using the best means possible for traversing data structu

Re: No conform & throw variant in clojure.spec?

2016-06-08 Thread Alex Miller
I think different people will need slightly different things for this and it's pretty trivial to write, so not sure it's worth adding. Others have asked about it though. On Wednesday, June 8, 2016 at 8:19:31 AM UTC-5, Nikita Prokopov wrote: > > Hi! > > I noticed there’s no conform variant that t

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Alex Miller
Rich has ok'ed this and I've added a jira for this at http://dev.clojure.org/jira/browse/CLJ-1951. The predicate is trivial of course - but we would want to add generator support and that's trickier as test.check doesn't have anything for this. I'm putting it on the back burner for now, but if

No conform & throw variant in clojure.spec?

2016-06-08 Thread Nikita Prokopov
Hi! I noticed there’s no conform variant that throws instead of returning keyword in clojure.spec. Is it intentional? I’m asking because it seems repetitive to check return value, then call explain-data, and create an exception with explain-data in it. Maybe there’s a better way to use clojure

[ANN] Advenjure 0.2.0 - An interactive fiction game engine

2016-06-08 Thread Facundo Olano
Hi! I'd like to share a project I've been working on this year. Advenjure is a text adventure (or interactive fiction) game engine. Some of its distinctive features are: - Unix-like prompt with smart tab completion and command history (powered by JLine). - Customizable and localizable

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Remo Koch
Same here, would be nice to have `biginteger?` in core as well. On Wednesday, June 8, 2016 at 7:13:14 AM UTC+2, puzzler wrote: > > Also non-scientific: I personally use BigInteger a fair amount, but have > never needed to use BigDecimal. > > On Tue, Jun 7, 2016 at 9:41 PM, > wrote: > >> As a comp

Re: [ANN] Clojure 1.9.0-alpha5

2016-06-08 Thread Mamun
Excellent set of new predicates. What about date predicate? It would be nice if there are also date predicate as an example in bellow date? date-past? date-future? Br, Mamun On Tuesday, June 7, 2016 at 7:38:34 PM UTC+2, Alex Miller wrote: > > Clojure 1.9.0-alpha5 is now available. > > T