modern clojure summary

2011-10-27 Thread falcon
Hi, I took a look at clojure when it first came out. I never wrote many programs with it but spent a few nights reading docs and experimenting with the repl. In Rich's most recent talk, Simple Made Easy, he mentioned that clojure for javascript was built from the ground up using protocols and

Re: modern clojure summary

2011-10-27 Thread falcon
Looks like this video is from 2008. I remember going through all the videos back then. I'm not looking for a basic introduction to lisp like languages. I'm interested in a description and an explanation of clojure + modern features such as protocols. For example, Rich said that clojurescript

questions about clojure's core library organization

2010-04-18 Thread falcon
Hi, I am trying to understand clojure and found a couple of interesting things about the core library: 1. core.clj is a gigantic library with more than 400 function definitions (378 defns and 62 defmacros to be exact). I didn't expect to find sequence related functions, such as map/reduce in

Re: questions about clojure's core library organization

2010-04-18 Thread falcon
As I understand it, map is, itself, lazy. Does that mean that using map to implement these methods would create extra intermediate structures? What if often used functions such as map/reduce/filter were macros, that could 'deforest' (to use Haskell terminology) these intermediate structures?

Re: Clojure at JavaOne

2009-05-18 Thread falcon
I agree with John. For certain applications, the ability to modify the code while it is running is very useful. Many language comparisons turn into syntax comparisons. Clojure has enough interesting concepts (concurrency model, code as data, macros) that it should be made to stand out. On May

Re: Static type guy trying to convert

2009-03-10 Thread falcon
I am in the same boat. However, even more than type safety, I miss my IDE giving me the most appropriate options. I often have objects with many call-backs, it's nice to be able to ctrl+space (in eclipse) and quickly get a list available methods, pressing enter gives you some skeleton code.

Cells tutorial

2009-02-07 Thread falcon
http://github.com/stefano/cells-doc/raw/7d3ae47d540f418588f4dd8d985c2592128ab642/cells-doc.pdf various formats: http://github.com/stefano/cells-doc/tree/master --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Clojure

Re: Request for feature: watchers on namespaces

2009-01-31 Thread falcon
+1 for this request. I have a question as well, aren't the namespace bindings stored in one of clojure's concurrency objects? Since the ability to interact with a running program is one of the features that sets clojure apart from most other mainstream programming languages, if more than one

metaprogramming: finding function arity and other information about the envrionment

2008-12-30 Thread falcon
How do I find the arity of a given function? I can get a list of all name spaces using (all-ns) I can get functions within each name space using (find-ns 'clojure) ; so map find-ns over each value returned by all-ns (doc fn) gives me a description of the function, and information about

Re: metaprogramming: finding function arity and other information about the envrionment

2008-12-30 Thread falcon
Impressive, source file and line numbers are already included! I need to better understand reader macro (or where ever # comes from). Thanks Be sure to var-quote the function, i.e. don't use (meta print), but (meta #'print). --~--~-~--~~~---~--~~ You received

Re: metaprogramming: finding function arity and other information about the envrionment

2008-12-30 Thread falcon
Makes sense, thanks On Dec 30, 5:29 pm, pmf phil.fr...@gmx.de wrote: On Dec 30, 11:08 pm, falcon shahb...@gmail.com wrote: Impressive, source file and line numbers are already included! I need to better understand reader macro (or where ever # comes from). You actually need to know two

Re: metaprogramming: finding function arity and other information about the envrionment

2008-12-30 Thread falcon
: On Tue, Dec 30, 2008 at 4:29 PM, falcon shahb...@gmail.com wrote: Generally speaking, how can I get information about my environment: -which bindings exist -the source code for a given function (if source code is available) pmf's explanations are solid, but for the source code

Re: In core structure editor, anyone?

2008-12-29 Thread falcon
How's textjure coming along? On Dec 10, 3:35 pm, Chouser chou...@gmail.com wrote: On Wed, Dec 10, 2008 at 7:15 AM, Simon Brooke still...@googlemail.com wrote: I note people seem mainly to be using Emacs as an editing/development environment for Clojure. But as people keep pointing out,

Re: Superficial barriers to entry

2008-12-17 Thread falcon
Good post! I have been going through the same problems myself. It looks like enclojure is going to have a Netbeans 6.5 release very soon (still alpha though). I've also tried to figure out the best way to learn Clojure. After flailing about a bit, last night I printed out all the documents on

confused by Vars, Refs, Agents and Atoms

2008-12-16 Thread falcon
I am fairly familiar with basic functional programming. I've studied a bit of scheme and Haskell. I don't quite understand Vars, Refs, Agents and Atoms. I am a Java developer and have worked with concurrency constructs: locks, synchronized, Executor framework, etc. I've read a couple of

Re: In core structure editor, anyone?

2008-12-11 Thread falcon
The citrus page has some _VERY_ cool videos. They are worth watching, just for entertainment value (entertainment for developers only though). On Dec 11, 9:32 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On Dec 10, 2:59 pm, falcon [EMAIL PROTECTED] wrote: Could you describe in-core editing a bit

Re: In core structure editor, anyone?

2008-12-10 Thread falcon
Could you describe in-core editing a bit more? Sounds interesting. On Dec 10, 7:15 am, Simon Brooke [EMAIL PROTECTED] wrote: I note people seem mainly to be using Emacs as an editing/development environment for Clojure. But as people keep pointing out, Clojure is homoiconic; the canonical

Re: Reactive Programming in F# and CELLs

2008-11-25 Thread falcon
think he would be more interested in this than most :) On Nov 25, 10:00 am, Stuart Sierra [EMAIL PROTECTED] wrote: Hi, falcon, I wrote (with MikeM) a pair of basic Cell-like libraries in Clojure, one using Refs and one using Agents:http://groups.google.com/group/clojure/browse_thread/thread

Re: JMS and Clojure?

2008-11-25 Thread falcon
On Mon, 2008-11-24 at 16:36 -0800, falcon wrote: What is the best way of accessing Java Messaging Service though Clojure? Sounds like Rich has already experimented, with good results: rhickey: I did some playing (in Clojure) with JMS and OpenMQ and it was awesome, easy, fun and vert fast

Reactive Programming in F# and CELLs

2008-11-24 Thread falcon
I hope folks here don't mind this post. The following article explains how to do reactive programming in F#: http://tomasp.net/blog/reactive-i-fsevents.aspx (the bottom of the article has links to rest of the articles in the series) There has been some recent discussion on CELLs in Clojure.

JMS and Clojure?

2008-11-24 Thread falcon
What is the best way of accessing Java Messaging Service though Clojure? Sounds like Rich has already experimented, with good results: rhickey: I did some playing (in Clojure) with JMS and OpenMQ and it was awesome, easy, fun and vert fast, with pro level docs from Sun

Request for documentation

2008-11-20 Thread falcon
Could we get an overview/tutorial type documentation, perhaps similar to (but smaller than) Scala By Example (http://www.scala-lang.org/ docu/files/ScalaByExample.pdf)? I recently purchased the PDF beta version of the new Clojure book. It looks fantastic, unfortunately I just don't have time

Re: Observations and questions regarding long-running, adaptable, transparent software

2008-09-18 Thread falcon
Google often brings me to the cells website, but I haven't been able to figure out what it exactly is, you are right about the documentation. Although, speaking of documentation, I wish clojure also had some printable documents, tutorial which I could pack in my bag and read on the train. The

Re: Observations and questions regarding long-running, adaptable, transparent software

2008-09-18 Thread falcon
Looks like the FrTime dissertation was published this year: Integrating Dataflow Evaluation into a Practical Higher-Order Call-by- Value Language By Gregory Cooper http://dl.lib.brown.edu/pdfs/etd67.20080429180432.pdf A quote from it: A technique similar to that employed by FrTime has been