Skip to content

Commit 53be297

Browse files
committed
Remove typeclass constraint on free since it is unnecessary and enables typechecking
1 parent 05af213 commit 53be297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Array.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ makeArray = make
9999
#endif
100100

101101
{-# INLINE free #-}
102-
free :: HasPrim a => Array a -. ()
102+
free :: Array a -. ()
103103
free = Unsafe.toLinear (\_ -> ())
104104

105105
{-# INLINE flattenCallback #-}

0 commit comments

Comments
 (0)