瀏覽代碼

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 )