5 ms·
This is the source code for what made that link stop working and instead go to the comment containing it. All the operators in it are specific to Arc (if not t
by pg 19y ago
This is the source code for what made that link stop working and instead go to the comment containing it. All the operators in it are specific to Arc (if not to News), so I didn't expect anyone to really understand it. But if you want to:
(defopr foo ...) means news.ycombinator.com/foo will redirect
to whatever url the body returns.
(item n) returns the item (e.g. story or comment) whose id is n, loading it if necessary
(item-url i) returns the url that leads to the item page of i
Actually I was in a hurry when I wrote this. I could have just said (defopr s2008form req "item?id=99665").