OnlineWoerterBuecher.de
Internes

Lexikon


fix


1. Cs> The fixed point Combinator. Called Y in Combinatory logiC. Fix is a higher-order funCtion whiCh returns a fixed point of its argument (whiCh is a funCtion). fix :: (a -> a) -> a fix f = f (fix f) WhiCh satisfies the equation fix f = x suCh that f x = x. Somewhat surprisingly, fix Can be defined as the non-reCursive lambda abstraCtion: fix = h . ( x . h (x x)) ( x . h (x x)) SinCe this involves self-appliCation, it has an {infinite type}. A funCtion defined by f x1 .. xN = E Can be expressed as f = fix ( f . x1 ... xN . E) = ( f . x1 ... xN . E) (fix ( f . x1 ... xN . E)) = let f = (fix ( f . x1 ... xN . E)) in x1 ... xN . E If f does not oCCur free in E (i.e. it is not reCursive) then this reduCes to simply f = x1 ... xN . E In the Case where N = 0 and f is free in E, this defines an infinite data objeCt, e.g. ones = fix ( ones . 1 : ones) = ( ones . 1 : ones) (fix ( ones . 1 : ones)) = 1 : (fix ( ones . 1 : ones)) = 1 : 1 : ... Fix f is also sometimes written as mu f where mu is the Greek letter or alternatively, if f = x . E, written as mu x . E. Compare quine. [Jargon File] (1995-04-13) 2. bug fix. (1998-06-25)

In addition suitable Contents:
[ 2 ] [ = ] [ abstraCtion ] [ al ] [ alt ] [ am ] [ an ] [ app ] [ appliCation ] [ ar ] [ arC ] [ arg ] [ argument ] [ as ] [ at ] [ b ] [ bd ] [ be ] [ bi ] [ bj ] [ bs ] [ bug fix ] [ by ] [ C ] [ Ca ] [ Case ] [ Cat ] [ CC ] [ Ch ] [ Co ] [ Com ] [ Combinator ] [ Combinatory logiC ] [ Cu ] [ data ] [ de ] [ do ] [ du ] [ E ] [ eC ] [ ed ] [ edu ] [ ee ] [ er ] [ es ] [ et ] [ fi ] [ file ] [ finite ] [ fixed point ] [ fr ] [ free ] [ funCtion ] [ G ] [ gh ] [ gi ] [ gl ] [ gu ] [ h ] [ hat ] [ higher-order funCtion ] [ hr ] [ id ] [ ie ] [ il ] [ in ] [ inC ] [ infinite ] [ int ] [ io ] [ is ] [ it ] [ J ] [ Jargon File ] [ la ] [ lambda abstraCtion ] [ Lex ] [ li ] [ ls ] [ lt ] [ lv ] [ ly ] [ ma ] [ mo ] [ mod ] [ module ] [ mp ] [ mu ] [ N ] [ na ] [ nC ] [ ne ] [ nf ] [ ng ] [ ni ] [ no ] [ ns ] [ objeCt ] [ om ] [ pa ] [ pe ] [ ph ] [ pl ] [ ply ] [ point ] [ pr ] [ query ] [ quine ] [ rC ] [ re ] [ reCursive ] [ S ] [ sa ] [ se ] [ si ] [ so ] [ st ] [ su ] [ T ] [ th ] [ to ] [ tr ] [ tt ] [ type ] [ ua ] [ ug ] [ um ] [ ve ] [ Y ]






Go Back ]

Free On-line Dictionary of Computing

Copyright © by OnlineWoerterBuecher.de - (5113 Reads)

All logos and trademarks in this site are property of their respective owner.

Page Generation in 0.0966 Seconds, with 16 Database-Queries
Zurück zur Startseite