Dataset Viewer
Auto-converted to Parquet Duplicate
conversations
listlengths
3
3
source
stringclasses
1 value
stack
stringclasses
1 value
[ { "from": "system", "value": "Store command history in Readline example\n\nHaving a fixed command set isn't particularly realistic.\nModified the readline example to record commands entered\nso they can be part of command history for completion.\n" }, { "from": "human", "value": "use \"term\"\nu...
pony
chosen
[ { "from": "system", "value": "Add documentation for the builtin package\n" }, { "from": "human", "value": "primitive Platform\n fun freebsd(): Bool => compile_intrinsic\n fun linux(): Bool => compile_intrinsic\n fun osx(): Bool => compile_intrinsic\n fun posix(): Bool => freebsd() or linux()...
pony
chosen
[ { "from": "system", "value": "Fix `stable fetch` bug when using tags\n\nThe bug was that when the `bundle.json` specified a `tag` all\ninvocations of `stable fetch` after the first one would fail due\nto the git checkout being in a `detached HEAD` state. This commit\nfixes the bug.\n" }, { "from": "...
pony
chosen
[ { "from": "system", "value": "Stop the CI build failing\n" }, { "from": "human", "value": "actor Main\n new create(env: Env) =>\n try foo(true) end\n\n fun ref foo(a: Bool): U64 ? =>\n // works\n // match a\n // | true => return 1\n // else\n // error\n // end\n\n // ...
pony
chosen
[ { "from": "system", "value": "Make leap compatible with Pony 0.2.1\n" }, { "from": "human", "value": "use \"ponytest\"\n\n\nactor Main\n\n new create(env: Env) =>\n var test = PonyTest(env)\n\n test(recover _LeapTest end)\n\n test.complete()\n\n\nclass _LeapTest iso is UnitTest\n\n fu...
pony
chosen
[ { "from": "system", "value": "Make leap compatible with Pony 0.7.0\n" }, { "from": "human", "value": "use \"ponytest\"\n\nactor Main is TestList\n new create(env: Env) =>\n PonyTest(env, this)\n\n new make() =>\n None\n\n fun tag tests(test: PonyTest) =>\n test(_LeapTest)\n\nclass _L...
pony
chosen
[ { "from": "system", "value": "Support using specific github tags\n\nSo our dependencies don't change out from under us.\n" }, { "from": "human", "value": "\nuse \"json\"\nuse \"debug\"\n\ninterface BundleDep\n fun root_path(): String\n fun packages_path(): String\n fun ref fetch()?\n\nprimiti...
pony
chosen
[ { "from": "system", "value": "Make hello-world compatible with Pony 0.7.0\n" }, { "from": "human", "value": "use \"ponytest\"\n\nactor Main is TestList\n new create(env: Env) =>\n PonyTest(env, this)\n\n new make() =>\n None\n\n fun tag tests(test: PonyTest) =>\n test(_TestHelloWorld...
pony
chosen
[ { "from": "system", "value": "Fix form of git invocation in another directory.\n" }, { "from": "human", "value": "\nuse \"json\"\nuse \"debug\"\n\ninterface BundleDep\n fun path(): String\n fun ref fetch()?\n\nprimitive BundleDepFactory\n fun apply(bundle: Bundle, dep: JsonObject): BundleDep?...
pony
chosen
[ { "from": "system", "value": "Add access to the environment for tests\n" }, { "from": "human", "value": "primitive LongTest\ntype TestResult is (Bool | LongTest)\n\n\ntrait UnitTest\n \"\"\"\n Each unit test class must provide this trait. Simple tests only need to\n define the name() and appl...
pony
chosen
[ { "from": "system", "value": "Make difference-of-squares compatible with pony 0.7.0\n" }, { "from": "human", "value": "use \"ponytest\"\n\nactor Main is TestList\n new create(env: Env) =>\n PonyTest(env, this)\n\n new make() =>\n None\n\n fun tag tests(test: PonyTest) =>\n test(_Test...
pony
chosen
[ { "from": "system", "value": "Make hamming compatible with Pony 0.2.1\n" }, { "from": "human", "value": "use \"ponytest\"\n\nactor Main\n\n new create(env: Env) =>\n var test = PonyTest(env)\n\n test(recover _HammingTest end)\n\n test.complete()\n\n\nclass _HammingTest iso is UnitTest\...
pony
chosen
[ { "from": "system", "value": "Make Hello world compatible with Pony 0.2.1\n" }, { "from": "human", "value": "use \"ponytest\"\n\nactor Main\n new create(env: Env) =>\n var test = PonyTest(env)\n\n test(recover _TestHelloWorld end)\n\n test.complete()\n\nclass _TestHelloWorld iso is Uni...
pony
chosen
[ { "from": "system", "value": "Fix missed builtin name change\n" }, { "from": "human", "value": "class Notify is StdinNotify\n let _env: Env\n\n new iso create(env: Env) =>\n _env = env\n\n fun ref apply(data: Array[U8] iso) =>\n let data' = consume val data\n\n for c in data'.values(...
pony
chosen
[ { "from": "system", "value": "Add explanation to Mailbox example\n\nMost people come across it and aren't aware that it's a\nstress test that should result in large amounts of memory\nusage.\n" }, { "from": "human", "value": "use \"collections\"\n\nactor Mailer\n be ping(receiver: Main, pass: U...
pony
chosen
[ { "from": "system", "value": "Make difference of squares compatible with Pony 0.2.1\n" }, { "from": "human", "value": "use \"ponytest\"\n\nactor Main\n\n new create(env: Env) =>\n var test = PonyTest(env)\n\n test(recover _TestSquares end)\n\n test.complete()\n\nclass _TestSquares iso ...
pony
chosen
README.md exists but content is empty.
Downloads last month
4