[isabelle-dev] "canonical" left-fold combinator for lists

Florian Haftmann florian.haftmann at informatik.tu-muenchen.de
Fri Jan 13 21:13:59 CET 2012

Hi all,

> Here is what I suggest: If there is a concensus that the argument
> order of List.fold is more useful than the existing foldl, then we
> should simply *replace* foldl with the new fold. Otherwise we should
> get rid of the new List.fold.

for short: I have no objections to get rid of foldl.

There were indeed some considerations before introducing List.fold into
Main HOL (being present in HOL-Library since around early summer 2010).
 At some time I will set out them on the mailing list.

The only remark on the discussion about »canonicity« I want to add is
that the use of the word »canonical« is quite canonical in our
community, no matter how canonical Ubuntu is.



PGP available:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://mailman46.in.tum.de/pipermail/isabelle-dev/attachments/20120113/532ab926/attachment.sig>

More information about the isabelle-dev mailing list