]> gerrit.simantics Code Review - simantics/platform.git/blob - DoubleEffect.scl
463f6b986f88faa3d249657c61040e0bab81466c
[simantics/platform.git] / DoubleEffect.scl
1 app :: (Integer -> <e1> Integer) -> <e1> ((Integer -> <e2> Integer) -> <e2> Integer)
2 app f = do
3   a = f 1
4   \g -> g a
5   
6 main = app (\x -> x) (\x -> x)
7 --
8 1