Even a strict language like scala uses call-by-name arguments for the counterpart to this function in its collections library. It seems to be overstepping the mandate of being a "strict map library" to try to pretend that Haskell is a strict language.
On Thu, Dec 13, 2012 at 8:13 AM, Andreas Abel <andreas.abel@ifi.lmu.de> wrote:For consistency. The API is modeled as if we had call-by-value.
> Key and value arguments are evaluated to WHNF
_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://www.haskell.org/mailman/listinfo/libraries