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 inc)

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

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

ANN: Hafni

2011-06-20 Thread Jonathan Fischer Friberg
Hi, I figured that I would announce a library that I have been working on for a while now. It's called Hafni, and it's a swing wrapper. Why another swing wrapper? I wanted to solve the following problems: 1. There are a lot of boilerplate code needed. 2. Changes made to content is not very