<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>I want this sort of thing for xml as well--preserving whitespace between (and ordering of) attributes, etc.--basically all of the things which are semantically irrelevant.</div><div><br></div><div>JEff</div><div><br>On Mar 22, 2018, at 10:39 AM, Cody Goodman <<a href="mailto:codygman.consulting@gmail.com">codygman.consulting@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="auto">Ive had the idea to do this with json on the backburner. Inspiration being modifying json that follows no format and extra diffs annoy others.<div dir="auto"><br></div><div dir="auto">- Cody</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Mar 22, 2018, 7:33 AM Emanuel Borsboom <<a href="mailto:manny@fpcomplete.com">manny@fpcomplete.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><blockquote type="cite"><div>On Mar 21, 2018, at 11:34 PM, Luke Lau <<a href="mailto:luke_lau@icloud.com" target="_blank" rel="noreferrer">luke_lau@icloud.com</a>> wrote:</div><div><div style="word-wrap:break-word;line-break:after-white-space"><div><br></div><div><a href="https://summer.haskell.org/ideas.html#format-preserving-yaml" target="_blank" rel="noreferrer">https://summer.haskell.org/ideas.html#format-preserving-yaml</a></div><div>Would this new library aim to also use the C library behind the scenes, or would there be more interest in making a completely native Haskell version? (Do FFI calls in Haskell have any performance overhead?)</div></div></div></blockquote><div><br></div><div>If it's <i>possible</i> to do this using the C library behind the scenes then I don't see any reason not that. That said, my understanding is that the C library doesn't support this use case, so it's likely you'd have to write a pure Haskell implementation.</div></div></div>_______________________________________________<br>
Haskell-Cafe mailing list<br>
To (un)subscribe, modify options or view archives go to:<br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
Only members subscribed via the mailman list are allowed to post.</blockquote></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Haskell-Cafe mailing list</span><br><span>To (un)subscribe, modify options or view archives go to:</span><br><span><a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a></span><br><span>Only members subscribed via the mailman list are allowed to post.</span></div></blockquote></body></html>