Content deleted Content added
→Go: copy edting, etc. |
→Haskell: copy editing and linking |
||
Line 469:
</syntaxhighlight>
===
The [[Haskell (programming language
<syntaxhighlight lang="Haskell">
Line 480:
Just "555-1212"
Note that the lookup function returns a "Maybe" value, which is "Nothing" if not found, or "Just
[[Glasgow Haskell Compiler|GHC]], the most commonly used implementation of Haskell, provides two more types of associative containers. Other implementations might also provide these.
Line 515:
Just "555-1212"
Lists of pairs and functional maps both provide a purely functional interface, which is more idiomatic in Haskell. In contrast, hash tables provide an imperative interface in the [[Monad_(functional_programming)#IO_monad|IO monad]].
=== [[Java (programming language)|Java]] ===
|