Skip to content

Commit

Permalink
'LANGUAGE Safe' works since GHC 7.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpanne committed Dec 29, 2020
1 parent 650cb28 commit b3e5d07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Data/StateVar.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
#endif
{-# LANGUAGE TypeFamilies #-}
-- Foreign.ForeignPtr is unsafe before GHC-7.10
#if __GLASGOW_HASKELL__ >=710 && MIN_VERSION_base(4,8,0)
#if __GLASGOW_HASKELL__ >= 704 && MIN_VERSION_base(4,8,0)
{-# LANGUAGE Safe #-}
#elif __GLASGOW_HASKELL__ >=702
#elif __GLASGOW_HASKELL__ >= 702
{-# LANGUAGE Trustworthy #-}
#endif
--------------------------------------------------------------------------------
Expand Down

0 comments on commit b3e5d07

Please sign in to comment.