Changeset 11923 in project for chicken


Ignore:
Timestamp:
09/08/08 00:13:17 (11 years ago)
Author:
Kon Lovett
Message:

Some doc for added combinators

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/manual/Unit data-structures

    r10796 r11923  
    420420
    421421
     422==== none?
     423
     424 [procedure] (none? X)
     425
     426Ignores its argument and always returns {{#f}}. This is actually useful sometimes.
     427
     428
     429==== always?
     430
     431 [procedure] (always? X)
     432
     433Ignores its arguments and always returns {{#t}}. This is actually useful sometimes.
     434
     435
     436==== never?
     437
     438 [procedure] (never? X)
     439
     440Ignores its arguments and always returns {{#f}}. This is actually useful sometimes.
     441
     442
    422443==== constantly
    423444
     
    483504
    484505
    485 
    486506==== each
    487507
     
    559579A single value version of {{compose}} (slightly faster). {{(o)}} is equivalent
    560580to {{identity}}.
     581
     582
     583==== left-section
     584
     585 [procedure] (left-section PROC ARG0 ...)
     586
     587Returns a procedure that partially applies some of its' arguments starting from the left.
     588
     589{{PROC}} a procedure.
     590
     591{{ARG0 ...}} some prefix of the arguments for {{PROC}}.
     592
     593
     594==== right-section
     595
     596 [procedure] (right-section PROC ARG0 ...)
     597
     598Returns a procedure that partially applies some of its' arguments starting from the right.
     599
     600{{PROC}} a procedure.
     601
     602{{ARG0 ...}} some reversed suffix of the arguments for {{PROC}}.
     603
     604
    561605
    562606=== Binary searching
Note: See TracChangeset for help on using the changeset viewer.