Re: Is it possible to type a function to accept only literal values?

Oleg Grenrus <[email protected]>
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <[email protected]>
No, you can opportunistically do processing of your data. That's what 
SAX/SAJ (vs. DOM) parsers allow you to do. Similar approaches are there 
for JSON. simdjson [1] is streaming too, but the interface is different 
from SAX/SAJ.

- Oleg

[1] https://simdjson.github.io/simdjson/md_doc_ondemand_design.html

On 1.3.2024 15.52, Olaf Klinke wrote:
> Is streaming and parallel processing
> incompatible with formats such as XML or JSON,
_______________________________________________
Haskell-Cafe mailing list
To (un)subscribe, modify options or view archives go to:
http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
Only members subscribed via the mailman list are allowed to post.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.