Re: a history question

From: Arjen Markus (arjen.markus_at_wldelft.nl)
Date: 09/29/04


Date: Wed, 29 Sep 2004 16:02:28 +0200

Paul Van Delst wrote:
>
> Arjen Markus wrote:
> > Richard Edgar wrote:
> >
> >
> >>I'm not certain of the answer to either question - although I very much
> >>doubt that the second one is possible, given that as things stand I have
> >>to reimplement a linked list for every new datatype.
> >>
> >>Richard
> >
> > Ah, that is not quite true: I have built a small library for dealing with
> > trees. I can store any data type in the nodes of these trees. The trick is
> > to use the not-so-well-known intrinsic function transfer().
>
> Oo... care to elaborate on the details? I put some linked-list code together for a
> particular application/data type, but I would really love to use the list code for other,
> arbitrary data types (without writing interfaces for each one).
>
> cheers,
>
> paulv

I can send you the source code - at least an early but very much working
version of it.
(I may even be tempted to write about it in a Fortran Forum article :))

Regards,

Arjen



Relevant Pages

  • Re: a history question
    ... > Arjen Markus wrote: ... I can store any data type in the nodes of these trees. ...
    (comp.lang.fortran)
  • Re: a history question
    ... >>to reimplement a linked list for every new datatype. ... I can store any data type in the nodes of these trees. ... I put some linked-list code together for a ...
    (comp.lang.fortran)
  • maths
    ... but does some tricky maths using polymorphic binary data ... data type definitions and binary trees a pain. ... only fit to be slaves. ...
    (microsoft.public.dotnet.languages.csharp)
  • TRANSFER() & friends (was Re: a history question)
    ... I can store any data type in the nodes of these trees. ... and even the REAL to INTEGER equivalence ...
    (comp.lang.fortran)
  • Re: a history question
    ... Richard Edgar wrote: ... > Arjen Markus wrote: ... >> done as a string indicating the data type), but the thing is that the ... If you want a tree that holds only integers, yes, but you can use it to ...
    (comp.lang.fortran)