From 85a20b4cb1e62ab456771c72ca019fb3d2ad0dab Mon Sep 17 00:00:00 2001 From: Arthur Maciel Date: Sun, 24 Jan 2021 14:18:03 -0300 Subject: [PATCH] Initial draft for Scheme code conventions --- docs/Scheme-code-conventions.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/Scheme-code-conventions.md b/docs/Scheme-code-conventions.md index cabe9a0b..a66732ef 100644 --- a/docs/Scheme-code-conventions.md +++ b/docs/Scheme-code-conventions.md @@ -118,6 +118,10 @@ For most `operator`s, `operand1` determines the alignment of the other `operand` (if (this-is-too-long-to-go-in-one-line) (do-this) (do-other-things)) + +(export proc1 + var1 + var2) ``` If `operand1` is put in a different line from `operand`'s, it should be generally bellow `operand` (exceptions are discussed soon). @@ -150,6 +154,11 @@ If `operand1` is put in a different line from `operand`'s, it should be generall (this-is-too-long-to-go-in-one-line) (do-this) (do-other-things)) + +(export + proc1 + var1 + var2) ``` The same applies when the `operator` is a list, so