Skip to content

Commit 96216a5

Browse files
committed
fixup! Add Show Univ instance
1 parent 2a60a72 commit 96216a5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

base/Data/Universe/Helpers.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module Data.Universe.Helpers (
2323
import Prelude.Compat
2424

2525
import Control.Applicative (Alternative (..))
26+
import Data.Foldable (toList)
2627
import Data.Typeable (Typeable)
2728
import Data.Semigroup (Semigroup (..))
2829
import Data.List.Compat
@@ -61,7 +62,7 @@ univUncons :: Univ a -> Maybe (a, Univ a)
6162
univUncons (Univ []) = Nothing
6263
univUncons (Univ (x:xs)) = Just (x, Univ xs)
6364

64-
-- | Create 'Univ' from potentiall infinite list
65+
-- | Create 'Univ' from potentially infinite list.
6566
univFromList :: [a] -> Univ a
6667
univFromList = Univ
6768

0 commit comments

Comments
 (0)