det = uncurry (-) . uncurry (uncurry (***) . ((*) *** (*))) . second swapmain = print $ det ((1, 2), (3, 4))
Standard input is empty
[1 of 1] Compiling Main ( prog.hs, prog.o ) prog.hs:1:37: Not in scope: `***' prog.hs:1:50: Not in scope: `***' prog.hs:1:62: Not in scope: `second' prog.hs:1:69: Not in scope: `swap'
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!