powered by
peek_front(x, ...)
d <- rdeque() d <- insert_front(d, "a") d <- insert_back(d, "b") e <- peek_front(d) print(e) print(d)
Run the code above in your browser using DataLab