Hi, I’m sorry that I’m spamming the forum with silly questions, but I had a thought and wanted to ask if any folks were using this in production.
I am working on an app which uses Dream and thinking about producing an API. I was thinking about how I could design the API, using JSON or whatever, and I thought, why not just use S-expressions?
A lot of my use case for accessing this API is through Emacs, so this seems particularly appropos.
I’m using Caqti right now to do my postgres connection. I was also wondering if I could even get raw sexps from my database to use in my program logic. That seems like it would work nicely, it would make it super easy to expose API endpoints, and it just seems fun.
I guess you would lose the list iteration features in Caqti. I’m not very good with OCAML so I don’t know what the other consequences would be.
If I understand correctly, there’s not really native language support for them, but Base and Core seem to like them.
found a couple examples of people doing this online, and people seem to universally hate the idea.