Consider removing FromList
instance for NonEmpty
#264
Labels
type:breaking
Breaking change (removal, renaming, semantic change, etc.)
FromList
instance for NonEmpty
#264
In #238 I have added
FromList
typeclass withfromList
that behaves very similar toGHC.Exts.IsList.fromList
.And it is defined for
NonEmpty
too. This means that the following code:as well as the following code:
will fail. However, unlike in
IsList
, currently we will have a callstack attached to the error.We should consider pros and cons of removing this instance.
The text was updated successfully, but these errors were encountered: