Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

f# list map function

let squares = [2; 4; 6; 8]
              |> List.map (fun n -> n * n)
// val squares : int list = [4; 16; 36; 64]
Source by bradcollins.com #
 
PREVIOUS NEXT
Tagged: #list #map #function
ADD COMMENT
Topic
Name
3+9 =