mayoresQue20 :: Int -> BoolmayoresQue20 n = n > 20 main = do print( filter mayoresQue20 [11, 22, 44, 88] )
Standard input is empty
[22,44,88]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!