ML programming language
Posts  1 - 1  of  1
kaveh
• Only basic functional facilities of selected environments are allowed to be used. All needed functions and data structures should be implemented.
• Document on design and working state of delivered programs should be attached.
• Consider all possible situations and discuss them even if not considered in implementation. For example all possible cases for input parameters such as NULL should be taking into account.
2. Implement the singleton function.
The problem is of determining for a general S-expression, the set of atoms which occur in that expression exactly once.
For example:
Input – s output – singletons
(A B C A B) (C NIL)
((A B)(A C)) (B C)
((A B)(A B)) NIL
Save
Cancel
Reply
 
x
OK