[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

optional argument notation

This page is part of the web mail archives of SRFI 14 from before July 7th, 2015. The new archives for SRFI 14 contain all messages, not just those from before July 7th, 2015.



I notice that in all of your documents (including SRFI-1) you use this
notation for optional arguments:

    string-hash    s [bound start end] -> integer

I find this notation to be missleading because it suggests that you
can only pass one or four parameters (but I believe you want 1, 2, or
4).  So you should write:

    string-hash    s [bound [start end]] -> integer

Marc