Re: Generalize indexing function

Henning Thielemann <[email protected]>
Newsgroups gmane.comp.lang.haskell.libraries
Message-ID <[email protected]>
On Sun, 11 Apr 2021, Akhra Gannon wrote:

> It's distributive under IsList.
> fromList (xs !! n) == (fromList xs) !! n

fromList (xs !! n) ?

I think, xs!!n is a single element.
_______________________________________________
Libraries mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.