Anonymous user
Singly-linked list/Element definition: Difference between revisions
Singly-linked list/Element definition (view source)
Revision as of 18:43, 16 September 2007
, 16 years ago→[[Delphi / Object Pascal / Turbo Pascal / Standard Pascal]]
(Perl) |
|||
Line 60:
:: Link t = { next :: Maybe (Link t), data :: t }
==[[Delphi]] / [[Object Pascal]] / [[Turbo Pascal]] / Standard [[Pascal]]==
[[Category:Delphi]]
[[Category:Pascal]]
A simple one way list. I use a generic pointer for the data that way it can point to any structure, individual variable or whatever.
|