Re: A problem about position of function used by binding

2017-02-06 Thread guid
James, thank you very much Yes, I can fix it by using ^:dynamic or using #'test1 in test4, but I want to know what happened when I call test4. >so it'll optimise out the var for performance. if you mean it will not check bounding list when I call test1 within test4 Does any document or book ca

Re: A problem about position of function used by binding

2017-02-06 Thread James Reeves
When you define test4 in your first example, the compiler doesn't know that test1 is dynamic, so it'll optimise out the var for performance. To fix it, ensure that the var is declared as dynamic: (declare ^:dynamic test1) - James On 7 February 2017 at 03:26, guid wrote: > hello everyone > >

A problem about position of function used by binding

2017-02-06 Thread guid
hello everyone I have a problem about binding function in clojure1.8. when I changed position of function which call a bound function I got different result. If I define test4 (call test1 within it) before test1, binding would not work (declare test1) (defn test2 [](prn "test2")) (defn tes

Re: Good Clojure Projects for the Classroom?

2017-02-06 Thread John Jacobsen
I run a Clojure study group at work and we generally work 4Clojure problems if nobody has a topic they want to present on. Today, however, we had a great time looking at some "open data" that's out there, specifically about the City of Chicago[1]. I challenged everyone to come up with one or mo

Re: Good Clojure Projects for the Classroom?

2017-02-06 Thread Nikita Beloglazov
I taught similar course at a college. I gave exercises from 4clojure so that students can get used to writing clojure. Also I prepared few "home-made" problems: https://github.com/nbeloglazov/clojure-interactive-tasks. Though these are not projects that students do completely by themselves as t

Re: What’s next for Clojars in 2017?

2017-02-06 Thread Daniel Compton
Hi Alex > How is your signing proposal different than the signing process already available in Maven and in use in (for example) Maven Central repository (and in use for Clojure itself and contrib releases)? The mechanical part of GPG signing is likely to be exactly the same, it’s the surrounding

Good Clojure Projects for the Classroom?

2017-02-06 Thread Eddie
Recently I began teaching a college level course that uses Clojure. We have made it through the lectures on the lisp syntax, the data types, collections, and immutability. Now I would like to ask the students to apply their new Clojure knowledge to a small project. (Something that could be comp

[ANN] RAML parser - raml-clj-parser 0.1.0

2017-02-06 Thread YangYang
Hi all, I have released a small library named raml-clj-parser , a library for building on SnakeYaml and Schema to parser RAML spec v0.8 into clojure data structure. The r

Re: It's time for Google Summer of Code 2017!

2017-02-06 Thread Dan Burton
Note that when Haskell.org didn't make it into gsoc last year, they successfully organized a similar program through private donations. While one hopes that Clojure will be accepted into gsoc, consider having a similar course of action as Plan B. -- Dan Burton On Thu, Feb 2, 2017 at 10:31 PM, Dan

Re: What’s next for Clojars in 2017?

2017-02-06 Thread Chad Stovern
Daniel and Toby, I do DevOps-y things for a living and would be more than willing to help with ansible stuff or potentially anything else. Feel free to contact me directly. - Chad On Thursday, February 2, 2017 at 1:47:00 PM UTC-6, Daniel Compton wrote: > > Hi folks > > In 2016, thanks to the