Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
This example is made by John Fitgerald and Peter Gorm Larsen and it
is used in the chapter about recursion in the second edition of the 
VDM-SL book. It contains a number of examples for recursive graph 
structures and functionality over such graphs.

#******************************************************
#  AUTOMATED TEST SETTINGS
#------------------------------------------------------
#AUTHOR= John Fitzgerald and Peter Gorm Larsen
#LANGUAGE_VERSION=classic
#INV_CHECKS=true
#POST_CHECKS=true
#PRE_CHECKS=true
#DYNAMIC_TYPE_CHECKS=true
#SUPPRESS_WARNINGS=false
#ENTRY_POINT= DEFAULT`AllLabDesc(lgraph,1)
#EXPECTED_RESULT=NO_ERROR_TYPE_CHECK
#******************************************************
New to GrepCode? Check out our FAQ X