| n when n <= 0 -> LanguagePrimitives.GenericOne
| 1 -> x
[<EntryPoint>]
let main argv =
let n
= pow 2 3 (* nは
int型に推論される
*) printfn "n=%d" n
let f
= pow 1.5 2 (* fは
float型に推論される
*) printfn "f=%f" f
0
bGV0IGlubGluZSBwb3cgeCBuID0gCiAgICBsZXQgcmVjIHBvdyB4ID0gZnVuY3Rpb24KICAgIHwgbiB3aGVuIG4gPD0gMCAtPiBMYW5ndWFnZVByaW1pdGl2ZXMuR2VuZXJpY09uZQogICAgfCAxIC0+IHgKICAgIHwgbiAtPiB4ICogcG93IHggKG4tMSkKICAgIHBvdyB4IG4KCls8RW50cnlQb2ludD5dCmxldCBtYWluIGFyZ3YgPSAKICAgIGxldCBuID0gcG93IDIgMyAoKiBu44GvaW505Z6L44Gr5o6o6KuW44GV44KM44KLICopCiAgICBwcmludGZuICJuPSVkIiBuCiAgICBsZXQgZiA9IHBvdyAxLjUgMiAoKiBm44GvZmxvYXTlnovjgavmjqjoq5bjgZXjgozjgosgKikKICAgIHByaW50Zm4gImY9JWYiIGYKICAgIDAK