Question: Anyone Who Had a Heart was written for Dionne Warwick.  Who wrote the song?

Context articles: Dionne Warwick in Valley of the Dolls
Anyone Who Had a Heart (song)
Make Way for Dionne Warwick
Reach Out for Me
Presenting Dionne Warwick
Dionne Warwick in Paris
The Sensitive Sound of Dionne Warwick
For the First Time (Stephanie Mills album)
Walk On By (song)
Dionne Warwick

Dionne Warwick in Valley of the Dolls is the title of Dionne Warwick's tenth album for the Scepter label.
 It was recorded during the summer and fall of 1967 and was released early the next year.
 It was recorded at A&R Sound Studios in New York City and was produced by Burt Bacharach and Hal David.
"Anyone Who Had a Heart" is a song written by Burt Bacharach (music) and Hal David (lyrics) for Dionne Warwick in 1963.
 In January 1964, Warwick's original recording hit the Top Ten in the United States, Canada, Spain, Netherlands, South Africa, Belgium and Australia.
 In the United Kingdom, the Republic of Ireland and New Zealand, Warwick's recording lost out to a cover version by Cilla Black, who was managed by Brian Epstein, also manager of The Beatles.
 Black's version was a UK number-one hit for three weeks in February/March 1964 and was also the fourth best-selling single of 1964 in the UK, with sales of around 950,000 copies.
Make Way for Dionne Warwick is the third album by American singer Dionne Warwick, released in 1964 on the Scepter label.
 It was produced by Burt Bacharach and Hal David.
"Reach Out for Me" is a 1964 single by Dionne Warwick, a song originally recorded by Lou Johnson.
 Her single, written by Burt Bacharach and Hal David, is a track from the album "Make Way for Dionne Warwick".
 It was a number twenty hit on the "Billboard" Hot 100 and went to number one on the "Cash Box" R&B chart.
 The song was also covered by British singer Michael Ball on his album "Back To Bacharach" as well as Olivia Newton-John on her 1989 album "Warm and Tender" (#32 AC).
Presenting Dionne Warwick is the debut album by American singer Dionne Warwick, released in 1963 on the Scepter label.
 It was produced by Burt Bacharach and Hal David.
Dionne Warwick in Paris is Dionne Warwick's sixth album, and was released in 1966 on Scepter Records.
 It was recorded during Warwick's five-week engagement at the Paris Olympia in January 1966 and was released shortly after the tour was completed.
 The LP was issued as number 534 in the Scepter Catalog.
 The liner of this LP is pink with three pictures of Warwick side-by-side, not unlike the "Make Way for Dionne Warwick" album two years earlier.
The Sensitive Sound of Dionne Warwick is the fourth album by American singer Dionne Warwick, released in 1965 on the Scepter label.
 It was produced by Burt Bacharach and Hal David.
For the First Time is the second album by Stephanie Mills.
 Released in 1975 on the Motown label.
 Produced by Burt Bacharach and Hal David.
 The arrangements were by Burt Bacharach, Bill Eaton, Dave Matthews and Kenny Asher.
 After a fallout during the recording of the soundtrack to the remake of "Lost Horizon", Bacharach and David split before briefly reuniting for this album.
 After this album project that featured 8 new songs plus 2 covers of songs that Dionne Warwick had previously recorded, the famous songwriting duo would not work together until they wrote 3 unrecorded songs in 1978.
 They then did not write together again until a reunion in 1989, when they wrote 2 songs - "How Can I Love You" which remains unrecorded, and "Sunny Weather Lover" which was eventually recorded by Dionne Warwick for her 1993 album "Friends Can Be Lovers".
"Walk On By" is a song composed by Burt Bacharach, with lyrics by Hal David.
 The song was originally recorded in 1964 by Dionne Warwick on her album, "Make Way for Dionne Warwick".
 Warwick's version peaked at number 6 on the US "Billboard" Hot 100 and was nominated for a 1965 Grammy Award for the Best Rhythm and Blues Recording.
 Isaac Hayes recorded the song five years later, in 1969, and reached number 30 on the Hot 100 chart and number 13 in the R&B charts with his version.
 "Walk On By" has since charted numerous times in various countries, with wildly different arrangements.
 The following entries discuss the chart versions of the song, in the order in which they appeared.
Dionne Warwick ( ) (born Marie Dionne Warrick; December 12, 1940) is an American singer, actress and television show host, who became a United Nations Global Ambassador for the Food and Agriculture Organization, and a United States Ambassador of Health.