This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
vim
/
hs-irc
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
tests
master
Tiago Carvalho
3 years ago
parent
a13602d993
commit
db6c4496e0
2 changed files
with
8 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-3
Main.hs
+2
-2
Tupfile
+ 6
- 3
Main.hs
View File
@@ -1,7 +1,10 @@
module Main where
import IRC.Connection (Port)
main :: IO ()
main = cena
main = go
where go = print port
cena :: IO ()
cena = putStrLn "ganda cena mano, de boa velho"
port :: Port
port = 69
+ 2
- 2
Tupfile
View File
@@ -1,4 +1,4 @@
include_rules
: foreach *.hs |> ghc $(GHCFLAGS) -c %f |> %B.o %B.hi
: *.o IRC/
Connection
.o |> ghc -o Main %f |> Main
: foreach *.hs |
IRC/*.hi |
> ghc $(GHCFLAGS) -c %f |> %B.o %B.hi
: *.o IRC/
*
.o |> ghc -o Main %f |> Main
Write
Preview
Loading…
Cancel
Save