Bulat Ziganshin <[EMAIL PROTECTED]> wrote: > Hello Mauricio, > > Wednesday, October 22, 2008, 2:23:55 PM, you wrote: > > > Well, one thing I miss from C++ is the idea of acquiring resources > > in constructors and releasing them in destructors, as explained > > here: > > > (Haskell uses that in 'with...' functions, like 'withFile', but the > > syntax in C++ seems cleaner to me.) > > i think that in haskell you may put to action any syntax of RAII - > both Java-like (with finally) and C++ like (with implicit > destructors). what concrete style you need to simulate? > Haskell: What language do you want to speak today?
-- (c) this sig last receiving data processing entity. Inspect headers for copyright history. All rights reserved. Copying, hiring, renting, performance and/or quoting of this signature prohibited. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe