Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
twilightsentry
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
twilightsentry
16y ago
You might want to look at Garnet and Amulet, which used a number of neat techniques with prototype-style objects to build user interfaces. There's a good summary of their work at: http://www.cs.cmu.edu/~amulet/papers/amuletappframe.pdf
2.
▲
by
twilightsentry
17y ago
No, not really, unless you're running the code in a metacircular interpreter. Imagine encoding the pair ('hello . 'world) into a function. You might say: (lambda (msg) (if (eq msg 'car) 'hello 'world)) You could get 'hello by ap
3.
▲
by
twilightsentry
17y ago
Oops; I meant to write those in CL, but I forgot about functions having their own namespace (been playing too long in a lisp-1). It should work in CL if you use FUNCALL. If mquander's explanation isn't enough, you might look at it using te
4.
▲
by
twilightsentry
17y ago
Well, you can define pairs like this (as long as you've got lexical scope): (setq cons (lambda (x xs) (lambda (msg) (if (eq msg 'car) x xs))) (setq car (lambda (xs) (xs 'car))) (setq cdr (lambda (xs)
5.
▲
by
twilightsentry
17y ago
> Isn't light always going to move C faster then you? Yes. > Isn't it impossible to move "near speed of light"? From your perspective, you'll always be slower than light by C. Your speed relative to another observer, however, can b