File: supercomp04.curry

package info (click to toggle)
curry-tools 1.0.1%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,492 kB
  • ctags: 121
  • sloc: makefile: 470; sh: 421
file content (3 lines) | stat: -rw-r--r-- 77 bytes parent folder | download | duplicates (2)
1
2
3
goal x = PEVAL (fcase x of 3 -> x + x ; 4 -> x * x)

main = goal (2 ? 3 ? 4)