ocaml / omd

extensible Markdown library and tool in "pure OCaml"
ISC License
156 stars 45 forks source link

refactor: use labelled arguments #276

Closed tatchi closed 2 years ago

tatchi commented 2 years ago

Just because I find it easier to track what's happening in this recursive function with the labelled arguments. Without the labels, you always have to remember the order of these two booleans' arguments and what's their meaning.