chibi-scheme
chibi-scheme copied to clipboard
Document API arguments
I've just been confused by the API sexp_string_ref procedure. I'd assumed it
would take a Scheme string and a C integer as an argument, and return a C
integer. Nope. I had to grep the source code to figure out that it takes a
Scheme string and a Scheme fixnum and returns a Scheme character (which is a
pretty odd way of accessing bytes in UTF-8 string). Can you document the
argument types for this and other similar functions? Thanks.
Original issue reported on code.google.com by [email protected] on 20 Jul 2013 at 12:04
I've addressed this for strings, but will leave the bug open and review
other sections before making a release.
Original comment by [email protected] on 21 Jul 2013 at 6:10