Re:Everyday hassles in Go
by sbergot on Tuesday December 30, 2014 @07:40AM
(#8814321)
I disagree. You are merely used to different conventions. In haskell, symbols starting with an uppercase are types (or Constructors). You can think about Map as a type constructor which takes two other types as its arguments. So Map Foo Bar is a Map with Foo as keys and Bar as values.
In the go version [] is used for both indexing and type definition.
In the go version [] is used for both indexing and type definition.