Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Exercises his chapter, we have used the SML/NJ language system in an in- Throughout t teractive mode. For longer examples, it makes more sense to
Exercises his chapter, we have used the SML/NJ language system in an in- Throughout t teractive mode. For longer examples, it makes more sense to store your function definitions in a file. Once you have created a file containing a definition or defini- tions, you can load it into an ML session by using the predefined use function. For example, if you have created a file named assign1.sml in the current directory you can run your ML language system and type use "assignl.sml" ; after the prompt. The ML language system will read the contents of the file just as if you had typed it one line at a time. After use finishes, you can continue typing interactive ML expressions, for example, to test the functions defined in your file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started