[Haskell-cafe] How should I view this file? It looks like literate Haskell but isn't that file type.

Jeffrey Brown jeffbrown.the at gmail.com
Thu May 4 08:24:57 UTC 2017


Thank you both! I should have posted to beginners; forgot that separate
list exists. It's been a while ...

On Thu, May 4, 2017 at 1:21 AM, Ivan Lazar Miljenovic <
ivan.miljenovic at gmail.com> wrote:

> That's Haddock markup (though the ## one is new for me):
> https://www.haskell.org/haddock/doc/html/ch03s08.html
>
> On 4 May 2017 at 18:10, Jeffrey Brown <jeffbrown.the at gmail.com> wrote:
> > I am looking at Text.Markdown. The Types.hs file[1] looks like it's got
> > comments that are meant to be viewed as some form other than plain text
> --
> > for instance,
> >
> >     , msAddHeadingId :: Bool
> >       -- ^ If @True@, an @id@ attribute is added to the heading tag
> with the
> > value equal to
> >       -- the text with only valid CSS identifier characters.
> >       --
> >       -- > ## Executive Summary
> >       --
> >       -- > <h2 id="executive-summary">Executive Summary</h2>
> >       --
> >       -- Default: @False@
> >       --
> >       -- Since 0.1.13
> >
> > I thought it might be literate Haskell, but the file ends in .hs, not
> .lhs.
> >
> > How should I view it? Preferably in Emacs?
> >
> > [1] https://github.com/snoyberg/markdown/blob/master/Text/
> Markdown/Types.hs
> >
> > --
> > Jeff Brown | Jeffrey Benjamin Brown
> > Website   |   Facebook   |   LinkedIn(spammy, so I often miss messages
> here)
> > |   Github
> >
> > _______________________________________________
> > 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.
>
>
>
> --
> Ivan Lazar Miljenovic
> Ivan.Miljenovic at gmail.com
> http://IvanMiljenovic.wordpress.com
>



-- 
Jeff Brown | Jeffrey Benjamin Brown
Website <https://msu.edu/~brown202/>   |   Facebook
<https://www.facebook.com/mejeff.younotjeff>   |   LinkedIn
<https://www.linkedin.com/in/jeffreybenjaminbrown>(spammy, so I often miss
messages here)   |   Github <https://github.com/jeffreybenjaminbrown>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170504/f9a31ab5/attachment.html>


More information about the Haskell-Cafe mailing list