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 /smlnj-lib/trunk/Util/list-xprod-sig.sml
ViewVC logotype

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2144 - (download) (annotate)
Thu Nov 2 16:23:11 2006 UTC (12 years, 8 months ago) by blume
File size: 620 byte(s)
moved smlnj-lib to toplevel
(* 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