Convert Python to Haskell / Lambda calculus
        Posted  
        
            by Masi
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Masi
        
        
        
        Published on 2009-11-28T23:03:06Z
        Indexed on 
            2010/06/13
            22:02 UTC
        
        
        Read the original article
        Hit count: 440
        
What is the Python code in Haskell and Lambda calculus?
def f1():
   x = 77
   def f2():
      print x
   f2
f1
My attempt in lambda calculus
\x. 77 (\x.x)
        © Stack Overflow or respective owner