[Haskell-cafe] cost-centre names

Felipe Almeida Lessa felipe.lessa at gmail.com
Sun Sep 16 18:57:52 CEST 2012


On Sun, Sep 16, 2012 at 7:57 AM, Marco Túlio Pimenta Gontijo
<marcotmarcot at gmail.com> wrote:
> I have a question about cost-centre names, as shown on .hp files
> produced by +RTS -hc.  They have the form A/B/C/D/E/F/G/...  Usually,
> it seems that it means A, called by B, called by C, etc, but that's
> not the case sometimes.  I have a case here (called with -L200):
> replaceOneOf’/clean/tagsText/anyTag/dropTagClose/parseObservations/specificTagText/tagText/parseOab/dropTagText/dropTill/tag/tagOpen...
>
> tagsText calls clean which calls replaceOneOf', but anyTag does not
> call tagsText.  parseObservations calls dropTagClose which calss
> anyTag, but specificTagText does not call parseObservations.  They
> seem to be grouped by three.
>
> Is this correct?  How should I interpret it?

That's probably because anyTag took a closure as argument, and that
closure called tagsText when forced.  Does that make sense?

Cheers,

-- 
Felipe.



More information about the Haskell-Cafe mailing list