This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
HaskellCourse
Watch
3
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
Create first compiling haskell file
DricomDragon
5 years ago
parent
699f3de6df
commit
6083b6e250
1 changed files
with
4 additions
and
0 deletions
Split View
Show Diff Stats
4
0
t1.hs
+ 4
- 0
t1.hs
View File
@@ -0,0 +1,4 @@
+f n = n * n
+
+main :: IO ()
+main = print ( f 5 )