简体   繁体   English

Z3的OCaml绑定:支持字符串排序

[英]OCaml bindings for Z3: support for String sorts

I am trying to express the following function declaration using the OCaml API for Z3: 我正在尝试使用OCaml API for Z3来表达以下函数声明:

(declare-fun ctrl_p ((Int)) String)

However, I cannot find in the documentation an appropriate mk_sort function. 但是,我在文档中找不到合适的mk_sort函数。 Are there any suggested workarounds? 有建议的解决方法吗?

Thanks. 谢谢。

Do you already need this functionality? 您是否已经需要此功能? The string functionality is brand new and was just made available for the other APIs. 字符串功能是全新的,仅可用于其他API。 For OCaml we are also dealing with fixing GC interaction. 对于OCaml,我们还处理固定的GC交互。 You are of course welcome to provide a pull request. 当然欢迎您提供拉取请求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM