FoscSchemePair

Returns a FoscSchemePair.


Description

Scheme pair

Initialize Scheme pairs with a tuple, two separate values or another Scheme pair.

[ ]


Usage

  1. Example

    a = FoscSchemePair(-1, 1);
    a.format;
    #'(-1 . 1)
  2. Example

    a = FoscSchemePair('spacing', 4);
    a.format;
    #'(spacing . 4)
  3. Example

    a = FoscSchemePair('font-name', "Times");
    a.format;
    #'(font-name . "Times")
  4. Example

    a = FoscSchemePair(-1, 1);
    b = FoscSchemePair(a);
    b.format;
    #'(-1 . 1)
  5. Example

    a = FoscSchemePair([-1, 1]);
    a.format;
    #'(-1 . 1)