listless

(redirected from listlessness)
Also found in: Dictionary, Thesaurus, Medical, Legal, Wikipedia.
Related to listlessness: exuberance

listless

(programming)
In functional programming, a property of a function which allows it to be combined with other functions in a way that eliminates intermediate data structures, especially lists.

Phil Wadler's thesis gives the conditions for a function to be in listless form: each input list is traversed only once, one element at a time, from left to right. Each output list is generated once, one element at a time, from left to right. No other lists are generated or traversed.

Not all functions can be expressed in listless form (e.g. reverse).
References in classic literature ?
In vapid listlessness I leant my head against the window, and continued spelling over Catherine Earnshaw - Heathcliff - Linton, till my eyes closed; but they had not rested five minutes when a glare of white letters started from the dark, as vivid as spectres - the air swarmed with Catherines; and rousing myself to dispel the obtrusive name, I discovered my candle-wick reclining on one of the antique volumes, and perfuming the place with an odour of roasted calf-skin.
Although he could not fail to notice the languor in her face and the listlessness of all her movements, he was relieved to find that she met him with perfect composure.
The maid pulled the hay from her, her mistress submitting with the supine listlessness of a dying animal.
His advanced age had long before deprived him of his activity; and when his companions stopped to view the scenery, or to add to their bouquets, the mastiff would lay his huge frame on the ground and await their movements, with his eyes closed, and a listlessness in his air that ill accorded with the character of a protector.
Casaubon to the Vatican, walked with him through the stony avenue of inscriptions, and when she parted with him at the entrance to the Library, went on through the Museum out of mere listlessness as to what was around her.
Cousins live in it now, distant cousins, loved with the exact measure of love usually bestowed on cousins who reign in one's stead; cousins of practical views, who have dug up the flower-beds and planted cabbages where roses grew; and though through all the years since my father's death I have held my head so high that it hurt, and loftily refused to listen to their repeated suggestions that I should revisit my old home, something in the sad listlessness of the November days sent my spirit back to old times with a persistency that would not be set aside, and I woke from my musings surprised to find myself sick with longing.
With the aid of a little more coaching for the political sages, a little more genteel listlessness for the general society, and a tolerable management of the assumed honesty in dishonesty, most effective and most patronized of the polite deadly sins, he speedily came to be considered of much promise.
Eshton to draw her into conversation, had first murmured over some sentimental tunes and airs on the piano, and then, having fetched a novel from the library, had flung herself in haughty listlessness on a sofa, and prepared to beguile, by the spell of fiction, the tedious hours of absence.
The invalid listlessness of this answer went to Genestas' heart; he said no more to his son, and they reached La Fosseuse's house in silence.
Some of these had ladies with them, to whom they were showing the premises; others were lounging on the chairs and sofas; others, in a perfect state of exhaustion from listlessness, were yawning drearily.
Svidrigailov," someone answered from the other room with drowsy listlessness.
They will be compared with victims of ME, a condition said to cause feelings of exhaustion, lethargy and general listlessness, but which is dismissed by some as an "imagined" illness.