https://github.com/Helium4Haskell/lvm
Raw File
Tip revision: 7a44a05b695602cb141014fc38e076752711dc59 authored by Ivo Gabe de Wolff on 04 February 2020, 16:32:17 UTC
Fix pretty printing of 'export' and 'from'
Tip revision: 7a44a05
simple2.core
module Simple2 where

-- direct application in let binding
-- example by Arjan van Yzendoorn, [i] is evaluated only once
id   = \x -> x
main = let i = id id in i i 1   -- = 1
back to top