Noob - Getting Started Infinte Loop?

Nick Linker xlcr@REDACTED
Wed Aug 30 13:40:26 CEST 2006


fbg111 wrote:

Should be

	listlen([First|TheRest]) -> 1 + listlen(TheRest).

Previous variant builds infinitely nested list.

Best regards, 
Nick.




More information about the erlang-questions mailing list