Question: 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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!