Skip to content

Commit

Permalink
Remove unused function that can’t be compiled for Java
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-aws committed May 4, 2023
1 parent 79551df commit 8992608
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/JSON/Utils/Str.dfy
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,6 @@ module {:options "-functionSyntax:4"} JSON.Utils.Str {
else [minus] + OfNat_any(-n, chars)
}

function DigitsTable(digits: seq<Char>): map<Char, nat>
requires forall i, j | 0 <= i < j < |digits| :: digits[i] != digits[j]
{
map i: nat | 0 <= i < |digits| :: digits[i] := i
}

function ToNat_any(str: String, base: nat, digits: map<Char, nat>) : (n: nat)
requires base > 0
requires forall c | c in str :: c in digits
Expand Down

0 comments on commit 8992608

Please sign in to comment.