[Haskell-cafe] multiline strings editor for emacs

Bryan Richter bryan at haskell.foundation
Wed Feb 1 06:21:57 UTC 2023


That's a great idea! I love "not very smart" tools like that one.

I don't know (yet) how HLS works, but is it possible to build something
like that into it so it would be more accessible to people? (Asking the
Cafe in general.)  It might provide less pressure to change Haskell syntax,
i.e. https://github.com/ghc-proposals/ghc-proposals/pull/569...

On Sun, 29 Jan 2023 at 10:47, Evan Laforge <qdunkan at gmail.com> wrote:

> I've long used a program to toggle between raw text and haskell string
> syntax (either wrapped words, unwrapped \-continued, or ["x", "y"]
> "unlines" style).  I use it with vim but it's a plain text filter:
> https://github.com/elaforge/simple-src-utils
>
> It's not very smart but has worked well enough that I haven't bothered
> to fix the rough bits.
>
> On Fri, Jan 27, 2023 at 1:26 AM Brandon Allbery <allbery.b at gmail.com>
> wrote:
> >
> > Nothing built in, but I think there's a proposal for better multiline
> > string support in the compiler. (Yep:
> > https://github.com/ghc-proposals/ghc-proposals/pull/569)
> >
> > On Thu, Jan 26, 2023 at 12:13 PM Markus Läll <markus.l2ll at gmail.com>
> wrote:
> > >
> > > Dear Cafe,
> > >
> > > searched, but this didn't turn up anything -- does there exist a
> "multiline string editor for emacs" in haskell? I.e something that would
> pop-out a new buffer to edit the string, and that would be inserted and
> slash-aligned back into the original file once done? This would be simple
> enough to implement, perhaps someone has already done it?
> > >
> > > (And just to be sure: there isn't a built-in multiline quasiquoter in
> base, right? I know that there are multitudes of packages that implement
> this, but would just like something that is built in.)
> > >
> > >
> > > Thanks!
> > >
> > > --
> > > Markus Läll
> > > _______________________________________________
> > > 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.
> >
> >
> >
> > --
> > brandon s allbery kf8nh
> > allbery.b at gmail.com
> > _______________________________________________
> > 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20230201/eef62ff7/attachment.html>


More information about the Haskell-Cafe mailing list