[Haskell-cafe] Order of Declaration

PR Stanley prstanley at ntlworld.com
Sat Sep 29 12:58:03 EDT 2007

in C type languages a function must be declared before its application.
Would I be right in thinking that this isn't the case in Functional languages?
For example:
transmit :: String -> String
transmit = decode . channel . encode
channel :: [[Int]] -> [[Int]]
channel = id
Cheers, Paul

More information about the Haskell-Cafe mailing list