Re: ANN: Hafni

2011-07-06 Thread Jonathan Fischer Friberg
Sorry to not get back at you earlier. I was on vacation. iarr stands for internal arrow, it was created because the arr function cannot be used inside the Arrow record. As of the rearrangement of the arrow protocol, it is deprecated. The ||| function is definitely the most confusing, but I added

Re: ANN: Hafni

2011-06-30 Thread Scott Jaderholm
In arrow.clj: What is iarr an abbreviation for? Perhaps a docstring on ||| would help, I'm having trouble understanding it. Maybe add these examples, I found them helpful ((arr inc) 1) ;; 2 ((>>> (arr inc) (arr dec)) 1) ;; 1 ((flow (arr inc) >>> (arr inc) >>> (arr inc)) 1) ;; 4 ((*** (arr in

Re: ANN: Hafni

2011-06-24 Thread Jonathan Fischer Friberg
Thanks for the interest! :) When it comes to arrows, from what I have read, functions can be seen as a subset to arrows. Although, I don't have sufficient understanding to what this really means. It's true that standard functions could be used, and would be clearer. I'm a little scared of doing t

Re: ANN: Hafni

2011-06-23 Thread Dave Ray
Hi, This looks pretty cool. I'd love to see a larger example of how you'd apply arrows to managing UI state. From my limited understanding, functions are arrows, but arrows are not functions. The examples you give fall pretty much in the "functions are arrows" camp, meaning that the code could be