Singly-linked list/Element definition: Difference between revisions
Content added Content deleted
(Perl) |
|||
Line 60: | Line 60: | ||
:: Link t = { next :: Maybe (Link t), data :: t } |
:: Link t = { next :: Maybe (Link t), data :: t } |
||
==[[Delphi / Object Pascal / Turbo Pascal / Standard Pascal]]== |
==[[Delphi]] / [[Object Pascal]] / [[Turbo Pascal]] / Standard [[Pascal]]== |
||
[[Category:Delphi]] |
[[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. |
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. |