Questions tagged [arc-lisp]

Arc is a Lisp dialect designed by Paul Graham and Robert Morris and gained significant attention when it was claimed to be a "100 years" programming language. More information is available on the official site.

Definition:

Arc is a Lisp dialect designed by Paul Graham and Robert Morris that gained significant attention when it was claimed to be a "100 years" programming language.

More information is available on the official site.

Important Links:

15 questions
16
votes
2 answers

The advantage of Arc over Racket

Arc is built on top of Racket. Since both of them are in the Lisp family, I am curious about the the advantage of Arc over Racket, or what is the motivation of creating Arc given that Racket is available?
Ning
  • 2,850
  • 2
  • 16
  • 23
11
votes
3 answers

Source code of well designed functional web apps?

What are examples of well designed functional (as opposed to object oriented) web apps that make their source code available? I am currently studying the Hacker News source but I'd like to see some other non-trivial examples, ideally in clojure. For…
Lorenz
  • 483
  • 5
  • 11
8
votes
2 answers

hacker news algorithm in php?

This is the Hacker News ranking algorithm, which I think is a simple way of ranking things, espcially if users are voting on items, but I really dnt understand this, can this be converted to PHP, so I can understand it fully? ; Votes divided by…
getaway
  • 8,792
  • 22
  • 64
  • 94
7
votes
3 answers

Multiple source files, directory structures and namespaces in functional programming

I was surprised to see that the source code for Hacker News is just one big file containing a flat list of function definitions. Git Hub - news.arc Is that typical for functional programming? Is it uncommon to have source in a lot of short files in…
Jonatan Kallus
  • 283
  • 1
  • 7
6
votes
3 answers

Does Google's go-language address the problems in Paul's Graham's post 'Why Arc isn't Especially Object Oriented'?

Does Google's Golang address the problems with languages addressed in Paul's Graham's post 'Why Arc isn't Especially Object Oriented'?
hawkeye
  • 34,745
  • 30
  • 150
  • 304
3
votes
1 answer

Error when I try to make clone of HN in Windows 7: 'rm' is not recognized

I have downloaded Arc 3.1 and Racket to my Windows 7 machine. I have solved many errors as instructed in http://www.arclanguage.org/item?id=12397 Now when I enter (nsv) the following error occurs and localhost:8080 comes out blank: arc> (nsv) 'rm'…
ashwinm
  • 636
  • 6
  • 14
2
votes
1 answer

Launching Hacker News Clone - Next Steps?

I want to use Hacker News' open source software to build a link sharing community for another industry. I followed the instructions on the arc github page and was able to get a clone up and running on my local environment. I was wondering what the…
user1059105
  • 229
  • 4
  • 10
2
votes
1 answer

Installing Arc on OS X

When I tried the instructions at https://arclanguage.github.io/, after I entered "racket -f as.scm" I got "-bash: racket: command not found". I also tried these instructions for downloading Arc on…
grosent
  • 21
  • 1
  • 4
2
votes
4 answers

Why does `(= (car x) 'z)` work?

I was stumbling through the Arc tutorial when I got sort of confused with this: Quoted from the Arc Tutorial: Like Common Lisp assignment, Arc's = is not just for variables, but can reach inside structures. So you can use it to modify…
haneefmubarak
  • 1,911
  • 1
  • 21
  • 32
1
vote
3 answers

Error when I try to make clone of HN in Windows 7: main: not defined

I have downloaded Arc 3.1 and Racket in my Windows 7 machine, and solved many errors while proceeding. But still when I run mzscheme -f as.scm it never returns to the prompt (as if there was an infinite loop). When I use mzscheme -m -f as.scm, it…
ashwinm
  • 636
  • 6
  • 14
1
vote
1 answer

How can I generate multiple expressions at compile time, within a macro call?

A particular macro runs each expression in its body, interleaving an atom between each expression, and collecting the results. This works well with hard-coded expressions, but if I want to dynamically generate a series of expressions to be inserted…
Pedro Silva
  • 4,672
  • 1
  • 19
  • 31
1
vote
0 answers

"Collection not found for module path: mzscheme" in Racket when running Arc

I'm trying to get Arc (the Lisp dialect by Paul Graham) to run on my iMac running macOS Catalina, I downloaded the arc source code and installed Racket. I followed some of the tips at the question Installing Arc on OS X to fix some problems I was…
1
vote
2 answers

Could Arc be implemented over Clojure?

I have been reading up alot about Arc and it seems to provide some good thing. Since Arc is a lisp and Clojure is a Lisp I was wondering if Arc could be implemented on top of Clojure?
yazz.com
  • 57,320
  • 66
  • 234
  • 385
0
votes
1 answer

Downloading ARC Lisp Ubuntu 16.04 Xenial

According to Paul Graham, first I'm supposed to install version 372 of mzscheme So I went here: http://download.plt-scheme.org/mzscheme/mz-372-bin-i386-linux-ubuntu-sh.html sh mz-372-bin-i386-linux-ubuntu.sh But then when I download that shell…
Nathan majicvr.com
  • 950
  • 2
  • 11
  • 31
0
votes
1 answer

writing my own version of `in` as an Arc macro

In Arc there's a macro called in > (let x 1 (in x 4 5 6)) nil > (let x 1 (in x 1 5 6)) t that checks if its first parameter is equal to any of the rest. I want a version of this that takes a parameter plus a list (semantically identical to…
user2058002