Changes between Version 1 and Version 2 of Dev/lambda


Ignore:
Timestamp:
Nov 28, 2010 10:03:03 PM (13 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Dev/lambda

    v1 v2  
    4343}}} 
    4444   * ここで、local内で定義されているrepeatを無名関数にすることは可能か? 
     45     1. Perler的発想であれば、lambdaが暗黙的に$_のような変数(?)に代入を行い、それをlambdaの中で再帰的に呼ぶようにすれば可能ではないか。 (thx to twitter:VienosNotes) 
     46 * wikipetan:ラムダ計算#.E5.86.8D.E5.B8.B0 
     47{{{ 
     48ラムダ計算では自分自身を含む関数は定義できない。 
     49}}} 
     50   * とあるので、本質的に不可能?