pattern matching
1. A function i s defined to take argument s of a particular type, form or value. When applying the function to it s actual argument s it i s nece ssary to match the type, form or value of the actual argument s again st the formal argument s in some definition. For example, the function length [] = 0 length (x:x s) = 1 + length x s u se s pattern matching in it s argument to di stingui sh a null li st from a non-null one. There are well known algorithm for tran slating pattern matching into conditional expre ssion s such a s "if" or "ca se". E.g. the above function could be tran sformed to length l = ca se l of [] -> 0 x:x s -> 1 : length x s Pattern matching i s u sually performed in textual order though there are language s which match more specific pattern s before le ss specific one s. 2. De scriptive of a type of language or utility such a s awk or Perl which i s suited to searching for string s or pattern s in input data, u sually u sing some kind of {regular expre ssion}. (1994-11-28) style="border-width:thin; border-color:#333333; border-style:dashed; padding:5px;" align="left">In addition suitable contents: [ 2 ] [ = ] [ actual argument ] [ ag ] [ ai ] [ al ] [ algorithm ] [ am ] [ an ] [ app ] [ ar ] [ arc ] [ arg ] [ argument ] [ as ] [ at ] [ aw ] [ awk ] [ b ] [ be ] [ bo ] [ ca ] [ case ] [ ch ] [ ci ] [ co ] [ con ] [ cr ] [ cu ] [ D ] [ data ] [ de ] [ du ] [ E ] [ ec ] [ ed ] [ eg ] [ er ] [ es ] [ expression ] [ fi ] [ file ] [ fo ] [ for ] [ formal argument ] [ fr ] [ function ] [ ga ] [ ge ] [ gh ] [ gs ] [ gt ] [ gu ] [ h ] [ hing ] [ hm ] [ hr ] [ id ] [ il ] [ in ] [ input ] [ int ] [ io ] [ is ] [ it ] [ ke ] [ ki ] [ kn ] [ la ] [ language ] [ ld ] [ Lex ] [ li ] [ list ] [ lu ] [ ly ] [ ma ] [ mo ] [ mod ] [ module ] [ mp ] [ na ] [ nc ] [ ne ] [ ng ] [ ni ] [ no ] [ np ] [ ns ] [ nu ] [ null ] [ om ] [ pa ] [ pe ] [ perf ] [ ph ] [ pl ] [ ply ] [ pr ] [ pt ] [ query ] [ rc ] [ re ] [ rl ] [ ro ] [ sa ] [ sc ] [ script ] [ se ] [ sh ] [ si ] [ sl ] [ so ] [ spec ] [ st ] [ string ] [ su ] [ suit ] [ T ] [ tc ] [ text ] [ th ] [ to ] [ tr ] [ tt ] [ type ] [ ua ] [ ug ] [ um ] [ us ] [ va ] [ value ] [ ve ]
[ Go Back ]
Free On-line Dictionary of Computing Copyright © by OnlineWoerterBuecher.de - (5240 Reads) |