I wanted to define a class in lisp its very simple in the c++ the code would be something like this
class intersection{
int distance;
int fuel;
char node1;
char node2;
};
how can i write this in lisp and define objects from it
Thank you
Use the Common Lisp Object System, a part of ANSI Common Lisp.