Skip to content

Commit

Permalink
Rename module Math to Dafny.Math
Browse files Browse the repository at this point in the history
The old Math module conflicts with the Java and C# module.  This
change moved the Math module out of the top-level namespace.
  • Loading branch information
Mark R. Tuttle committed Oct 10, 2023
1 parent 8b0c399 commit 8143845
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Collections/Sequences/Seq.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module {:options "-functionSyntax:4"} Seq {
import opened Wrappers
import opened MergeSort
import opened Relations
import Math
import Dafny.Math

/**********************************************************
*
Expand Down
2 changes: 1 addition & 1 deletion src/JSON/Serializer.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ include "Spec.dfy"

module {:options "-functionSyntax:4"} JSON.Serializer {
import Seq
import Math
import Dafny.Math
import opened Wrappers
import opened BoundedInts
import opened Utils.Str
Expand Down
2 changes: 1 addition & 1 deletion src/Math.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* SPDX-License-Identifier: MIT
*******************************************************************************/

module {:options "-functionSyntax:4"} Math {
module {:options "-functionSyntax:4"} Dafny.Math {
function Min(a: int, b: int): int
{
if a < b
Expand Down

0 comments on commit 8143845

Please sign in to comment.