请输入您要查询的俚语:

 

俚语 ocaml
释义

ocaml

A French-made programming language, that can be made to work like lisp, C, Java or whatever else you like. It can be interpreted, compiled natively or compiled to bytecode. Overall it's a rather academic but very powerful programming language.
# let rec ocaml_reverse lst =
match lst with
| ->
| h::t -> (ocaml_reverse t)@h
;;
val ocaml_reverse : 'a list -> 'a list = <fun>
# ocaml_reverse 1;2;3;;
- : int list = 3; 2; 1

OCaml

A functional programming language but with side effects. So not really a functional programming language.
- Does OCaml have side effects?

- Yes it does.
随便看

 

英语俚语辞典收录了3210630条英语俚语在线翻译词条,基本涵盖了全部常用英语俚语的翻译及用法,是英语学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2024/9/20 23:49:04