diff --git a/CHANGES.md b/CHANGES.md index b88b215..c89a99f 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,7 +1,7 @@ Unreleased ===== -* [#238](https://github.com/serokell/universum/issues/238): +* [#238](https://github.com/serokell/universum/pull/238): Add `fromList`. 1.7.2 diff --git a/src/Universum/Container/Class.hs b/src/Universum/Container/Class.hs index fb97909..6a5dff0 100644 --- a/src/Universum/Container/Class.hs +++ b/src/Universum/Container/Class.hs @@ -202,9 +202,9 @@ class FromList l where => [ListElement l] -> l fromList = Exts.fromList -instance FromList [a] where -instance FromList (Vector a) where -instance FromList (Seq a) where +instance FromList [a] +instance FromList (Vector a) +instance FromList (Seq a) instance FromList (ZipList a) where type ListElement (ZipList a) = a fromList = ZipList