Robert,

empty? is kind of confusing, since it's just a synonym for tail? and doesn't
really tell you if there are no elements in the block, as there might be some
before the index point:

>> test-block: tail [1 2 3 4 5]
== []
>> empty? test-block
== true
>> head test-block
== [1 2 3 4 5]

You can always use:

>> empty? head test-block
== false

to find out if test-block is really empty.

See you,
Eric

Reply via email to