[Haskell-cafe] Re: Mystery Parse Error in LHS file

Iæfai jptdrake at gmail.com
Thu May 6 11:43:39 EDT 2010


The reason why is that bird is better for short code and \begin{code}
is better for longer code. I will just add a bird-track support to my
editor.

On May 6, 11:29 am, John Millikin <jmilli... at gmail.com> wrote:
> Bird-style LHS adds an implied layer of indentation, so it's difficult
> to use both styles within the same file. You can run "ghc -E
> starsystem.lhs; cat starsystem.hspp" to see what GHC is reading the
> file as, after pre-processing.
>
> But, **why** would you use both in the same file? The resulting code
> can't easily be embedded into a TeX document, nor formatted properly
> by email clients. There's no point to using both; just pick one.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-C... at haskell.orghttp://www.haskell.org/mailman/listinfo/haskell-cafe
>
> --
> You received this message because you are subscribed to the Google Groups "Haskell-cafe" group.
> To post to this group, send email to haskell-cafe at googlegroups.com.
> To unsubscribe from this group, send email to haskell-cafe+unsubscribe at googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/haskell-cafe?hl=en.


More information about the Haskell-Cafe mailing list