20 likes | 303 Views
Compile and Run Ada Program. Save package specification as *.ads Save package body as *.adb Save your client procedure as client.adb Compile gnatmake client.adb Run ./client. ML Practices. Write the length function in ML How to handle nested list?
E N D
Compile and Run Ada Program • Save package specification as *.ads • Save package body as *.adb • Save your client procedure as client.adb • Compile • gnatmake client.adb • Run • ./client
ML Practices • Write the length function in ML • How to handle nested list? • Difficult because a list in ML must be homogeneous • Use datatype and mutually recursive functions