有没有办法从 TypeRex 获得这种布局?
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