http://code.google.com/p/noop/
Noop (pronounced noh-awp, like the machine instruction) is a new language that attempts to blend the best lessons of languages old and new, while syntactically encouraging industry best-practices and discouraging the worst offenses. Noop is initially targeted to run on the Java Virtual Machine.
What's...
Pouring over the release notes regarding jQuery 1.4, I came acrosss $.noop() which is:
Description: An empty function. (added in 1.4)
You can use this empty function when you wish to pass around a function that will do nothing.
Perhaps I'm missing something profound here, but what exactly is a practical use of passing around a...
I just found the existence of qt_noop() define in the qglobal.h as:
inline void qt_noop() {}
What's the point of it?
...
I realize this is a ludicrous question for something that takes less than 2 seconds to implement. But I vaguely remember reading that one was introduced with the new standard.
I grep'ed VC10's headers and came up with nothing. Can you help? It's bugging me! :)
edit:
On second thought, the new functor I was remembering was probably the ...
Hello,
just a fast hint: I want to print a list of strings and I was going to do it by pattern matching just to get into this powerful functionality, how can I express the "do-nothing-but-return-unit" operation?
What I mean is
let print_nodes nodes =
match nodes with
[] -> (* here i want to noop *)
| s :: t -> print_string s;...