supply substring function
This commit is contained in:
parent
32f29692d9
commit
1d40eb0dea
|
@ -141,7 +141,7 @@ At the REPL start-up time, some usuful built-in libraries listed below will be a
|
||||||
| 6.4 Pairs and lists | yes | `list?` is safe for using against circular list. |
|
| 6.4 Pairs and lists | yes | `list?` is safe for using against circular list. |
|
||||||
| 6.5 Symbols | yes | |
|
| 6.5 Symbols | yes | |
|
||||||
| 6.6 Characters | yes | |
|
| 6.6 Characters | yes | |
|
||||||
| 6.7 Strings | yes | `substring` is not provided |
|
| 6.7 Strings | yes | |
|
||||||
| 6.8 Vectors | yes | |
|
| 6.8 Vectors | yes | |
|
||||||
| 6.9 Bytevectors | yes | |
|
| 6.9 Bytevectors | yes | |
|
||||||
| 6.10 Control features | yes | |
|
| 6.10 Control features | yes | |
|
||||||
|
|
|
@ -416,4 +416,5 @@ pic_init_str(pic_state *pic)
|
||||||
pic_defun(pic, "string-copy!", pic_str_string_copy_ip);
|
pic_defun(pic, "string-copy!", pic_str_string_copy_ip);
|
||||||
pic_defun(pic, "string-append", pic_str_string_append);
|
pic_defun(pic, "string-append", pic_str_string_append);
|
||||||
pic_defun(pic, "string-fill!", pic_str_string_fill_ip);
|
pic_defun(pic, "string-fill!", pic_str_string_fill_ip);
|
||||||
|
pic_defun(pic, "substring", pic_str_string_copy);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue