Skip to content
This repository
Browse code

uncuddle maybes to avoid need for ;

discovered by diakopter++
  • Loading branch information...
commit a9f9c60e33f715895323db1465ba4da26d30730d 1 parent 0a50011
Larry Wall authored September 11, 2012

Showing 1 changed file with 8 additions and 5 deletions. Show diff stats Hide diff stats

  1. 13  S17-concurrency.pod
13  S17-concurrency.pod
Source Rendered
@@ -16,8 +16,8 @@ DRAFT: Synopsis 17: Processes and Concurrency
16 16
 
17 17
     Created: 13 Jun 2005
18 18
 
19  
-    Last Modified: 10 Jul 2010
20  
-    Version: 5
  19
+    Last Modified: 11 Sept 2012
  20
+    Version: 6
21 21
 
22 22
 This draft document is a paste together from various sources.  The bulk of it is simply
23 23
 the old S17-concurrency.pod, which dealt only with concurrency.  Signals were added from
@@ -338,7 +338,8 @@ needing a migration path?)
338 338
 
339 339
     contend {
340 340
         # ...
341  
-        maybe { c() } maybe { d() };
  341
+        maybe { c() }
  342
+        maybe { d() }
342 343
         # ...
343 344
     }
344 345
 
@@ -372,11 +373,13 @@ be followed when a C<defer> is done.  For example:
372 373
         ...
373 374
         some_condition() or defer;
374 375
         ...
375  
-    } maybe {
  376
+    }
  377
+    maybe {
376 378
         ...
377 379
         some_other_condition() or defer;
378 380
         ...
379  
-    } maybe {
  381
+    }
  382
+    maybe {
380 383
         ...
381 384
     }
382 385
 

0 notes on commit a9f9c60

Please sign in to comment.
Something went wrong with that request. Please try again.