practicalli / clojure

Practicalli Clojure REPL Driven Development
https://practical.li/clojure/
Creative Commons Attribution Share Alike 4.0 International
89 stars 36 forks source link

Clojure documentation convensions #452

Open practicalli-johnny opened 1 year ago

practicalli-johnny commented 1 year ago

core libraries use the following conventions when naming arguments

f, g, h - function n - integer, usually a size index, i - integer index x, y - numbers xs - sequence m - map s - string re - regular expression coll - a collection pred - a predicate closure & more - variable number of arguments