🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.funkcyjne
Article #572

[ocaml] pole statyczne?

#572
From: koctyxa
Date: Mon, 31 May 2004 13:28
7 lines
1140 bytes
  Chcę trzymać wszystkie obiekty pewnej klasy w jednej liście.  W C++ 
owa klasa dziedziczyłaby po innej, która by miała statyczną zmienną - 
listę;  wtedy w konstruktorze wystarczy napisać lista->add (this).  Jak to 
zrealizować w ocamlu?

koctyxa
Technical Details
Message-ID: <slrncbmcnq.3lp.mrok@atos.wmid.amu.edu.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!agh.edu.pl!news.agh.edu.pl!news.rmf.pl!poznan.rmf.pl!news.man.poznan.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!agh.edu.pl!news.agh.edu.pl!news.rmf.pl!poznan.rmf.pl!news.man.poznan.pl!not-for-mail
From: koctyxa <mrok@salarrannsoknarfelagid.is>
Newsgroups: pl.comp.lang.funkcyjne
Subject: [ocaml] pole statyczne?
Date: Mon, 31 May 2004 13:28:26 +0000 (UTC)
Organization: POZMAN - http://www.man.poznan.pl/
Lines: 7
Message-ID: <slrncbmcnq.3lp.mrok@atos.wmid.amu.edu.pl>
Reply-To: jaq@artemida.ktoranieznosispamu.amu.edu.pl
NNTP-Posting-Host: atos.wmid.amu.edu.pl
Mime-Version: 1.0
X-Trace: sunflower.man.poznan.pl 1086010106 15999 150.254.78.2 (31 May 2004 13:28:26 GMT)
X-Complaints-To: tomjab@man.poznan.pl
NNTP-Posting-Date: Mon, 31 May 2004 13:28:26 +0000 (UTC)
User-Agent: slrn/0.9.7.4 (Linux)
X-home-page: http://jaq.blog.pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit