Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

For you lispers out there

Name: Anonymous 2014-08-30 11:18

When I'm programming in C, I do something like this:

int result;

result = operation(x,y,z);

if (result) return ERR_CODE;

When I look at lisp, there doesn't seem to be any error evaluation or SEH. How do you handle errors in lisp?

Name: Anonymous 2014-09-02 17:38

>>13
Common lisp uses function `signal`, which is like setcontext() a circumcised version of call/cc
http://www.gigamonkeys.com/book/beyond-exception-handling-conditions-and-restarts.html

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List