[fpc-pascal] Re: Functional Pascal

2012-03-01 Thread Lukasz Stafiniak
On Thu, Mar 1, 2012 at 12:21 PM, Lukasz Stafiniak wrote: > > Wow, I didn't know about that! Still, it is not clear to me it is a > good thing to capture "var" variables in the closure. It goes against > the semantics of normal nested functions. It's a "dirty

[fpc-pascal] Pascal type-parametric definitions

2012-03-01 Thread Lukasz Stafiniak
Why are type-parametric definitions called generics in Pascal? It seems to me their semantics is like templates in C++, not like generics in Java/C# (or ML languages). Regards. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.free

[fpc-pascal] Functional Pascal

2012-03-01 Thread Lukasz Stafiniak
On Wed, Feb 29, 2012 at 11:31 AM, Sven Barth wrote: > Am 28.02.2012 20:31, schrieb Lukasz Stafiniak: >> >> (1) A declaration part, that parallels "var", with keyword "val" or >> "let" (since "val" is taken up by a procedure). It introd

Re: [fpc-pascal] Re: What is the most widely used Pascal on Linux and other Unix variants?

2012-02-28 Thread Lukasz Stafiniak
On Tue, Feb 28, 2012 at 8:22 AM, Noah Silva wrote: > > If you want to convince people to use FPC and are having issues, you should > ask them what features, exactly, they are looking for.  Chances are that FPC > has them.  (If they want a functional language, though, then you're out of > luck). P