【问题标题】:Why is there no information about Int in the documentation for OCaml (4.07.0)?为什么 OCaml (4.07.0) 的文档中没有关于 Int 的信息?
【发布时间】:2019-06-09 05:02:01
【问题描述】:

我是 OCaml 语言的新手,我目前正在看 . 有一个使用 Int.descending 的示例,但我在文档(4.07.0)中没有找到相关信息。我只看到了 Int32 和 Int64。 在哪里可以找到有关 Int.descending 及其其他属性的文档。

【问题讨论】:

    标签: ocaml


    【解决方案1】:

    你找不到Int.descending,因为它不在OCaml的标准库中。

    我的猜测是您正在使用 Jane Street 的 Base 库查找代码,该库具有 descendinghttps://github.com/janestreet/base/blob/dee8d637af902a92c739df7f3f8bc4d715c9d35d/src/comparable_intf.ml

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2022-01-23
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-04
    • 1970-01-01
    • 2022-01-04
    • 1970-01-01
    相关资源
    最近更新 更多