Ver Fonte

Create first compiling haskell file

DricomDragon há 5 anos atrás
pai
commit
6083b6e250
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      t1.hs

+ 4 - 0
t1.hs

@@ -0,0 +1,4 @@
+f n = n * n
+
+main :: IO ()
+main = print ( f 5 )