[1 of 1] Compiling Main ( prog.hs, prog.o )
prog.hs:3:8:
No instance for (Ord (IO t))
arising from a use of `min' at prog.hs:3:8-15
Possible fix: add an instance declaration for (Ord (IO t))
In the expression: min 9 10
In the expression: do min 9 10
In the definition of `main': main = do min 9 10
prog.hs:3:12:
No instance for (Num (IO t))
arising from the literal `9' at prog.hs:3:12
Possible fix: add an instance declaration for (Num (IO t))
In the first argument of `min', namely `9'
In the expression: min 9 10
In the expression: do min 9 10