I tiene un F # función: let removeEven (listToGoUnder : _ list) =
let rec listRec list x =
match list with
| [] -> []
| head::tail when (x%2 = 0) -> head :: listRec (tail) (x+1)
¿Es posible aplicar parcialmente una función como bprintf y evitar que se restrinja en función de su uso inicial? me gustaría hacer lo siguiente: let builder = new System.Text.StringBuilder()
let app
He leído todas las pistas sobre la restricción de valores en F #, pero todavía no lo entiendo. Tengo el siguiente código: type tree<'a> =
| Nil
| Node of (tree<'a> * 'a * tree<'a>)
let rec