浏览代码

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 )