conversations listlengths 3 3 | source stringclasses 1 value | stack stringclasses 1 value |
|---|---|---|
[
{
"from": "system",
"value": "Return self for easy chaining\n"
},
{
"from": "human",
"value": "class DynamicSlotObject : BasicObject {\n def initialize {\n @object = Object new\n }\n\n def object {\n @object\n }\n\n def unknown_message: m with_params: p {\n m to_s split: \":\" . ea... | fancy | chosen |
[
{
"from": "system",
"value": "Allow forward references of labels and skip push_nil weirdness (+2)"
},
{
"from": "human",
"value": "class Rubinius Generator {\n def ip: @ip\n def ip {\n @ip\n }\n}\n\nclass Fancy AST {\n class Label : Node {\n @@registry = <[]>\n def Label [name] {\n ... | fancy | chosen |
[
{
"from": "system",
"value": "Use fancy method instead of ruby version\n"
},
{
"from": "human",
"value": "class Fancy AST {\n class TupleLiteral : Node {\n def initialize: @line entries: @elements\n\n def bytecode: g {\n pos(g)\n ary = ArrayLiteral new: @line array: [FixnumLiter... | fancy | chosen |
[
{
"from": "system",
"value": "Fix to ParseError constructor. Use ++ for now, since string interpolation doesn't work during bootstrapping (in case we get parse errors there..)"
},
{
"from": "human",
"value": "class Fancy {\n class Parser {\n class ParseError : StdError {\n read_slots: [... | fancy | chosen |
[
{
"from": "system",
"value": "Fix error in docstring for StopIteration"
},
{
"from": "human",
"value": "class Fancy {\n class BreakIteration : StdError {\n read_slots: ['result]\n def initialize: @result {}\n }\n\n class NextIteration : StdError {\n read_slots: ['result]\n def ini... | fancy | chosen |
[
{
"from": "system",
"value": "Call to_f on n_ms before dividing and passing on to Kernel sleep()."
},
{
"from": "human",
"value": "class System {\n def System exit {\n \"Exit the running Fancy process.\"\n\n Kernel exit()\n }\n\n def System do: command_str {\n \"Runs the given string... | fancy | chosen |
[
{
"from": "system",
"value": "Use mutex in FiberPool and some other additions"
},
{
"from": "human",
"value": "class FiberPool {\n def initialize {\n @pool = []\n @current = nil\n }\n\n def size {\n @pool size\n }\n\n def add: fiber {\n @pool << fiber\n }\n\n def remove: fiber... | fancy | chosen |
[
{
"from": "system",
"value": "Use ComponentDef's id when passed as id itself\n"
},
{
"from": "human",
"value": "class Storm {\n class Topology {\n class ComponentDef {\n read_write_slots: ('id, 'parallelism)\n def initialize: @topology {\n @parallelism = 1\n @id = nil... | fancy | chosen |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.