t3x.org / sketchy / library / pair.html
SketchyLISP
Reference
  Copyright (C) 2007
Nils M Holm

pair

Conformance: SketchyLISP Extension

Purpose: Build an association list from two lists.

Arguments:
X - list of keys
Y - list of values

Implementation:

(define (pair x y)
  (map cons x y))

Example:

(pair '(1 2 3) '(i ii iii)) 
=> ((1 . i) (2 . ii) (3 . iii))

See also:
assoc.