Manuel Simoni's blog about programming (languages).
assert( top( o-------o |L \ | L \ | o-------o | ! ! ! ! ! o | ! L | ! L| ! o-------o ) == ( o-------o | ! ! ! o-------o ) );
Of course, you can accomplish the same thing in Lisp as a trivial macro "shape"(assert (= (top (shape ...etc...)) (shape ...etc...)))
It may be legal, but it's not complete:$ make nonononog++ nononono.cpp -o nononononononono.cpp:1: error: expected constructor, destructor, or type conversion before '(' tokennononono.cpp:1: error: expected `,' or `;' before '(' tokenmake: *** [nononono] Error 1But you probably already knew that.
Real names (or handles), please. Anonymous comments are likely to be ignored.
Of course, you can accomplish the same thing in Lisp as a trivial macro "shape"
ReplyDelete(assert (= (top (shape ...etc...)) (shape ...etc...)))
It may be legal, but it's not complete:
ReplyDelete$ make nononono
g++ nononono.cpp -o nononono
nononono.cpp:1: error: expected constructor, destructor, or type conversion before '(' token
nononono.cpp:1: error: expected `,' or `;' before '(' token
make: *** [nononono] Error 1
But you probably already knew that.