Scala: Reversing A Singularly Linked List
15 December 2010 Comments off
Reading time:
1 minute
Word count:
144
Hello Everyone Here is a Scala application example that demonstrate how to reverse a singularly linked list. The example program above demonstrates the following salient points: Scala’s syntax for use of case instance classes that reduce the boiler plate and add syntax sugar to ordinary object classes. (LinkedNode) One can declare case object class […]