Login
|
Signup
langref.org
-
fsharp
add..
all
clojure
cpp
csharp
erlang
fantom
go
groovy
haskell
java
ocaml
perl
php
python
ruby
scala
Home
All
Solved
Unsolved
Strings
Numbers
Regex
Lists
Maps
Structure
Files
Dates
OOP
Networking
XML
Algorithms
Misc
Parallel
View Problem
Maps
Declaration
Define an empty map
fsharp
let map = Map.empty
#light
open System
open System.Collections
let map = Map.empty
fsharp
let map = new Generic.Dictionary<string, string>()
#light
open System
open System.Collections
let map = new Generic.Dictionary<string, string>()
fsharp
let map = new Hashtable()
#light
open System
open System.Collections
let map = new Hashtable()
Submit a new solution for
fsharp
There are 24 other solutions in
additional
languages (
clojure
,
cpp
,
erlang
,
fantom
...)