From 2af95763c2f77ffba94dfec48363258985ce4c17 Mon Sep 17 00:00:00 2001 From: martoon Date: Thu, 12 Aug 2021 19:19:32 +0300 Subject: [PATCH] fixup! Add `FromList` --- CHANGES.md | 2 +- src/Universum/Container/Class.hs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index ce74ee1..d8936a1 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 (rev1) 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