Fork me on GitHub
#beginners
<
2015-12-18
>
drewverlee01:12:59

One thing that always trips me up with a new language is how to read the docs. Take this for example: https://clojuredocs.org/clojure.core/update What does 'm' stand for in (update m k f)? its not mentioned in the doc anywhere i can see. Im i just missing it?

noonian01:12:32

m stands for “map” simple_smile

noonian01:12:32

there are a few standard variable names like that you will see, k and v for “key” and “value”, f for “function” and so on

drewverlee01:12:16

thats the first time i have seen map abbreviated to m.

donaldball01:12:10

The clojure core docstrings tend to be terse and not super beginner friendly

seancorfield02:12:04

c for collection and s for sequence are common too.

codonnell03:12:53

@drewverlee: there are some good docs at http://conj.io/ too

trancehime12:12:33

When a form is passed through Compojure "params" and a field is empty, is it "nil" or ""