Skip to content

Commit

Permalink
Make Data.{Bifoldable,Bitraversable} -XSafe
Browse files Browse the repository at this point in the history
Test Plan:
Previously, `Data.{Bifoldable,Bitraversable}` were being inferred as
`Unsafe` due to a transitive `Data.Coerce` import from `Data.Functor.Utils`.
This rectifies this unfortunate mistake.

Reviewers: austin, hvr, bgamari

Reviewed By: bgamari

Subscribers: thomie, phadej

Differential Revision: https://phabricator.haskell.org/D2412
  • Loading branch information
RyanGlScott committed Jul 20, 2016
1 parent 98b2c50 commit e46b768
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libraries/base/Data/Bifoldable.hs
@@ -1,3 +1,4 @@
{-# LANGUAGE Safe #-}
{-# LANGUAGE ScopedTypeVariables #-}

-----------------------------------------------------------------------------
Expand Down
2 changes: 2 additions & 0 deletions libraries/base/Data/Bitraversable.hs
@@ -1,3 +1,5 @@
{-# LANGUAGE Safe #-}

-----------------------------------------------------------------------------
-- |
-- Module : Data.Bitraversable
Expand Down
1 change: 1 addition & 0 deletions libraries/base/Data/Functor/Utils.hs
@@ -1,3 +1,4 @@
{-# LANGUAGE Trustworthy #-}
{-# LANGUAGE NoImplicitPrelude #-}

-----------------------------------------------------------------------------
Expand Down

0 comments on commit e46b768

Please sign in to comment.