Skip to content

Commit

Permalink
[ compat ] add export modifier to operator decls
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-hoeck committed Apr 5, 2024
1 parent d470999 commit c661532
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/Algebra/Solver/Ring/Expr.idr
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,11 @@ var x = Var x %search
-- Syntax
--------------------------------------------------------------------------------

infixl 8 .+., .+, +.
export infixl 8 .+., .+, +.

infixl 8 .-., .-, -.
export infixl 8 .-., .-, -.

infixl 9 .*., .*, *.
export infixl 9 .*., .*, *.

||| Addition of variables. This is an alias for
||| `var x + var y`.
Expand Down
4 changes: 2 additions & 2 deletions src/Algebra/Solver/Semiring/Expr.idr
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ var x = Var x %search
-- Syntax
--------------------------------------------------------------------------------

infixl 8 .+., .+, +.
export infixl 8 .+., .+, +.

infixl 9 .*., .*, *.
export infixl 9 .*., .*, *.

||| Addition of variables. This is an alias for
||| `var x + var y`.
Expand Down
8 changes: 4 additions & 4 deletions src/Data/Prim/Integer/Extra.idr
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import Syntax.PreorderReasoning

%default total

infixl 0 <>
prefix 1 |>
infix 1 ..., ..=, =.., =.=
infix 1 ~.., ..~, ~.~
export infixl 0 <>
export prefix 1 |>
export infix 1 ..., ..=, =.., =.=
export infix 1 ~.., ..~, ~.~

--------------------------------------------------------------------------------
-- Utilities
Expand Down

0 comments on commit c661532

Please sign in to comment.