Tämä sivusto toimii paremmin JavaScriptillä.
Etusivu
Tutki
lain.church
Apua
Rekisteröidy
Kirjaudu sisään
vim
/
hs-irc
Tarkkaile
1
Äänestä
0
Fork
0
Koodi
Ongelmat
0
Pull-pyynnöt
0
Julkaisut
0
Wiki
Activity
Selaa lähdekoodia
tests
master
Tiago Carvalho
3 vuotta sitten
vanhempi
a13602d993
commit
db6c4496e0
2 muutettua tiedostoa
jossa
8 lisäystä
ja
5 poistoa
Jaettu näkymä
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-3
Main.hs
+2
-2
Tupfile
+ 6
- 3
Main.hs
Näytä tiedosto
@@ -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
Näytä tiedosto
@@ -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…
Peruuta
Tallenna