Sorry to spam, just realized that destroys the Map and (->) instances.

-- Keith

Sent from my phone with K-9 Mail.

On April 11, 2021 10:35:53 AM UTC, Tom Ellis <tom-lists-haskell-cafe-2017@jaguarpaw.co.uk> wrote:
On Sun, Apr 11, 2021 at 12:03:04PM +0200, Henning Thielemann wrote:
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.

Presumably `xs !! n == fromList xs !! n`
Libraries mailing list
Libraries@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries