3 ms·
I agree, the cheatsheets are great. As a Python developer. the python sheet makes me file like I could dive write in and write a gleam program by having python
by garyrob 5y ago
I agree, the cheatsheets are great. As a Python developer. the python sheet makes me file like I could dive write in and write a gleam program by having python in mind mind and looking up the gleam equivalent for each line of code.
But where it describes the map-dictionary duality, it says: "There is no map literal syntax in Gleam, and you cannot pattern match on a map. Maps are generally not used much in Gleam, custom types are more common."
But it doesn't say why or how this would be done. It seems that, if this point is going to be mentioned, there should be enough context to make it actionable.
- lpil 5y agoA good point, thank you! We'll have to refine that.