Morel was published in 1940, a year after Flann O'Brien. Borges is behind the boom (Cortázar), but the magic-realism version of the boom was a kind of rival to the more metafictional version. JC's stories are obviously indebted to Borges. Bestiario is from 1951, so that's only a decade or so behind Borges's experimental fiction.
I recently watched Blow Up. This film, set in London, is based on Cortázar story of the same title, but with a quite different plot, similar to the change from Morel to Marienbad. Foucault would be citing Borges in the 1960s, I believe, in The Order of Things, or Les mots et les choses.
I haven't watched Marienbad in years.