[N:1]1[CH:6]=[CH:5][CH:4]=[C:3]([C:7]2[N:12]3[N:13]=[CH:14]C(C#N)=[C:11]3[N:10]=[CH:9][CH:8]=2)[CH:2]=1.[ClH:18].[C:19]([OH:22])(=[O:21])[CH3:20]>>[ClH:18].[N:1]1[CH:6]=[CH:5][CH:4]=[C:3]([C:7]2[N:12]3[N:13]=[CH:14][C:20]([C:19]([OH:22])=[O:21])=[C:11]3[N:10]=[CH:9][CH:8]=2)[CH:2]=1A mixture of 0.10 mole of 7-(3-pyridyl)pyrazolo-[1,5-a]pyrimidine-3-carbonitrile and concentrated hydrochloric acid in acetic acid is heated at reflux temperature for 16 hours. The solvent is removed to give 7-(3-pyridyl)-pyrazolo[1,5-a]pyrimidine-3-carboxylate hydrochloride. The preceding compound is added portionwise to a chilled solution of 0.30 mole of diborane in tetrahydrofuran. After the addition the mixture is stirred for 16 hours and poured onto ice to give the product of the example.