objectToList

 

 

Overview

The objectToList function converts the object {object} into a list returning the new list. The {object} may be either a Vector, a Dictionary, a Structure, or a Range. If the object is already a List, it is returned unchanged. Any other type of object is returned as a List containing a singleton.

Usage

The objectToList function is used to coerce an object into a List (of Pairs).

 

Syntax


Expression:

(objectToList object )


Arguments Name Type Description
Argument:objVector Structure Dictionary Range Any other object except the ones specified will return a List containing a singleton.

Returns:

A List created from the object argument



 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

 

Argument Types

Here are the links to the data types of the function arguments.

Vector NumVector List Pair
Structure Dictionary

Here are also a number of links to functions having arguments with any of these data types.

addMethod appendWriteln append apply
associate binaryInsert binarySearch bitToNumberVector
boolean c::r car cdr
class compareEQ compareGE compareGT
compareLE compareLT compareNE compare
comparison compile cons copy
count debugDetective defineStructure defstruct
delete dimension display eval
exportCsv exportSbf exportTab fieldsOf
findBlock find freeBlock importCsv
importSbf importTab insert inside
integer isAtom isBitVector isBoolean
isBound isByteVector isCharAlphabetic isCharAlphanumeric
isCharLowercase isCharName isCharNumeric isCharUppercase
isCharWhitespace isChar isCharacter isClass
isComplex isDate isDictionary isDirectory
isEqual isError isFloatVector isIdentical
isInside isIntegerVector isInteger isLambda
isMatrix isMember isMoney isNumberMatrix
isNumberVector isNumber isObjectVector isObject
isPair isPcodeVector isString isStructure
isSymbol isText isType isVector
last length lisp list
macroReplace makeDictionary makeGramMatrix makeQuotedList
makeStructure map mapc member
methodsOf money morph new
number objectToDictionary objectToList objectToMatrix
objectToNumMatrix objectToNumVector objectToStructure objectToVector
offset pair parent parse
pointer product proplist proprecord
putprop quote rank refAttributes
refValues ref remProp remove
resize reverse saveObject send
setAttributes setBlock setCar setCdr
setLastCdr setq sizeof sort
stringToBVector stringToVector string super
svmRegression type uniqueInsert vectorBinaryInnerProduct
vectorBipolarInnerProduct vectorCosineInnerProduct vectorCubeInnerProduct vectorExpInnerProduct
vectorFill vectorInnerProduct vectorLogInnerProduct vectorQuartInnerProduct
vectorQuintInnerProduct vectorSigmoidInnerProduct vectorSineInnerProduct vectorSquareInnerProduct
vectorTanInnerProduct vectorTanhInnerProduct writelg writeln

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE