이충민
가입: 2008년 9월 20일 올린 글: 76
|
올려짐: 2008년12월12일 20:27 주제: nml 버그? |
|
|
코드: | # List.fold_left (+) 0.0 [1.2, 3.4];;
Toplevel input:
# List.fold_left (+) 0.0 [1.2, 3.4];;
^^^
This expression has type float but is here used with type int
# List.fold_left (+) 0 [1,2];;
val it: int = 3 |
흐힘 |
|