const

EveAndersson.com : API Browser : const

const

const k
Defined in tcl/ad-functional.tcl

Returns a unary function that ignores its argument and constantly returns k.

Example

  • map [const 7] [list 1 2 3 4 5] = {7 7 7 7 7}

Parameters:
k
[ show source ]

Show another procedure:

eve@eveandersson.com