This website works better with JavaScript.
Почетна
Преглед
lain.church
Помоћ
Регистрација
Пријавите Се
vim
/
hs-irc
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Захтеви за спајање
0
Издања
0
Вики
Activity
Преглед изворни кода
tests
master
Tiago Carvalho
пре 3 година
родитељ
a13602d993
комит
db6c4496e0
2 измењених фајлова
са
8 додато
и
5 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-3
Main.hs
+2
-2
Tupfile
+ 6
- 3
Main.hs
Прегледај датотеку
@@ -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
Прегледај датотеку
@@ -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…
Откажи
Сачувај