Anonymous user
Singly-linked list/Element definition: Difference between revisions
Singly-linked list/Element definition (view source)
Revision as of 10:41, 13 April 2007
, 17 years agoAdded Clean example
(Added Clean example) |
|||
Line 53:
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]]==
|