diff options
Diffstat (limited to 'notes/zero-values.md')
| -rw-r--r-- | notes/zero-values.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/notes/zero-values.md b/notes/zero-values.md new file mode 100644 index 0000000..3a1eecb --- /dev/null +++ b/notes/zero-values.md @@ -0,0 +1,11 @@ +# Return zero values when there's nothing to return + +This is only a minor point: + +It's a long-running pet peeve of mine that R5RS Scheme specifies "an +unspecified value" to be returned when there's nothing meaningful to +return. It's a remnant from before we had the ability to return +multiple values, and should be eliminated. + +Any operation that has nothing meaningful to return, will return zero +values in Zisp, and no more. |
