[m-users.] Web programming in Mercury: Simple example code?
novalazy at gmail.com
Mon Dec 10 17:20:24 AEDT 2018
On Sat, 8 Dec 2018 15:28:28 -0500, Jeffrey Brown <jeffbrown.the at gmail.com> wrote:
> I'd like to use Mercury to process a database, but write the rest of the
> code in Haskell. It seems natural to connect them via HTTP or WebSockets --
> that way I won't have to break new ground by figuring out how to call
> Mercury from Haskell. Can anyone recommend a simple example of a web server
> written in Mercury? I looked through the libraries and see nothing
> web-related, so I assume I'll have to use the foreign function interface to
> call C or some other language.
The httpsrv library might be useful to you. I've announced it just now.
More information about the users