[m-users.] Accessing a Relational Database and Purity

Charles Shuller charles.shuller at gmail.com
Wed Nov 14 03:16:38 AEDT 2018


Hello,

Is it possible to access a relational database from mercury in a pure way??

Using the FFI I can use a C library to interact with the DB, but the
resultant functions aren't pure.   Do I need to do something with a state
variable??


Thanks!

Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurylang.org/archives/users/attachments/20181113/8c15651b/attachment.html>


More information about the users mailing list