Haskell:IntermediateHaskell
하스켈 중급 (Intermediate Haskell)
모듈 (Modules)
독립실행 프로그램 (Standalone programs)
들여쓰기 (Indentation)
데이터타입 보충설명 (More on datatypes)
- 4 데이터타입 보충설명 - WikibooksHaskell
- 기명 필드 (Named Field; 레코드 구문)
*
data Configuration =
Configuration { username :: String,
localhost :: String,
remotehost :: String,
isguest :: Bool,
issuperuser :: Bool,
currentdir :: String,
homedir :: String,
timeconnected :: Integer
}
</syntaxhighlight>