cost 59 ms
OCaml 中的方括號類型簽名:`[< t]` 是什么意思?

[英]What does a square bracketed type signate: `[< t ]` mean in OCaml?

我一直在 OCaml 中使用 Dream 和 Caqti,最近遇到了一個我以前從未見過的類型簽名: val handle_error : [&lt; Caqti_error.t ] -&gt; Dream.response t let handle_error e = print_ ...

2022-08-31 15:16:38   1   18    ocaml / caqti  

排序:
質量:
 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM