def receive_last
t = Flor.type(@node['ret'])
r =
case h = heap
when 'array?', 'list?' then t == :array
when 'object?', 'hash?' 'dict?' then t == :object
when 'boolean?' then t == :boolean
when 'number?' then t == :number
when 'string?' then t == :string
when 'null?', 'nil?' then t == :null
when 'false?' then @node['ret'] == false
when 'true?' then @node['ret'] == true
when 'pair?' then t == :array && @node['ret'].length == 2
when 'float?' then t == :number && @node['ret'].to_s.index('.') != nil
else fail(Flor::FlorError.new("#{h.inspect} not yet implemented", self))
end
wrap_reply('ret' => r)
end