Changeset 35032 in project


Ignore:
Timestamp:
01/18/18 17:22:41 (9 months ago)
Author:
juergen
Message:

docu of basic-macros 1.3 with pseudo-list-of

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/basic-macros

    r34874 r35032  
    8585<procedure>(pseudo-list? xpr)</procedure>
    8686
    87 predicate. Note, that everything is a pseudo-list.
     87predicate. Note, that except lists everything is a pseudo-list.
     88
     89==== pseudo-list-of
     90
     91<procedure>(pseudo-list-of . preds)</procedure>
     92
     93returns a unary predicate, which tests, if its argument is
     94passed by each predicate in preds.
    8895
    8996==== pseudo-null?
     
    109116
    110117<procedure>(pseudo-tail pl k)</procedure>
     118<procedure>(pseudo-tail pl)</procedure>
    111119
    112120returns the kth tail of a pseudo-list. k must be less then or equal to pl's
    113 pseudo-length. In the latter case, the sentinel is returned.
     121pseudo-length. In the latter case, or when no k is provided,
     122the sentinel is returned.
    114123
    115124==== pseudo-head
    116125
    117126<procedure>(pseudo-head pl k)</procedure>
     127<procedure>(pseudo-head pl)</procedure>
    118128
    119129returns the kth tail of a pseudo-list. k must be less then or equal to pl's
    120 pseudo-length. In the latter case, a list with the sentinel stripped is returned.
     130pseudo-length. In the latter case, or when no k is provided,
     131a list with the sentinel stripped is returned.
    121132
    122133==== pseudo-sentinel
     
    443454== Last update
    444455
    445 Nov 07, 2017
     456Jan 18, 2018
    446457
    447458== Author
     
    451462== License
    452463
    453  Copyright (c) 2017, Juergen Lorenz (ju (at) jugilo (dot) de)
     464 Copyright (c) 2017-2018, Juergen Lorenz (ju (at) jugilo (dot) de)
    454465 All rights reserved.
    455466
     
    481492
    482493== Version History
     494; 1.3 : pseudo-list-of added, pseudo-list? redefined as not list?
    483495; 1.2 : bind-case now procedural to improve error message
    484496; 1.1 : added some additional macros from the procedural-macros egg
Note: See TracChangeset for help on using the changeset viewer.