Skip to content

ex1 01

← Back

Basic Info

Functional Programming
└── Lab ML
    └── 0​307
        └── ex1 01.sml

Preview

(*Write a function to compute the cube of a real number*)

fun cube (x:real) = x * x * x;