4 ms·
This delimiter first pattern is used a lot in Ocaml code as well: Records: https://github.com/janestreet/base/blob/master/src/avltree.ml#L21 https://github.com
by sweetsocks21 4y ago
This delimiter first pattern is used a lot in Ocaml code as well:
Records:
https://github.com/janestreet/base/blob/master/src/avltree.ml#L21 https://github.com/janestreet/base/blob/master/src/avltree.m...
If statements:
https://github.com/janestreet/base/blob/master/src/string.ml#L84 https://github.com/janestreet/base/blob/master/src/string.ml...
Lists:
https://github.com/janestreet/base/blob/master/src/string.ml#L175 https://github.com/janestreet/base/blob/master/src/string.ml...
Function calls:
https://github.com/janestreet/base/blob/master/src/string.ml#L219 https://github.com/janestreet/base/blob/master/src/string.ml...
Type definitions:
https://github.com/janestreet/base/blob/master/src/array.ml#L61 https://github.com/janestreet/base/blob/master/src/array.ml#...
It's not always used, shorter snippets tend to be all on one line.