Convert block to one-liner