Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/smlnj-lib/Util/list-xprod-sig.sml
ViewVC logotype

View of /sml/trunk/src/smlnj-lib/Util/list-xprod-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 651 - (download) (annotate)
Thu Jun 1 18:34:03 2000 UTC (19 years, 4 months ago) by monnier
File size: 620 byte(s)
bring revisions from the vendor branch to the trunk
(* list-xprod-sig.sml
 *
 * COPYRIGHT (c) 1993 by AT&T Bell Laboratories.  See COPYRIGHT file for details.
 *
 * Functions for computing with the cross product of two lists.
 *)

signature LIST_XPROD =
  sig

    val appX : (('a * 'b) -> 'c) -> ('a list * 'b list) -> unit
	(* apply a function to the cross product of two lists *)

    val mapX : (('a * 'b) -> 'c) -> ('a list * 'b list) -> 'c list
	(* map a function across the cross product of two lists *)

    val foldX : (('a * 'b * 'c) -> 'c) -> ('a list * 'b list) -> 'c -> 'c
	(* fold a function across the cross product of two lists *)

  end; (* LIST_XPROD *)

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0