From 1f29aea94beb6453f163a9f9ceb7e25bd15451e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Fri, 26 Feb 2016 17:53:20 +0000 Subject: [PATCH] clean-up --- library/matrix.yap | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/library/matrix.yap b/library/matrix.yap index 6a864a521..d2642e127 100644 --- a/library/matrix.yap +++ b/library/matrix.yap @@ -29,8 +29,14 @@ [(<==)/2, op(800, xfx, '<=='), op(700, xfx, in), op(700, xfx, ins), - op(450, xfx, ..), % should bind more tightly than \/ - op(710, xfx, of), of/2, + op(450, xfx, ..), % should bind more tightly than \/ + op(720, fx, ..), % should bind more tightly than of + op(710, xfx, of), + (of)/2, + op(50, yf, '[]'), + op(50, yf, '()'), + op(100, xfy, '.'), + op(100, fy, '.'), matrix_new/3, matrix_new/4, matrix_new_set/4, @@ -81,11 +87,7 @@ matrix_get/2, matrix_set/2, foreach/2, - foreach/4, - op(50, yf, []), - op(50, yf, '()'), - op(100, xfy, '.'), - op(100, fy, '.') + foreach/4 ]). /** @defgroup matrix Matrix Library