Haskell Notes

Notes

    1. Function application is left associative. For example, the expression a b c d is equivalent to (((a b) c) d).

    2. Record Syntax: defines a data type and accessors for each of its component simultaneously.

      1. data Customer = Customer { customerID :: CustomerID , customerName :: String , customerAddress :: Address } deriving (Show)

    3. let ... in ..., where ...

    4. import Data.List / :module +Data.List

    5. Data.Binary for network packet parsing. Network.Socket.ByteString to ByteString I/O for socket.