Pipeline operator

In F#, there is a pipeline operator (|>) which allows one to write aseries of function applications in the order they are applied, likethe following example:// find all misspelled words on a particular web page, using apipelineHttpGet “http://www-static.cc.gatech.edu/classes/cs2360\_98\_summer/hw1”|> fun s -> Regex.Replace(s, “[^A-Za-z’]”, " “)|> fun s -> Regex.Split(s, " +”)|> Set.ofArray|> Set.filter (fun word -> not (Spellcheck word))|> Set.iter (fun word -> printfn " %s" word)I am wondering if such an operator exists in q. My lame attempt wasto create the following function:pipe:({y}/).;Calling it as follows:pipe (10;({x+20};{x*5}))I would love to see a more syntactically efficient way.Victor

X-Mailer: Apple Mail (2.936)On Jun 24, 2010, at 5:52 PM, Victor Wong wrote:> pipe:({y}/).;>> Calling it as follows:>> pipe (10;({x+20};{x*5}))here’s one alternative, using compose:q)pipe:{(('). reverse last x)first x}q)pipe(10;({x+20};{x*5}))150