Changeset 8312 in project


Ignore:
Timestamp:
02/09/08 22:48:19 (12 years ago)
Author:
Kon Lovett
Message:

Added left & right section. Simple but useful.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/Unit extras

    r8295 r8312  
    870870
    871871
    872 
    873872==== each
    874873
     
    946945A single value version of {{compose}} (slightly faster). {{(o)}} is equivalent
    947946to {{identity}}.
     947
     948
     949==== left-section
     950
     951 [procedure] (left-section PROC ARG ...)
     952
     953A left section partially applies arguments starting from the left.
     954
     955Returns a procedure of varying arity in which some prefix of its arguments,
     956{{ARG ...}}, are partially applied to {{PROC}}.
     957
     958
     959==== right-section
     960
     961 [procedure] (right-section PROC ARG ...)
     962
     963A right section partially applies arguments starting from the right.
     964
     965Returns a procedure of varying arity in which some reversed suffix of its
     966arguments, {{ARG ...}}, are partially applied to {{PROC}}.
     967
    948968
    949969=== Binary searching
Note: See TracChangeset for help on using the changeset viewer.