Changeset 39066 in project


Ignore:
Timestamp:
10/19/20 22:49:26 (7 weeks ago)
Author:
Kon Lovett
Message:

rel 3.0.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/5/amb

    r39048 r39066  
    109109
    110110{{amb}} wraps all its parameters into thunks and passes a list of them into
    111 this procedure, {{amb/random}} shuffles the list first.
     111this procedure.
    112112
    113113=== amb-thunks-shuffled
     
    115115<procedure>(amb-thunks-shuffled THUNKS) -> TOP</procedure>
    116116
    117 As {{amb-thunks}} after {{(shuffle THUNKS
     117The backend of {{amb/random}}.
     118
     119As {{amb-thunks}}, but after shuffling the {{THUNKS}}, using the
     120{{(amb-random-function)}}.
    118121
    119122=== amb-find-thunk
     
    134137{{amb-collect}} wraps its parameter into a thunk and passes it into this
    135138procedure.
    136 
    137 ==== shuffle
    138 
    139 <procedure>(shuffle LS RAND) -> list</procedure>
    140 
    141 Returns a new {{list}} from the randomly-shuffled elements of {{LS}}.
    142 
    143 {{RAND}} is a procedure returning a random {{integer}} in {{[0, N-1]}}.
    144139
    145140
     
    280275== Version history
    281276
     277; 3.0.3 : Remove {{shuffle}} export.
    282278; 3.0.2 : Remove dependencies, add {{srfi-1}}.
    283279; 3.0.1 : .
Note: See TracChangeset for help on using the changeset viewer.