LRANGE
requests. Note that this results in O(N^
2) complexity.
Using a lazy list is most useful for relatively short lists holding
possibly large items.
Note that values retrieved are strings, unless the value was
added using Term as prolog
.
It seems possible for LLEN
to return OK
. I
don't know why. As a work-around we return the empty list rather than an
error.