Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我猜Opa的基于图形的数据库是用OCaml编写的。它是否可以作为一个单独的项目使用,以便可以从 OCaml 程序中使用?
不完全的。正如手册所解释的:
Opa 是一种技术,由一种编程语言及其运行时组成,旨在让 Web 开发人员从开发的开始到结束,从早期原型到无缝部署。
因此,拥有一个单独的数据库从来都不是目标。然而,Opa 是以模块化方式编写的,数据库是一个单独的组件,所以我相信在单独的项目中使用它主要是为其编写一个接口层。