list-xprod-sig.sml

来自「这是我们参加06年全国开源软件的竞赛作品」· SML 代码 · 共 21 行

SML
21
字号
(* 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 *)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?