3 ms·
Of course. But what I'm not used to is seeing something like this: cin >> foo(x);
by umvi 8y ago
Of course. But what I'm not used to is seeing something like this:
cin >> foo(x);
- cercatrova 8y agoThis is common in many functional languages, and even in the shell. Think of pipes such as input | sed ... | grep ..., or in F#, xs |> List.map (fun x -> x.Value). Basically, each input goes into the function and is piped through to get to the output.