Changeset 38200 in project


Ignore:
Timestamp:
02/25/20 16:48:54 (5 weeks ago)
Author:
juergen
Message:

pseudolists docu updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/pseudolists

    r37771 r38200  
    1818in a length routine.
    1919
    20 For simplicity, we have arrenged things in such a way, that routines,
    21 which create a pseudolist, in fact create a proper list. If you want an
    22 atom instead of the empty list as sentinel, simply append this atom to
    23 the routine's result.
     20For simplicity, we have arranged things in such a way, that routines,
     21which create a pseudolist, in fact create a proper list; the exception
     22is pl-maker. If you want an atom instead of the empty list as sentinel,
     23simply append this atom to the routine's result with (apply pl-maker
     24atom lst).
    2425
    2526Most functions in this module are written in curried and uncurried form.
     
    4142documentation procedure. The first call shows the list of exported
    4243routines, the second documentation of the routine with symbol sym.
     44
     45==== pl-maker
     46
     47<procedure>(pl-maker sentinel . args)</procedure>
     48
     49creates a pseudolist with given sentinel from the rest argument
    4350
    4451==== pl?
     
    321328== Last update
    322329
    323 Jul 08, 2019
     330Feb 25, 2020
    324331
    325332== Author
     
    329336== License
    330337
    331  Copyright (c) 2019, Juergen Lorenz
     338 Copyright (c) 2020, Juergen Lorenz
    332339 All rights reserved.
    333340
     
    359366
    360367== Version History
    361 
     368; 1.4 : pl-maker added
    362369; 1.3 : sentinel-options removed, all constructors create ordinary lists
    363370; 1.2 : macro pl-for renamed pl-collect
Note: See TracChangeset for help on using the changeset viewer.