Skip to content

Commit 46dafe0

Browse files
committed
making CI happy
1 parent 51602fa commit 46dafe0

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lambda-buffers-compiler/src/LambdaBuffers/Compiler/TypeClassCheck.hs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{-# LANGUAGE OverloadedLabels #-}
22
{-# LANGUAGE OverloadedStrings #-}
33

4-
module LambdaBuffers.Compiler.TypeClassCheck (detectSuperclassCycles, detectSuperclassCycles', runDeriveCheck) where
4+
module LambdaBuffers.Compiler.TypeClassCheck (detectSuperclassCycles, detectSuperclassCycles', runDeriveCheck, validateTypeClasses) where
55

66
import Control.Lens.Combinators (view)
77
import Control.Lens.Operators ((^.))
@@ -19,8 +19,14 @@ import LambdaBuffers.Compiler.ProtoCompat.Types (
1919
LocalClassRef (LocalClassRef),
2020
TyClassRef (ForeignCI, LocalCI),
2121
)
22-
import LambdaBuffers.Compiler.TypeClass.Pretty
23-
import LambdaBuffers.Compiler.TypeClass.Utils
22+
import LambdaBuffers.Compiler.TypeClass.Pretty (spaced, (<//>))
23+
import LambdaBuffers.Compiler.TypeClass.Utils (
24+
Instance,
25+
ModuleBuilder (mbInstances),
26+
TypeClassError (CouldntSolveConstraints),
27+
checkInstance,
28+
mkBuilders,
29+
)
2430
import LambdaBuffers.Compiler.TypeClass.Validate (checkDerive)
2531
import Prettyprinter (
2632
Doc,

0 commit comments

Comments
 (0)