Changeset 3929


Ignore:
Timestamp:
Sep 18, 2008, 5:45:55 PM (12 years ago)
Author:
orlov
Message:
  • Fixed example.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • to-imperative/trunk/samples/parfib.rf

    r3926 r3929  
    22
    33$tfunc ParMap s.granule e.list = e.list;
    4 ParMap s.granule s.func e.list, {
     4ParMap s.granule e.list, {
    55        <Left 0 s.granule e.list> :: e.head, <Middle s.granule 0 e.list> :: e.tail,
    6                 <ParMap s.granule s.func e.tail> :: e.tail, <MapFib e.head> :: e.head,
     6                <ParMap s.granule e.tail> :: e.tail, <MapFib e.head> :: e.head,
    77                e.head e.tail;
    88        <MapFib e.list>;
     
    2323
    2424Main =
    25         <WriteLn <ParMap 3 &Fib 21 22 23 24 25 26 27 28 29 30>>;
     25        <WriteLn <ParMap 3 21 22 23 24 25 26 27 28 29 30>>;
    2626
Note: See TracChangeset for help on using the changeset viewer.