翻訳と辞書
Words near each other
・ cal
・ calc
・ calculator
・ calculus of communicating systems
・ calendar api
・ calendar application programming interface
・ caliban
・ calico
・ california state university san marcos
・ call unix
call-by-name
・ call-by-need
・ call-by-reference
・ call-by-value
・ call-by-value-result
・ call-level interface
・ call-with-current-continuation
・ call/cc
・ callback
・ callee


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

call-by-name : FOLDOC
call-by-name
(CBN) (Normal order reduction, leftmost, outermost reduction). An argument passing convention (first provided by ALGOL 60?) where argument expressions are passed unevaluated. This is usually implemented by passing a pointer to a thunk - some code which will return the value of the argument and an environment giving the values of its free variables.
This evaluation strategy is guaranteed to reach a normal form if one exists.
When used to implement functional programming languages, call-by-name is usually combined with graph reduction to avoid repeated evaluation of the same expression. This is then known as call-by-need.
The opposite of call-by-name is call-by-value where arguments are evaluated before they are passed to a function. This is more efficient but is less likely to terminate in the presence of infinite data structures and recursive functions.
Arguments to macros are usually passed using call-by-na


スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.