
Hello, I’m a beginner-intermediate Haskell programmer and would like to help out this summer with the SoC projects! I have a few questions about some of the project ideas: https://summer.haskell.org/ideas.html#format-preserving-yaml https://summer.haskell.org/ideas.html#format-preserving-yaml 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?) https://github.com/haskell/haskell-ide-engine https://github.com/haskell/haskell-ide-engine This seems really cool! There are a lot of cool goals on the list I would like to take a stab at. Sharing build cache between HaRe and GHC, to drastically improve refactoring speed. Are there any examples of this being done with any other IDE extensions or build tools? Rewriting the completion system/LSP tests Are there any parts of the LSP specification that are missing or could be implemented better? Also I was curious as to what libraries/tools are used for parsing and analysing, if any at all? I briefly looked through the repository and couldn’t find anything particularly low-level. Thanks!

On Mar 21, 2018, at 11:34 PM, Luke Lau
wrote: https://summer.haskell.org/ideas.html#format-preserving-yaml https://summer.haskell.org/ideas.html#format-preserving-yaml 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?)
If it's possible 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.

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.
- Cody
On Thu, Mar 22, 2018, 7:33 AM Emanuel Borsboom
On Mar 21, 2018, at 11:34 PM, Luke Lau
wrote: https://summer.haskell.org/ideas.html#format-preserving-yaml 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?)
If it's *possible* 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. _______________________________________________ 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.

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. JEff
On Mar 22, 2018, at 10:39 AM, Cody Goodman
wrote: 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.
- Cody
On Thu, Mar 22, 2018, 7:33 AM Emanuel Borsboom
wrote: On Mar 21, 2018, at 11:34 PM, Luke Lau
wrote: https://summer.haskell.org/ideas.html#format-preserving-yaml 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?)
If it's possible 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. _______________________________________________ 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.
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.
participants (4)
-
Cody Goodman
-
Emanuel Borsboom
-
Jeff Clites
-
Luke Lau