What do you assume when you see fromListN in a library?

Georg Rudoy 0xd34df00d at gmail.com
Fri Feb 28 04:56:50 UTC 2020

чт, 27 февр. 2020 г. в 21:54, Carter Schonwald <carter.schonwald at gmail.com>:
> Should it reject shorter lists?

Definitely (although it depends on the definition of "reject" — but
I'm even fine with the function being partial there).

> Should it truncate or reject longer lists?

I'd expect it to "truncate", unless "reject" implies performance
benefits (but I couldn't come up with a good example where it does
imply those).

  Georg Rudoy

More information about the Libraries mailing list