But perhaps you want to push into a Vector in the Dict, for this you first have to create the Vector, because
buffer[value]
isn’t defined in your case.
First check if
buffer[value]
exists:
haskey(buffer,value)
and if not create the Vector first:
v=[ (i,) ]
push!( buffer, value => v )
And if it exists, the push! would be e.g.:
push!( buffer[value], (4,) )