Fix broken `result/0` type definition