3 ms·
Clojure in go: https://github.com/candid82/joker https://github.com/candid82/joker
by lincpa 7y ago
Clojure in go:
https://github.com/candid82/joker https://github.com/candid82/joker
- codr7 7y agoI find Clojure refreshing, but it has too many agendas for me and Java is just (a) no Go. I tried, I did. And launching the repl felt like watching grass grow on my latest/greatest macbook. And if I'm going to use a Lisp in Go, I definitely prefer one designed around Go to one imported from Java. The Clojure-code I've written, while terse; always feels too far off from what I want to say. I have the same issues with Haskell, too much hoop jumping to take part in someone else's quest for purity. There's plenty I like in there and Rich is a very disciplined thinker. The languages have much in common. g-fu's way of using environments looks a lot like Clojures use of maps if you squint. Transducers are brilliant, it's difficult for me to believe it took this long. Which is why g-fu uses [0] them as the foundation for all sequence transformations. [0] https://github.com/codr7/g-fu/blob/master/v1/lib/iter.gf https://github.com/codr7/g-fu/blob/master/v1/lib/iter.gf