3
有沒有辦法從TypeRex獲得這種佈局?縮進讓我們打開Mod在
let alert ctx x =
let open Alert in
Printf.printf "...Alert: type = %s, status = %s\n"
(Type.to_string (type_ x)) (status x);
flush stdout
我結束了這個代替這對我來說看起來次優
let alert ctx x =
let open Alert in
Printf.printf "...Alert: type = %s, status = %s\n"
(Type.to_string (type_ x)) (status x);
flush stdout