I have googlet a bit, and I haven't found what I was looking for. As expected. My question is, is it possible to define a F# pipeline placeholder? What I want is something like _ in the following:
let func a b c = 2*a + 3*b + c
2 |> func 5 _ 6
Which would evaluate to 22 (2*5 + 3*2 + 6).
For comparison, check out the magrittr
R package: https://github.com/smbache/magrittr
func
took a tuple:func (a,b,c)
. Consider what the fsi shows you when you type your functionval func : a:int -> b:int -> c:int -> int
, which means that you must define b in order to get the function which takes c. – Fulcher