Singly-linked list/Element definition: Difference between revisions
Content deleted Content added
Added Clean example |
|||
Line 53: | Line 53: | ||
Note that the generic version works for any type, not only integral types. |
Note that the generic version works for any type, not only integral types. |
||
==[[Clean]]== |
|||
[[Category:Clean]] |
|||
import StdMaybe |
|||
:: Link t = { next :: Maybe (Link t), data :: t } |
|||
==[[Delphi / Object Pascal / Turbo Pascal / Standard Pascal]]== |
==[[Delphi / Object Pascal / Turbo Pascal / Standard Pascal]]== |