You are viewing a single comment's thread. Return to all comments →
f# matching function
let ToPositif value = match value with | v when v < 0 -> -v | v -> v
let f arr = List.map(ToPositif) arr
Update List
You are viewing a single comment's thread. Return to all comments →
f# matching function
let f arr = List.map(ToPositif) arr