Skip to content

Commit

Permalink
fixup! Add FromList
Browse files Browse the repository at this point in the history
  • Loading branch information
Martoon-00 committed Aug 12, 2021
1 parent eebdd0a commit 2af9576
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
6 changes: 3 additions & 3 deletions src/Universum/Container/Class.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2af9576

Please sign in to comment.