Another posts

pendence definition definition of narcist reconcentration camps definition knight of the shire haymaker etymology hump mold definition pathfinder lay of the land in keeping with definition masting definition war ridden oscine bird plug tap definition your obedient servant meaning special properties definition vanner definition polar axis definition quiddit definition west indian definition stultification definition torching definition native land definition dowie definition armata definition uterine vein self satisfying what does non conveyable mean complemental air definition of mental process cosign definition hip hop run for an office doling out meaning wry face nevada etymology

thunk

Definitions

  • WordNet 3.6
    • n thunk a dull hollow sound "the basketball made a thunk as it hit the rim"
    • ***

Usage

In literature:

And his eye, meeting hers, began winking, and wunk; While she, in her turn, fell to thinking, and thunk.
"Punchinello, Vol. 2, No. 27, October 1, 1870" by Various
For a fact, she thunk I was alludin' to her.
"Overland Red" by Henry Herbert Knibbs
It thunked like an ax biting into a tree trunk, biting halfway through the flesh.
"Rebels of the Red Planet" by Charles Louis Fontenay
I've thunk of it now.
"The Lilac Lady" by Ruth Alberta Brown
Who'd 'a' thunk you 'uz so skeery?
"Nights With Uncle Remus" by Joel Chandler Harris
Something went whining and whistling over him, there was a thunk and a screech.
"The Stars, My Brothers" by Edmond Hamilton
Who'd 'a' thunk you 'uz so skeery?
"Nights With Uncle Remus" by Joel Chandler Harris
A terrifying silence fell upon the room as soon as the suddenly thunking relays opened automatically.
"Empire" by Clifford Donald Simak
But bein' on'y a lost soul I'm 'lowed t' think; an' I've thunk a idea.
"The Cruise of the Shining Light" by Norman Duncan
Us used dem tomatoes for flowers, 'cause us thunk dem pretty red things would kill us or put de spell on us.
"Slave Narratives: a Folk History of Slavery in the United States From Interviews with Former Slaves" by Work Projects Administration
But you'd ought to have thunk of some of the boys.
"The Sheriff of Badger" by George B. Pattullo
He heard the dull thunk of silencers just as the world went forever black.
"Project Cyclops" by Thomas Hoover
Vance just kept firing, dull thunks into the figure stumbling backward as the H&K machine pistol erupted spasmodically into the hot, dry air.
"Project Daedalus" by Thomas Hoover
She thunk too much o' him fur that.
"The Prophet of the Great Smoky Mountains" by Charles Egbert Craddock
I thunked that there wooden shetter for the window as a protection.
"Tales from the Veld" by Ernest Glanville
I jes' done thunk somethin'!
"Molly Brown's College Friends" by Nell Speed
Mill'cent 'lowed ez fust she thunk it war the moon.
"The Phantoms of the Foot-Bridge and Other Stories" by Charles Egbert Craddock
The more I've thunk, the less I've knowed.
"Every Man for Himself" by Norman Duncan
You'd thunk she was two years older'n me, too.
"The Corner House Girls Under Canvas" by Grace Brooks Hill
Let all nature stand hushed and silent while I thunk a think.
"Frank Merriwell's Triumph" by Burt L. Standish
***

In poetry:

When he sewed the carpenter up in a sack,
And fired the cook from a gun,
We`d a-thunk that `is rule was a little mite crool,
If we hadn`t knowed Pink as we done.
"Captain Pink of the Peppermint" by Wallace Irwin

In news:

Who'd have thunk it would be Jill Biden.
Thunk Tank with Bronwyn and Jay is also available as a podcast.
5 months ago, who'd have thunk this.
There's something satisfying, pure and primal in the "thunk" you get when releasing an arrow from the string of a traditional bow.
Ned Dishman/Getty ImagesWho'd have thunk it.
Who would have thunk Prince Harry would allow naked pictures to be taken of himself while whooping it up in Vegas.
Volkswagen Jetta Commercial Door Thunk.
With all the stupid apps on the market now, Who would of thunk you could find one that would really piss a frog off.
This is making television in 2011 Who'd a thunk it.
Park Ave S & B'way) 353-3700 Who Woulda Thunk.
Who would have thunk it.
***

In science:

When a thunk is evaluated, it is replaced by an indirection which points to the result of the evaluation, which can be a data constructor or a function closure.
dup -- Explicit un-sharing in Haskell
This way, when another reference to the thunk is evaluated, the computation is not repeated but the calculated result is used directly, hence the result is shared.
dup -- Explicit un-sharing in Haskell
We cannot change the code of the thunk, but we can copy the thunk, thus creating a new copy that is not referenced by other code, and then evaluate that.
dup -- Explicit un-sharing in Haskell
For every referenced object, an application thunk is created which applies deepDup (or rather the variant deepDupFun with the better suited type a → a), unless we are about to deepDup a deepDup thunk.
dup -- Explicit un-sharing in Haskell
One large problem is posed by statically allocated thunks: A value, say nats = [0..], defined at the module level is compiled to a thunk with closure type THUNK_STATIC, also called a constant applicative form (CAF), and receives special treatment by the garbage collector.
dup -- Explicit un-sharing in Haskell
Therefore, dup and deepDup currently does not work for static thunks.
dup -- Explicit un-sharing in Haskell
When it is passed such a thunk, it prints a warning and returns the original reference, retaining sharing.
dup -- Explicit un-sharing in Haskell
It should be possible for dup to support static thunks with some additional information in the compiled code.
dup -- Explicit un-sharing in Haskell
Currently, when execution enters a static thunk and the stack and heap checks have been passed, the thunk is replaced by an indirection into the heap and an update frame is pushed on the stack.
dup -- Explicit un-sharing in Haskell
If there was a way to jump over the code that sets up the indirection and update frame, e.g. via an alternative entry point included in the info table, dup could create a thunk on the heap that calls the static thunk via this route, effectively kicking off evaluation without affecting the original static thunk.
dup -- Explicit un-sharing in Haskell
In the presence of Lazy IO, duplicating thunks can be outright dangerous: Not only can the original and the duplicated thunk evaluate to different values but this can make the program crash, e.g. when one copy is done evaluating and causes a file to be closed, while the second copy continues to read from it.
dup -- Explicit un-sharing in Haskell
Function closures need special treatment as there are cases where code assumes a certain reference to always be a function closure and never a thunk that will evaluate to a function.
dup -- Explicit un-sharing in Haskell
***