Skip to content

Commit 1fe8f72

Browse files
author
github-actions
committed
Format with fourmolu
1 parent f5594a4 commit 1fe8f72

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

kore/src/Kore/Builtin/Int.hs

+7-7
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ import Data.Text (
9090
import GHC.Integer (
9191
smallInteger,
9292
)
93+
import GHC.Integer.Logarithms (
94+
integerLog2#,
95+
)
9396
import GHC.Num.Integer (
9497
integerFromNatural,
9598
integerPowMod#,
9699
integerRecipMod#,
97100
integerToNatural,
98101
)
99-
import GHC.Integer.Logarithms (
100-
integerLog2#,
101-
)
102102
import Kore.Builtin.Bool qualified as Bool
103103
import Kore.Builtin.Builtin (
104104
UnifyEq (..),
@@ -372,13 +372,13 @@ powmod b e m
372372
-- adapt best to the new ghc-bignum regime.
373373
recipModInteger :: Integer -> Integer -> Integer
374374
recipModInteger x m' = case integerRecipMod# x (integerToNatural m') of
375-
(# y | #) -> integerFromNatural y
376-
(# | () #) -> 0
375+
(# y | #) -> integerFromNatural y
376+
(# | () #) -> 0
377377

378378
powModInteger :: Integer -> Integer -> Integer -> Integer
379379
powModInteger b' e' m' = case integerPowMod# b' e' (integerToNatural m') of
380-
(# r | #) -> integerFromNatural r
381-
(# | () #) -> 0
380+
(# r | #) -> integerFromNatural r
381+
(# | () #) -> 0
382382

383383
evalEq :: Builtin.Function
384384
evalEq sideCondition resultSort arguments@[_intLeft, _intRight] =

kore/src/Kore/Internal/Key.hs

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
-- The Synthetic KeyAttributes base instance needs this.
2+
{-# OPTIONS_GHC -Wno-redundant-constraints #-}
3+
14
{- |
25
Copyright : (c) Runtime Verification, 2018-2021
36
License : BSD-3-Clause
47
-}
5-
-- The Synthetic KeyAttributes base instance needs this.
6-
{-# OPTIONS_GHC -Wno-redundant-constraints #-}
78
module Kore.Internal.Key (
89
Key (..),
910
KeyF (..),

0 commit comments

Comments
 (0)