Image:Purely functional list after.gif

From Wikipedia, the free encyclopedia

Purely functional list, adapted from Okasaki (but redrawn by me using graphviz).

Here is the original DOT file:

digraph G {
       xs[shape=plaintext];
       xs -> 0;
       0 -> 1;
       1 -> 2;

       ys[shape=plaintext];
       ys -> 3;
       3 -> 4;
       4 -> 5;

       zs[shape=plaintext];
       02[label="0"];
       12[label="1"];
       22[label="2"];
       zs -> 02;
       02 -> 12;
       12 -> 22;
       22 -> 3;
}

I used:

dot -Tps file.dot |
  gs -sDEVICE=ppm -r300x300 -sOutputFile=file.ppm -dNOPAUSE

Then I used xv to crop the PPM file, scale it to 20% original size, smooth it, and convert to a GIF.

I, User:Richard W.M. Jones, hereby release this image under the GFDL.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current17:03, 27 March 2005194×397 (5 KB)Richard W.M. Jones (Talk | contribs) (Purely functional list, adapted from Okasaki (but redrawn by me using graphviz). Here is the original DOT file: digraph G { xs[shape=plaintext]; xs -> 0; 0 -> 1; 1 -> 2; ys[shape=plaintext]; ys -> 3)

No pages on the English Wikipedia link to this file. (Pages on other projects are not counted.)