尝试构建 ocaml-websocket,它失败了:
File "lib/websocket.ml", line 202, characters 29-42:
Error: The function applied to this argument has type
?buffer_size:int ->
(Lwt_io.input_channel * Lwt_io.output_channel) Lwt.t
This argument cannot be applied with label ~setup_socket
有问题的功能线是,
lwt ic, oc = Lwt_io.open_connection ~setup_socket sockaddr in
任何想法,如果 lwt API 在以前的版本中发生了变化?