Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-19 Thread Francesco Bellomi
Nicola, of course you're right. I recently switched to the 3-ary analyze in order to use :validate/wrong-tag-handler and I was wrongly passing {} as the env, instead of (empty-env). When I saw the "Invalid token: ::a/b" errors I was fooled into thinking they were purely syntactical errors (but

Re: [ANN] lein-templater - automagically generate templates from your existing projects

2014-08-19 Thread Dave Sann
Interesting Idea. I'll give it a go. On Wednesday, 20 August 2014 06:47:47 UTC+10, Dylan Butman wrote: > > I've been writing a lot of templates lately for various web stacks and > whatnot, and I got really tired of having to copy my files into a template > every time they changes. I figured it w

[ANN] lein-templater - automagically generate templates from your existing projects

2014-08-19 Thread Dylan Butman
I've been writing a lot of templates lately for various web stacks and whatnot, and I got really tired of having to copy my files into a template every time they changes. I figured it wouldn't be too hard to generate them programmatically, and after a few more days than expected, here you have i

Re: [ANN] lein-plz 0.1.1 - Add dependencies quickly

2014-08-19 Thread Dylan Butman
Here you go! https://github.com/pleasetrythisathome/lein-templater I'm sure there are some kinks to iron out, give it a try! On Tuesday, August 19, 2014 1:07:34 AM UTC-4, john walker wrote: > > Is there a link to your work? I'm very interested in this. > > On Monday, August 18, 2014 8:49:36 PM UT

[ANN] rete4frames, v. 5.1.0 - CLIPS-like expert system shell

2014-08-19 Thread ru
Hello all, New version 5.1.0 of rete4frames CLIPS-like expert system shell published on https://github.com/rururu/rete4frames. New features: 1. Alpha-memory reimplemented as hash map. As a result gained better performance up to 47% on Mrs.Manners and Waltz benchmarks. 2. To "depth" conflict re

Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-19 Thread Nicola Mometto
Francesco, that doesn't seem to be the case in my tests: [~/src/tools.analyzer.jvm/src/main/clojure]> cat test.clj (ns test (:require [clojure.string :as s])) ::s/foo clojure.tools.analyzer.jvm> (-> (analyze-ns 'test) last :form) :clojure.string/foo Note that to analyze keywords in the form ::f

Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-19 Thread Francesco Bellomi
Nicola, thank you for your work, and for :validate/wrong-tag-handler specifically, which is very useful to me. It seems that analyzer refuses keywords in the form ::a/b, which are used in some projects (e.g. [org.clojure/core.typed] clojure.core.typed.check.fn contains ::t/cmethods at line 21)

Re: tools.analyzer[.js/.jvm], tools.emitter.jvm, status report

2014-08-19 Thread Francesco Bellomi
Nicola, thank you for your work, and for :validate/wrong-tag-handler specifically, which is very useful to me. It seems that analyzer refuses keywords in the form ::a/b, which are used in some projects (e.g. [org.clojure/core.typed] clojure.core.typed.check.fn contains ::t/cmethods at line 21)

Disrupt SF Hackathon Clojure Group

2014-08-19 Thread mark
Hey guys/gals, Are any of you going to the Disrupt SF Hackathon? I'd love to join or form a group of Clojurists. I'm open to any and all project ideas. I really am interested in meeting other smart people and hack on Clojure for a day (and win first place). I've been using Clojure for a year n

[videos] Getting started with Clojure, IntelliJ, Cursive and Gorilla REPL

2014-08-19 Thread Jony Hudson
Thought I'd share the links to a couple of videos I made for my students on how to set up a nice development environment for Clojure with IntelliJ, Cursive and Gorilla. Part 1 on setting up software: https://vimeo.com/103808402 Part 2 on basic workflow:https://vimeo.com/103812557 Probably no

Re: Howto write test.check custom generators

2014-08-19 Thread Reid Draper
Hey Tim, When you write a property, like your `has-agroup`, there's no need to call `gen/sample`. You can simply write: (prop/for-all [v my-generator] ...) -Reid On Sunday, August 10, 2014 6:04:21 PM UTC-5, frye wrote: > > Oook, this is starting to sink in. > > I've gotten a little farther, in

Re: Cljs build does not compile the source folders

2014-08-19 Thread Timur
Ok, the problem was the files with .clj suffix are ignored by the watcher. Changing it to .cljs solved the problem. On Tuesday, August 19, 2014 11:58:51 AM UTC+2, Timur wrote: > > Hi everyone, > > My clojurescript build results in a Javascript file which does not contain > the expected nameps

Re: [ANN] lein-plz 0.1.1 - Add dependencies quickly

2014-08-19 Thread Dylan Butman
I'm going to tie a bow on it today and I'll get back to you > On Aug 19, 2014, at 1:07 AM, john walker wrote: > > Is there a link to your work? I'm very interested in this. > >> On Monday, August 18, 2014 8:49:36 PM UTC-7, Dylan Butman wrote: >> It'd be great if you could chain lein take like t

Cljs build does not compile the source folders

2014-08-19 Thread Timur
Hi everyone, My clojurescript build results in a Javascript file which does not contain the expected namepsace and functions contained in my clojurescript files. What could be the reason? My project setup (simplified) is as follows: (defproject myapp "0.1.0-SNAPSHOT" :description "FIXME: wr