guthrie
2009-01-12 14:00:06 UTC
I was trying to use sml's logical functions andalso & orelse as
partially applied arguments to a reduce (fold), but couldn't get them
to work with either "op", secl/secr, or just partially applying them.
They seem to have a special syntactic status; Paulson describes
andalso as an "abbreviation".
Can they be used as HOFs?
partially applied arguments to a reduce (fold), but couldn't get them
to work with either "op", secl/secr, or just partially applying them.
They seem to have a special syntactic status; Paulson describes
andalso as an "abbreviation".
Can they be used as HOFs?