File: function_definition_example_dollar.k

package info (click to toggle)
kimwitu-doc 10a-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 1,192 kB
  • ctags: 341
  • sloc: makefile: 166; yacc: 125; ansic: 40; lex: 18; sh: 2
file content (4 lines) | stat: -rw-r--r-- 106 bytes parent folder | download | duplicates (3)
1
2
3
4
int len(exprlist $el) {
	Nilexprlist:				{ return 0; }
	tt = Consexprlist(*, t):	{ return len(t) + 1; }
}