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 ?
But so far was she from being, in the words of Robert South, "in love with her own ruin," that the illusion was transient as lightning; cold reason came back to mock her spasmodic weakness; the ghastliness of her momentary pride would convict her, and recall her to reserved listlessness again.
Catherine said no more, and, with an endeavour to do right, applied to her work; but, after a few minutes, sunk again, without knowing it herself, into languor and listlessness, moving herself in her chair, from the irritation of weariness, much oftener than she moved her needle.
I sat for awhile, frozen with horror; and then, in the listlessness of despair, I again turned over the pages.
Rachel's obvious languor and listlessness made her an easy prey, and indeed Helen had devised a kind of trap.
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.
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.
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.
Your aunt is wanting you, Miss Pollyanna," she said with dreary listlessness.
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.
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.
Svidrigailov," someone answered from the other room with drowsy listlessness.
This is reflected by a general listlessness from the industry, which may create opportunities for companies that can find ways to leverage it.