Is there any difference between an N-ary function in Curry and an N+1-ary relation in Prolog?

后端 未结 0 594
面向向阳花
面向向阳花 2020-12-17 16:19

Curry, unlike its cousin Haskell, allows you to give multiple values to a function:

foo 1 2 = 3
foo 1 2 = 4

and it does backtracking to explo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题