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

This does seem like a weird bug -- but what's the use case? I don't think the url spec (http://www.faqs.org/rfcs/rfc3986.html) actually allows them there.

Is it used to figure out how much to auto link, for example, in a comment in HN or this very forum? That's certainly a valid usecase.

-----


What a nice change! Super glad to have this.

-----

4 points by zck 2430 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 2414 days ago | link

I intend to. It has taken some time due to some unexpected issues with unicode handling that were recently resolved with https://github.com/arclanguage/anarki/pull/135

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

-----

5 points by zck 2430 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:

    (ns anarki.foo-tests
      (: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 2496 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 2532 days ago | link | parent | on: About lobste.rs

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

-----

3 points by akkartik 2532 days ago | link

I'll invite you.

-----

3 points by zck 2532 days ago | link

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

-----

3 points by zck 2542 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 2546 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 2546 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 https://news.ycombinator.com/newest; many of those links will be dead.

-----

3 points by hjek 2544 days ago | link

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

-----

4 points by zck 2551 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 2549 days ago | link

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

-----

More