Changeset 35308 in project


Ignore:
Timestamp:
03/17/18 18:11:45 (4 months ago)
Author:
juergen
Message:

simple-cells 1.3 docu with cell-of

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/simple-cells

    r33862 r35308  
    4343Type predicate.
    4444
     45==== cell-of?
     46
     47<procedure>((cell-of? ok?) xpr)</procedure>
     48
     49is xpr a cell which passes the ok? test?
     50
    4551=== Requires
    4652
     
    5359(use simple-cells simple-exceptions)
    5460
    55 (define o% (cell 5 number? odd?))
     61(define o% (cell 5 integer? odd?))
    5662(cell? o%) ; -> #t
     63((cell-of? number?) o%) ; -> #t
     64((cell-of? even?) o%) ; -> #f
    5765(o%) ; -> 5
    5866(condition-case (o% 4) ((exn arguments) #f)) ; -> #f
     
    7179== Last update
    7280
    73 Feb 17, 2017
     81Mar 17, 2018
    7482
    7583== Author
     
    7987== License
    8088
    81  Copyright (c) 2017, Juergen Lorenz
     89 Copyright (c) 2017-2018, Juergen Lorenz
    8290 All rights reserved.
    8391
     
    109117
    110118== Version History
     119; 1.3 : cell-of? added
    111120; 1.2.1 : dependency on simple-exceptions updated
    112121; 1.2 : now working with simple-exceptions 0.5
Note: See TracChangeset for help on using the changeset viewer.