|
|
polymorphism
<theory, programming> A concept first identified by
Christopher Strachey (1967) and developed by Hindley and
Milner, allowing types such as list of anything. E.g. in
Haskell:
length :: [a] -> Int
is a function which operates on a list of objects of any type,
a (a is a type variable). This is known as parametric
polymorphism. Polymorphic typing allows strong type checking
as well as generic functions. ML in 1976 was the first
language with polymorphic typing.
Ad-hoc polymorphism (better described as overloading) is the
ability to use the same syntax for objects of different types,
e.g. "+" for addition of reals and integers or "-" for unary
negation or diadic subtraction. Parametric polymorphism
allows the same object code for a function to handle arguments
of many types but overloading only reuses syntax and requires
different code to handle different types.
See also generic type variable.
In object-oriented programming, the term is used to describe
a variable that may refer to objects whose class is not
known at compile time and which respond at run time
according to the actual class of the object to which they
refer.
(2002-08-08)
Try this search on OneLook / Google
Nearby terms:
Poly/ML « polymorphic « polymorphic lambda-calculus « polymorphism » polynomial » polynomial-time » polynomial-time algorithm
This article was derived from the Free Online Dictionary of Computers and is available under ther terms of the GNU Free Documentation License.
InventorLabs: TechnologyInventorLabs: Technology InventorLabs invites you to enter the fascinating worlds of three great inventors and recreate their amazing discoveries. Explore the workshops of Thomas Edison, Alexander Graham Bell, and James Watt. Plus, conduct dozens of experiments and view the outcomes. Ages 10+. Windows 95/98/ME/2000/XP and Mac More ...
Intel Celeron 266MHz 66MHz Slot 1 CPUIntel Celeron 266MHz 66MHz Slot 1 CPU ** Intel Celeron 266MHz 66MHz Slot 1 CPU **Getgreat performance for your personal computing and the quality and reliability you expect from the Intel Inside brand with Intel Celeron processors for desktop PCs.General Features:- Intel Celeron 266MHz- Slot 1 SEC- MMX instructions set- CPU Only (Heatsink and Fan NOT Included)Compatibility/Requirements/Disclosures:* Motherboard that supports Celeron 266MHz CPUs* Celeron Slot 1 SEC Heatsink & Fan More ...
G2G Gear 5'' TFT LCD Screen &100W Power InverterG2G Gear 5'' TFT LCD Screen &100W Power Inverter ** G2G Gear 5 LCD Screen & Power Inverter - Play Video Games on the Road! **Tired of hearing are we there yet? Well, with this G2G Gear 5-inch Game kit you can keep your kids entertained on road trips for hours! This 5-inch TFT LCD screen works with all video game formats and includes a 100 watt power inverter that plugs into your cigarette lighter adapter. This inverter has a DC adapter to run the 5-inch flat screen and an AC plug to run you game console, DVD player or what ever else you can think of! It makes it possible to play video games or even watch DVDs in Trucks, Vans, Boats, SUVs and Cars!General Features:- Play Video Games in Trucks, Vans, Boats, SUVs, and Cars- Works with all video game formats (standard NTSC video and RCA sound input)- Straps around headrest- 100 Watt Power Inverter w/Cigarette Adapter (powers screen and game console)- Inverter can also power DVD plavers, VCRs, etc. (has one AC plug output)- Inverter is also used to power LCD screen- AC/DC Adapter for Home UseFlat Screen Specifications:- 5-inch TFT LCD Display- Display Format: 960 x 234 (dot)- Indicator: Power Indicator, LED lamp and OSD system- Contrast Ratio: 100- Audio Output: 1 Watt x 2 channel stereo, RMS- System: NTSCFunction Control:- Power ON/OFF- Mode Key- Adjustment KeyTerminals and Control:- Volume Control- Two (2) headphone jacks- AV Input: RCA, L, R, Video, Mini DIN jack- DC In terminalRegulatory Approvals:- FCCPower Inverter Specifications:- Powered via your automobile cigarette lighter- Provides 100 watts of power- One AC plug output- One DC adapter output (for powering 5-inch screen)- On/Off switch- Power on LED- In-line 15A fuseVoltage:- Input: 13.8VDC- Output: 110VAC (AC plug)- Output Power: 100 watts (max.)Retail Package Includes:- 5-inch TFT LCD Display- 100 Watt power inverter (plugs into cigarette lighter)- AC/DC Adapter (120V 60Hz, 12V DC -- for home use)- Owners Manual Compatibility/Requirements/Disclosures:** Requirements *** Cigarette Lighter Socket or Available Power Outlet* Audio Video Source (ie. Game Console, DVD Players) More ...
Wireless Optical USB Scroll Mouse w/ChargerWireless Optical USB Scroll Mouse w/Charger ** 3-Button Wireless Optical Mouse **Thanks to I Sell Surplus, your customers won't have to spend abundle to get wireless convenience! This USB wirelessoptical mouse uses a single 27 MHz radio frequency for upto 4.5 feet of control range. The mouse itself is all wrapped up in a sleek silver and black design! The receiver even features the capability to recharge a spare set of Ni-MH AAA batteries for the mouse!General Features:- Silver and black- 3-button scrolls- 27 MHz Single Radio Frequency operation- Optical technology works on most surfaces- Automatic smart sleep and wakeup functions to lower powerdrain- Up to 4.5-feet (1.5 meters) in operating range, undernormal conditions (not through walls)- 520 dpi hardware resolution- Receiver can recharge two AAA Ni-MH batteries using onlyUSB power (batteries not included)- Agilent optical sensor- 22 mA working current- 435 mm/s tracking speed- Working voltage (for mouse): 3VDC- 5 million cycles switch liveRetail Package Includes:- Wireless scroll mouse- USB Recevier -->Regulatory Approvals:- FCC- CENotes:- Model: RF-M308-RC Compatibility/Requirements/Disclosures:** PC Requirements *** Available USB mouse port* Microsoft Windows 98/98SE/ME/2000/XP* Two (2) AAA batteries (Ni-MH recommneded) More ...
Speed Metal Box 3.5-In USB 2.0 HDD Case (Black)Speed Metal Box 3.5-In USB 2.0 HDD Case (Black) ** Speed Metal Box 3.5-Inch USB Hard Drive Case **The Speed Metal Box is a USB 2.0 Hi-Speed 3.5-inch drive external enclosure. The compact new design is built from aluminum and punch metal that can stand either vertically or horizontally. Use it for portablestorage between computers and notebooks!General Features:- Black case design- USB 2.0 interface (backwards compatible)- Fits any 3.5-inch hard drive- E-IDE/ATAPI interface- 480 Mbps maximum data transfer- Hot swappable- PC and Macintosh compatible- Stylish design- Aluminum mesh side keeps drive cool- Supports LBA 48-bit addressing for large hard drives(up to 300GB)Retail Package Includes:- Metal Gear Box Speed Metal USB 2.0 case- Plastic stand- USB A to B cable- AC adapter (100-240V, 50-60 Hz)- Driver disc- Installation instructions- Drive mounting screwsNotes:- Not USB powered- Retail box may vary Compatibility/Requirements/Disclosures:** PC Requirements *** Microsoft Windows 98SE/2000/ME/XP* CD-ROM drive for driver installation* Available USB port* Available power outlet** Macintosh Requirements *** Mac OS 8.6 or above* CD-ROM drive for driver installation* Available USB port* Available power outlet More ...
Romantic Piano (Music CD)Romantic Piano (Music CD) Set a romantic mood with the tender piano melodies of Max Vetana. The beautiful sounds of his Steinway grand piano will fill your soul with the language of love. Gently accented with lush strings and orchestration, these compositions will touch your heart and rekindle warm memories of special moments shared in love. Digital Audio CD More ...
|