ocaml 算术运算示例代码
代码语言:ocaml
所属分类:其他
代码描述:ocaml 算术运算示例代码
代码标签: 示例
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
(* examples of simple arithmetic with int type. *) print_int (3 + 4);; (* paren is needed, because if not, print_int will take 3 as its only argument, which returns a null value of “unit” type, and unit .........完整代码请登录后点击上方下载按钮下载查看
网友评论0