# Check your F# skills

Below is a naive definition of **natural power** function:

let power n (``base``: bigint) = [1..n] |> List.fold (fun product _ -> ``base`` * product) 1I

It multiplies **base** by itself **n** times.

Without FSI/FS find out what would be returned if **power** is called with **n = 0**?

Advertisements

Leave a Comment