【发布时间】:2018-12-05 07:10:36
【问题描述】:
对于下一个代码,我遇到了错误:
fun epoly(L:real list, x:real)=
= if L = [] then 0.0 else (epoly(tl(L:real list), x:real));;
错误:
stdIn:42.1-42.57 Error: operator and operand don't agree [equality type required]
operator domain: ''Z * ''Z
operand: real list * 'Y list
in expression:
L = nil
【问题讨论】:
-
你没有问任何问题。