DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
3+9 =
Submit