
2 Jul
2011
2 Jul
'11
11:37 a.m.
Hi everyone. I've got a few questions about the Haskell programming language. 1) what's the difference between these two code statements? I'm convinced they should be the same type T = [Char] type CurrentValue = Char My concern is that in the second one there are no brackets Anyway they are actually declarations arent'they? 2) What is Maybe String? For instance: type P = (Char, Maybe String) Is that a function which has two arguments ? 3) What is Maybe Char ? For instance : type D = ((Maybe Char) , Char) It's another function having three arguments..am I right? Thanks a lot. 777P -- moowoo9@fastmail.fm -- http://www.fastmail.fm - The professional email service