import Data.Functor ((<$))main = do let x=1::Int let y=Nothing :: Maybe Int print (x <$ y :: Maybe Int)
Standard input is empty
Nothing
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!