Parcourir la source

Create first compiling haskell file

DricomDragon il y a 5 ans
Parent
commit
6083b6e250
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      t1.hs

+ 4 - 0
t1.hs

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