代写代考 #use “hello.ml”;;

#use “hello.ml”;;

print_string “text”

Copyright By PowCoder代写 加微信 powcoder

comment: (* text *)

let rec sumTo (n:int) : int =
match n with
| n -> n + sumTo (n-1)

print_int (sumTo 8);
print_newline()

int_of_char: char -> int, string_of_int: int -> string

1 :: 2 :: 3 :: []
1 :: (2 :: (3 ::[]))

int: +, -, *, /, **
float: +., -., *., /.

type bool = true | false
type ‘a option = None | Some of ‘a

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com