Re: Haskell API for memory useage