Re: type systems as libraries



On Fri, 30 Dec 2005, David Trudgett wrote:

> "RPG" <rpgoldman@xxxxxxxxx> writes:
>
> > Drew McDermott has done this as part of his suite of Yale tools for
> > lisp. Have a look at the software documentation and software tools on
> > his page at http://cs-www.cs.yale.edu/homes/dvm/
>
> Checking out a few of the pages there, I came across this one about
> CL's FORMAT:
>
> http://cs-www.cs.yale.edu/homes/dvm/format-stinks.html
>
> I think he has a good point there, and it seems to me that FORMAT is
> extremely unlispy, even more so than loop (if such a comparison is
> possible). On the other hand, I don't notice FORMAT's unlispiness
> threatening to transform my Lisp programs into C evilness... so maybe
> it's acceptable.
>
> What are people's thoughts on this? Does anyone actually go out of
> their way to avoid FORMAT?

I'm pretty novice at lisp still, but format is one of those
things I have to look up basically every time I use it. It
is pretty unintuitive, at least at first.
.



Relevant Pages

  • Re: type systems as libraries
    ... > Drew McDermott has done this as part of his suite of Yale tools for ... Have a look at the software documentation and software tools on ... I think he has a good point there, and it seems to me that FORMAT is ... threatening to transform my Lisp programs into C evilness... ...
    (comp.lang.lisp)
  • Re: Rewrap "> " lines from file ?
    ... Common Lisp, as that is much easier to use for stand-alone processing. ... Anyway, once you have paragraphs, you can use a fancy Common Lisp format ... A fancier form of this function would allow you to specify the prefix ... language, then what you should do is write a rule-based reformatter, and ...
    (comp.lang.lisp)
  • Re: editor for direct editing of the syntax tree: possible?
    ... but the raw structure of lisp sources are BINARY ... So you need to have an idea of the abstract syntax, ... how to indent the source. ... since the user must format the text like in any other emacs. ...
    (comp.lang.lisp)
  • Re: So what is the right way to write string.join?
    ... After giving up on format as being too cute, ... (The fact that concatenate takes the things to concatenate as a restarg is starting to look like a bad design decision.) ... So what is the Right Way to write this function in Lisp, where Right Way is defined as the way that produces reasonable runtime performance with no arbitrary limit on the size of the input list without writing too much code. ...
    (comp.lang.lisp)
  • Newbee: Lispy alternatives for configuration information file
    ... I currently have a program that stores configuration information ... in a modified window's INI file format. ... read at runtime and loads internal values and arrays. ... to utilize the lisp reader facilities, but not make the data appear ...
    (comp.lang.lisp)