4 ms·
Do you have any thoughts on a built in help operator mapping other operators to docstrings?
by metamemetics 16y ago
Do you have any thoughts on a built in help operator mapping other operators to docstrings?
- evanrmurphy 16y agoThere is one in Anarki: http://github.com/nex3/arc/tree/master/help/ http://github.com/nex3/arc/tree/master/help/ Usage examples: arc> help.acons [fn] (acons x) Determines if `x' is a `cons' cell or list. Unlike 'alist, this function will return nil if given an empty list See also [[atom]] [[alist]] [[dotted]] [[isa]] [[cons]] [[list]] nil arc> help.alist [fn] (alist x) Return true if argument is a possibly empty list Unlike 'acons, this function returns t when given an empty list See also [[atom]] [[acons]] [[dotted]] [[isa]] [[cons]] [[list]] nil arc> help.afn [mac] (afn parms . body) Creates a function which calls itself with the name `self'. See also [[fn]] [[rfn]] [[aif]] [[awhen]] [[aand]] nil
- metamemetics 16y agoBtw I enjoyed your http://www.tryarc.org http://www.tryarc.org website, great job. It needs a big GET ARC button at the bottom though. Linking either to the canonical install page on arclanguage.org or the community anarki git repo. The decision is yours as to which one, no pressure ;) [ The site is an amazing piece of advertising, but it's not closing the sale :/ ]