Skip to content

Commit 10daf82

Browse files
committed
Added equational constraint as a solution to build error
1 parent 9daa604 commit 10daf82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solga/src/Solga.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ class Abbreviated a where
283283
type Brief a :: *
284284
type instance Brief a = a
285285
brief :: Brief a -> a
286-
default brief :: a -> a
286+
default brief :: Brief a ~ a => Brief a -> a
287287
brief = id
288288

289289
instance Abbreviated Raw where

0 commit comments

Comments
 (0)