<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi. Often I see the following pattern to build function "pipelines":<br>
<blockquote>x = f1 . f2 $ fn arg<br>
</blockquote>
They use the "$" just before the last function call. I never got
much into it: when to use the "." or the "$"? I think today I
figured it out: <br>
=> "." is a function composition operator: used to "merge"
functions; <br>
=> "$" is a function application operator: used to apply a
function to its arguments. <br>
<br>
If this reasoning is correct, I think the following should be a more
adequate pattern: <br>
<blockquote>x = f1 . f2 . fn $ arg<br>
</blockquote>
To merge/compose all functions first and apply the composed function
to its parameter(s). <br>
Am I correct on this? Thx<br>
<br>
</body>
</html>