Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.haskell.org/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. A problem about Haskell 99 questions (amazingjxq)
----------------------------------------------------------------------
Message: 1
Date: Tue, 17 May 2011 17:51:24 +0800
From: amazingjxq <[email protected]>
Subject: [Haskell-beginners] A problem about Haskell 99 questions
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
In problem 7 <http://www.haskell.org/haskellwiki/99_questions/1_to_10>, the
example in haskell is below:
*Main> flatten (Elem 5)[5]*Main> flatten (List [Elem 1, List [Elem 2,
List [Elem 3, Elem 4], Elem 5]])[1,2,3,4,5]*Main> flatten (List [])[]
>
> What are the functions List and Elem? I cann't hoogle it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20110517/102eaa8f/attachment-0001.htm>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 35, Issue 35
*****************************************