thunk
Jump to navigation
Jump to search
English[edit]
Pronunciation[edit]
Etymology 1[edit]
By analogy with past tenses and past participles ending in "-unk", such as drunk and sunk.
Verb[edit]
thunk
- (humorous, nonstandard) past participle of think
- 1939, Harold Arlen (music) and E.Y. Harburg (lyrics) (music), “If I Only Had a Brain”, performed by Ray Bolger as the Scarecrow, from The Wizard of Oz:
- I could think of things I never thunk before ...
- Who would have thunk those guys would have a problem with a little lie?
Derived terms[edit]
Etymology 2[edit]
Interjection[edit]
thunk
- Representing the dull sound of the impact of a heavy object striking another and coming to an immediate standstill, with neither object being broken by the impact.
Verb[edit]
thunk (third-person singular simple present thunks, present participle thunking, simple past and past participle thunked)
- To strike against something, without breakage, making a "thunk" sound.
- I was thunked on the head by his stick.
Etymology 3[edit]
Said by the inventors to be from the irregular jocular past tense of think (see Etymology 1), being coined when they realised that the type of an argument in ALGOL 60 could be predetermined at compile time (with a little compile-time “thought”).[1]
Noun[edit]
thunk (plural thunks)
- (computing, functional programming) A delayed computation.
- Coordinate term: closure
- 2009, Bryan O'Sullivan, John Goerzen, Donald Bruce Stewart, Real World Haskell, O'Reilly, page 97,
- Not surprisingly, a thunk is more expensive to store than a single number […] .
- (computing) In the Scheme programming language, a function or procedure taking no arguments.
- (computing) A specialized subroutine that one software module uses to execute code in another module.
- 1995 October 10, PC Mag, Volume 14, Number 17, page 326,
- If the provider of these DLLs has not updated the code to a 32-bit environment, you will have to switch to a new 32-bit library or write thunks between your 32-bit code and the 16-bit DLL.
- 1995 October 10, PC Mag, Volume 14, Number 17, page 326,
Related terms[edit]
- thunking (noun)
Verb[edit]
thunk (third-person singular simple present thunks, present participle thunking, simple past and past participle thunked)
- (computing, functional programming, transitive) To delay (a computation).
- 2009, Bryan O'Sullivan, John Goerzen, Donald Bruce Stewart, Real World Haskell, O'Reilly, page 97,
- Not surprisingly, a thunk is more expensive to store than a single number, and the more complex the thunked expression, the more space it needs. For something cheap such as arithmetic, thunking an expression is more computationally expensive than calculating it immediately.
- 2009, Bryan O'Sullivan, John Goerzen, Donald Bruce Stewart, Real World Haskell, O'Reilly, page 97,
- (computing, transitive) To execute (code) by means of a thunk.
Further reading[edit]
References[edit]
- ^ thunk, entry in Free On-line Dictionary of Computing.
Anagrams[edit]
Categories:
- English 1-syllable words
- English terms with IPA pronunciation
- English terms with audio links
- Rhymes:English/ʌŋk
- Rhymes:English/ʌŋk/1 syllable
- English non-lemma forms
- English verb forms
- English humorous terms
- English nonstandard terms
- English terms with quotations
- English terms with usage examples
- English onomatopoeias
- English lemmas
- English interjections
- English verbs
- English nouns
- English countable nouns
- en:Computing
- English transitive verbs