Browse Source

Create first compiling haskell file

DricomDragon 5 years ago
parent
commit
6083b6e250
1 changed files with 4 additions and 0 deletions
  1. 4 0
      t1.hs

+ 4 - 0
t1.hs

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