rfc:pipe-operator

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
rfc:pipe-operator [2016/07/20 23:39] – Bump to 0.2; Rephrased proposal around fluent expressions. pollitarfc:pipe-operator [2017/09/06 02:36] – Small typo fix haskellcamargo
Line 25: Line 25:
   $config = loadConfig();   $config = loadConfig();
   $dic = buildDic($config);   $dic = buildDic($config);
-  $app = getApp($dic) +  $app = getApp($dic); 
-  $router = getRouter($app) +  $router = getRouter($app); 
-  $dispatcher = getDispatcher($router, $request) +  $dispatcher = getDispatcher($router, $request); 
-  $logic = dispatchBusinessLogic($dispatcher, $request, new Response()) +  $logic = dispatchBusinessLogic($dispatcher, $request, new Response()); 
-  $render = renderResponse($logic) +  $render = renderResponse($logic); 
-  $psr7 = buildPsr7Response($render)+  $psr7 = buildPsr7Response($render);
   $response =emit($psr7);     $response =emit($psr7);  
  
Line 37: Line 37:
   $x = loadConfig();   $x = loadConfig();
   $x = buildDic($x);   $x = buildDic($x);
-  $x = getApp($x) +  $x = getApp($x); 
-  $x = getRouter($x) +  $x = getRouter($x); 
-  $x = getDispatcher($x, $request) +  $x = getDispatcher($x, $request); 
-  $x = dispatchBusinessLogic($x, $request, new Response()) +  $x = dispatchBusinessLogic($x, $request, new Response()); 
-  $x = renderResponse($x) +  $x = renderResponse($x); 
-  $x = buildPsr7Response($x)+  $x = buildPsr7Response($x);
   $response =emit($x);     $response =emit($x);  
  
Line 183: Line 183:
  
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
-Adopt the PIpe Operator yes/no?  Requires a 2/3 + 1 majority.+Adopt the Pipe Operator yes/no?  Requires a 2/3 + 1 majority.
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
rfc/pipe-operator.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1