
All of your questions are answered very nicely in this tutorial:
David Place Owner, Panpipes Ho! LLC http://panpipesho.com d@vidplace.com On Jul 2, 2011, at 11:37 AM, moowoo9@fastmail.fm wrote:
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
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners