https://github.com/Helium4Haskell/lvm
Raw File
Tip revision: 26857cef4ea09c7a96311c898ac6859b66f29d39 authored by Lars on 05 December 2018, 11:11:42 UTC
Added qualified typing to LVM
Tip revision: 26857ce
simple3.core
module Simple3 where

const   = \x y -> x

-- test partial application
main    = let ap2 = \f -> f 2 in
          let ap1 = \f -> let f1 = f 1 in ap2 f1 in
          ap1 const  --== 1
back to top