ソースを参照

Create first compiling haskell file

DricomDragon 5 年 前
コミット
6083b6e250
1 ファイル変更4 行追加0 行削除
  1. 4 0
      t1.hs

+ 4 - 0
t1.hs

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