File tree 2 files changed +10
-9
lines changed
2 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -90,15 +90,15 @@ import Data.Text (
90
90
import GHC.Integer (
91
91
smallInteger ,
92
92
)
93
+ import GHC.Integer.Logarithms (
94
+ integerLog2 #,
95
+ )
93
96
import GHC.Num.Integer (
94
97
integerFromNatural ,
95
98
integerPowMod #,
96
99
integerRecipMod #,
97
100
integerToNatural ,
98
101
)
99
- import GHC.Integer.Logarithms (
100
- integerLog2 #,
101
- )
102
102
import Kore.Builtin.Bool qualified as Bool
103
103
import Kore.Builtin.Builtin (
104
104
UnifyEq (.. ),
@@ -372,13 +372,13 @@ powmod b e m
372
372
-- adapt best to the new ghc-bignum regime.
373
373
recipModInteger :: Integer -> Integer -> Integer
374
374
recipModInteger x m' = case integerRecipMod# x (integerToNatural m') of
375
- (# y | # ) -> integerFromNatural y
376
- ( # | () # ) -> 0
375
+ (# y | # ) -> integerFromNatural y
376
+ ( # | () # ) -> 0
377
377
378
378
powModInteger :: Integer -> Integer -> Integer -> Integer
379
379
powModInteger b' e' m' = case integerPowMod# b' e' (integerToNatural m') of
380
- (# r | # ) -> integerFromNatural r
381
- (# | () # ) -> 0
380
+ (# r | # ) -> integerFromNatural r
381
+ (# | () # ) -> 0
382
382
383
383
evalEq :: Builtin. Function
384
384
evalEq sideCondition resultSort arguments@ [_intLeft, _intRight] =
Original file line number Diff line number Diff line change
1
+ -- The Synthetic KeyAttributes base instance needs this.
2
+ {-# OPTIONS_GHC -Wno-redundant-constraints #-}
3
+
1
4
{- |
2
5
Copyright : (c) Runtime Verification, 2018-2021
3
6
License : BSD-3-Clause
4
7
-}
5
- -- The Synthetic KeyAttributes base instance needs this.
6
- {-# OPTIONS_GHC -Wno-redundant-constraints #-}
7
8
module Kore.Internal.Key (
8
9
Key (.. ),
9
10
KeyF (.. ),
You can’t perform that action at this time.
0 commit comments