The present invention provides compounds of formula (I): compositions comprising such compounds; the use of such compounds in therapy (for example in the treatment or prevention of a disease or condition in which plasma kallikrein activity is implicated); and methods of treating patients with such compounds; wherein R5, R6, R7, A, B, W, X, Y and Z are as defined herein.本發明提供式(I)化合物,包含該等化合物之組合物;該等化合物在療法中(例如在治療或預防牽涉血漿激肽釋放素活性之疾病或病狀中)之用途;及用該等化合物治療患者之方法;其中R5、R6、R7、A、B、W、X、Y及Z如本文所定義。