Why does the following function not end?
(* funct1 is a different function that does end *)
fun funct(a,b::bs)=let val c=a in funct1(c,a,b::bs);
= ;
= ;
= ;
= ;
stdIn:15.54-17.2 Error: syntax error: deleting SEMICOLON SEMICOLON SEMICOLON
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The error message is really instructive in this case. The function does not end because you need
endkeyword instead of;. This is the syntax forlet...in...endblock in SML.