Arc Forumnew | comments | leaders | submit | zck's commentslogin

What a nice change! Super glad to have this.


4 points by zck 17 days ago | link | parent | on: Arc REPL in emacs using cider-mode

This is super cool. I'd love to have this for Emacs! Can you share what you've got? Maybe a complete config from `emacs -Q`?

And if anyone's ever in NYC, I co-organize the Emacs NYC meetup group. Would love to see y'all.


2 points by shawn 1 day ago | link

I intend to. It has taken some time due to some unexpected issues with unicode handling that were recently resolved with

I'll do a Show Arc soon with some tooling for the community, including nREPL support.


4 points by zck 17 days ago | link | parent | on: Lexically scoped macros?

Another solution to this would be to have an actual namespace mechanism. For example, this would be the Clojure for a similar test file:

      (:require [zck.unit-test :as t]))
    (t/suite cut
             (t/test finds-element-in-list
                     (t/assert-same '(3 4 5) (cut '(1 2 3 4 5) 2))))
It's another benefit we'd get by having namespacing.


4 points by zck 82 days ago | link | parent | on: Tell Arc: Arc 3.2

Whoa, that's awesome. Thanks!

Anything we can do to help get more Arc out?


3 points by zck 119 days ago | link | parent | on: About

I've never signed up for Could I get an invite? What do you need to invite me? (email in profile)


3 points by akkartik 118 days ago | link

I'll invite you.


3 points by zck 118 days ago | link

Thanks! I'll spend some time checking it out. :)


3 points by zck 128 days ago | link | parent | on: With and withs

Similarly to this, when I'm writing Java, I use `final`^1 everywhere I can. It's nice to be able to know that anywhere later where the variable declared final is in scope, it will have the same value as at the point it's set. I don't need to look through any code to see if it's rebound; I know it hasn't been.

[1] "final" is kind of like "const", if I understand `const` right. `final int x = 3;` means that it is an error to later have the line of code `x = 4;`.


2 points by zck 133 days ago | link | parent | on: Installation on windows?

I wish arc had better integration with Emacs. I'd love a SLIME/Cider-style integration. With infinite time, I'd like to write one.


3 points by zck 133 days ago | link | parent | on: Vouch

> Maybe is just needs to be dead first.

Yeah, if you have enough karma, you can see "vouch" links on dead submissions. The easiest way to see this is to go to; many of those links will be dead.


3 points by hjek 131 days ago | link

So you need to have `showdead` enabled for vouch to ever be visible, I guess?


4 points by zck 138 days ago | link | parent | on: Anarki Reference Documentation

Very cool! I might make some changes, like links, categories, a TOC.

Obviously feel free to make any of these; I'm not sure when I'll get to them.


3 points by rocketnia 136 days ago | link

Yeah, these would be great! I focused on shipping something, but there are many ways it can be improved. :)


4 points by zck 145 days ago | link | parent | on: Separation of concerns

> Run the unit tests.

Certainly a lot of things could be tested more; this would help.

But also, we might want to set Github to require the tests to pass on a PR before letting it be merged. I could be wrong, but I think a PR can be merged even if the tests fail.

This is a slight step away from "anyone can commit anything", I acknowledge. But it's also a step towards stability. At least the person would have to fix or delete the failing tests before merging.


5 points by rocketnia 145 days ago | link

Fixing other people's test breakage is one of the only things I can do for Anarki that doesn't make me feel like I'm breaking things myself. :-p


4 points by zck 143 days ago | link

Well, it's a great help! Writing tests can help too, but just being around and helping is wonderful.