이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
lain.church
도움말
가입하기
로그인
vim
/
hs-irc
보기
1
좋아요
0
포크
0
코드
이슈
0
풀 리퀘스트
0
릴리즈
0
위키
활동
소스 검색
initial commit
master
Tiago Carvalho
3 년 전
커밋
1c76bd0b0a
6개의 변경된 파일
과
32개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
.gitignore
+13
-0
IRC/Connection.hs
+3
-0
IRC/Tupfile
+7
-0
Main.hs
+4
-0
Tupfile
+1
-0
Tuprules.tup
+ 4
- 0
.gitignore
파일 보기
@@ -0,0 +1,4 @@
**.o
**.hi
/.tup
/Main
+ 13
- 0
IRC/Connection.hs
파일 보기
@@ -0,0 +1,13 @@
module IRC.Connection where
import Data.Word (Word16)
--import qualified Network.Socket as S
-- The host to connect to.
type Host = String
-- The port to connect to.
type Port = Word16
--connect :: S.Socket
+ 3
- 0
IRC/Tupfile
파일 보기
@@ -0,0 +1,3 @@
include_rules
: foreach *.hs |> ghc $(GHCFLAGS) -c %f |> %B.o %B.hi
+ 7
- 0
Main.hs
파일 보기
@@ -0,0 +1,7 @@
module Main where
main :: IO ()
main = cena
cena :: IO ()
cena = putStrLn "ganda cena mano"
+ 4
- 0
Tupfile
파일 보기
@@ -0,0 +1,4 @@
include_rules
: foreach *.hs |> ghc $(GHCFLAGS) -c %f |> %B.o %B.hi
: *.o IRC/Connection.o |> ghc -o Main %f |> Main
+ 1
- 0
Tuprules.tup
파일 보기
@@ -0,0 +1 @@
GHCFLAGS += -Wall -O3
쓰기
미리보기
불러오는 중...
취소
저장