fork download
  1. undostres :: Int -> String
  2. undostres 1 = "uno"
  3. undostres 2 = "dos"
  4. undostres 3 = "tres"
  5. undostres x = "otro"
  6.  
  7. main = do
  8. print( undostres 2 )
Success #stdin #stdout 0s 4696KB
stdin
Standard input is empty
stdout
"dos"