
the purpose of ForeignPtr is to attach a finalization procedure to the object behind the pointer. for example, you can have close called aimplicitly whenever the garbage collector finds you don't need a file handle any more. function pointers do not need finalization. cheers, matthias On Sat, Sep 05, 2009 at 07:51:59PM -0300, Maur??cio CA wrote:
To: haskell-cafe@haskell.org From: Maur??cio CA
Date: Sat, 05 Sep 2009 19:51:59 -0300 Subject: [Haskell-cafe] ForeignFunPtr Hi,
We have ForeignPtr. Why isn't there a corresponding ForeignFunPtr?
Thanks, Maurício
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
** ACCEPT: CRM114 PASS osb unique microgroom Matcher ** CLASSIFY succeeds; success probability: 0.9999 pR: 4.1765 Best match to file #0 (nonspam.css) prob: 0.9999 pR: 4.1765 Total features in input file: 2256 #0 (nonspam.css): features: 758386, hits: 2818973, prob: 1.00e+00, pR: 4.18 #1 (spam.css): features: 1686574, hits: 3077879, prob: 6.66e-05, pR: -4.18