It's a very tasteful adaptation of the melody. These traditional tunes deserve to be remodelled and I think its quite an ambitious thing for U2 to adapt.
Shows greater artistry and sophistication in their work, and it sounds it too. Compare that to pretty boy teeny bopper Ryan Tedder writing...