[darcs-devel] Question about encoding of hunks

Juliusz Chroboczek Juliusz.Chroboczek at pps.jussieu.fr
Wed Dec 28 12:25:12 PST 2005


> I'm finding that I can read some pieces of Haskell and not others from 
> my old and very fuzzy memory of ML.

Heh.

> I can't for the life of me figure 
> out where the logic for encoding hunks is.  e.g., where does darcs 
> determine it will insert a '$' when the line has blank characters at 
> the end, and when will it insert '[$]'?

Printer.lhs.  Beware, it's horribly polymorphic and nastily second order.

> Would someone be willing to tell me, or point out how I can deduce
> from the source, a canonical listing of transformations?

What do you mean exactly?

                                        Juliusz




More information about the darcs-devel mailing list