Have you ever paid attention to the similarities? They borrowed from each other. They were members of this literary group...informal...at one of their favorite pubs. Eagle and the Child?? They shared ideas etc. If you've read both and in particular if you saw the films of both...you could probably pick out those 'borrowings'. or rather...say...collaborations?