Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
2
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Add a basic test for Procedure.apply\n" }, { "from": "human", "value": "functor\nexport\n Return\ndefine\n fun {Closure N}\n if N==0 then\n nil\n else\n fun {$} N end|{Closure N-1}\n end\n end\n\n Return='proc'([\n clos...
oz
chosen
[ { "from": "system", "value": "Remove some import restrictions (as preliminary fix to the\n `purely sequential thread blocked' problem).\n\n\n" }, { "from": "human", "value": "%%%\n%%% Author:\n%%% Leif Kornstaedt <kornstae@ps.uni-sb.de>\n%%%\n%%% Copyright:\n%%% Leif Kornstaedt, 1997\n%%%\...
oz
chosen
[ { "from": "system", "value": "Print names of true and false are now `true' and `false' instead of\n `NameTrue' and `NameFalse'.\n\n\n" }, { "from": "human", "value": "%%%\n%%% Authors:\n%%% Martin Henz (henz@iscs.nus.edu.sg)\n%%% Christian Schulte (schulte@dfki.de)\n%%%\n%%% Copyright:\n%%...
oz
chosen
[ { "from": "system", "value": "Use a Cell rather than unifying the results of the benchmark\n\n* Unification is expensive for very long lists.\n* Avoid holding 2 results in memory at the same time.\n" }, { "from": "human", "value": "functor\nimport\n OS\n Boot_Time at 'x-oz://boot/Time'\n S...
oz
chosen
[ { "from": "human", "value": "Add Ping-Pong example using an infinite stream\n" }, { "from": "gpt", "value": "functor\r\nimport System\r\ndefine\r\n S = pong|_\r\n\r\n proc {Ping S I}\r\n case S of pong|A then\r\n A = ping|_\r\n {Ping A.2 I+1}\r\n end\r\n end\r\n\r...
oz
chosen
[ { "from": "human", "value": "Validate GC limits and adapt threshold\n\n* Setting 'gc.max' is applied immediately, which\n starts a GC if heap usage is close to the new maxGCThreshold.\n" }, { "from": "gpt", "value": "functor\nimport\n System\n Property\nexport\n Return\ndefine\n Return ...
oz
chosen
[ { "from": "human", "value": "Add a simple and fast test runner\n\n* Only needs to be compiled once and can directly run tests files.\n* A list of either dumped functor (.ozf) or test files (.oz) can\n be given and they are evaluated directly.\n* .oz files are compiled in memory and avoid the cost to pickle...
oz
chosen
README.md exists but content is empty.
Downloads last month
5