12 09 2009 OCaml Tweet
floatしかべき乗の演算子がないのは何故?
# 2.0 ** 3.0;; - : float = 8.
int
# 2 ** 3;; Characters 0-1: 2 ** 3;; ^ Error: This expression has type int but is here used with type float