rename benz's call/cc to escape in (picrin control)

This commit is contained in:
zeptometer 2015-01-26 15:03:04 +09:00
parent 303041abc5
commit 4972de640f
1 changed files with 4 additions and 0 deletions

View File

@ -287,6 +287,10 @@ pic_callcc_callcc(pic_state *pic)
void
pic_init_callcc(pic_state *pic)
{
pic_deflibrary (pic, "(picrin control)") {
pic_define(pic, "escape", pic_ref(pic, pic->PICRIN_BASE, "call-with-current-continuation"));
}
pic_deflibrary (pic, "(scheme base)") {
pic_redefun(pic, pic->PICRIN_BASE, "call-with-current-continuation", pic_callcc_callcc);
pic_redefun(pic, pic->PICRIN_BASE, "call/cc", pic_callcc_callcc);