Developing Web Applications with Haskell and Yesod

Good morning, I sent a previous email to you in regard to this - if my request is rejected, will I be notified? I'm reading the book "Developing Web Applications with Haskell and Yesod". It is a very interesting read and I'm hoping to be able to be able to put up a simple web app using it as a result. I was wondering if anyone has had experience with it. Thank you On Mar 12, 2013, at 9:21 AM, beginners-request@haskell.org wrote:
Send Beginners mailing list submissions to beginners@haskell.org
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 beginners-request@haskell.org
You can reach the person managing the list at beginners-owner@haskell.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of Beginners digest..."
Today's Topics:
1. Re: Writing a custom pop function for a stack data type (doaltan) 2. Re: Writing a custom pop function for a stack data type (Brent Yorgey) 3. Re: Suspend/resume computation using Cont monad and callCC (Ertugrul S?ylemez) 4. Re: Writing a custom pop function for a stack data type (Emanuel Koczwara) 5. Re: Performance problem with Haskell/OpenGL/GLFW (Jesper S?rnesj?)
----------------------------------------------------------------------
Message: 1 Date: Tue, 12 Mar 2013 11:06:35 +0000 (GMT) From: doaltan
Subject: Re: [Haskell-beginners] Writing a custom pop function for a stack data type To: divyanshu ranjan Cc: "beginners@haskell.org" Message-ID: <1363086395.38137.YahooMailNeo@web171402.mail.ir2.yahoo.com> Content-Type: text/plain; charset="iso-8859-1" Actually I'm getting the error with this :
data Stack = Empty | Elem Char Stack deriving Show
pophead :: Stack -> Char pophead Empty = Empty pophead (Elem x stack) = x
________________________________ From: divyanshu ranjan
To: doaltan ; The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell Sent: Tuesday, 12 March 2013, 12:53 Subject: Re: [Haskell-beginners] Writing a custom pop function for a stack data type You have declared new data type mystack not Stack, so haskell compiler could not find Stack data type and its constructors. Secondly data type in Haskell need to be start with?capital?letters like
data Mystack = Empty | Elem Char Mystack deriving Show then correct Function?definition is? pophead :: Mystack -> Char
Regards Divyanshu?
On Tue, Mar 12, 2013 at 4:12 PM, doaltan
wrote: Hi I have such a stack data structure:?
datamystack =Empty |Elem Char mystack derivingShow
I'm trying to get the head of the stack using this: pophead :: Stack -> Char pophead Empty = Empty pophead (Element x stack) = x And I'm getting this error for the last sentence of the function : Not in scope: data constructor `Stack' Can you tell me how to fix it? Thanks.
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners

Hey Patrick,
On Tue, Mar 12, 2013 at 9:47 PM, KMandPJLynch
I sent a previous email to you in regard to this - if my request is rejected, will I be notified?
Typically, if no one responds to your post, either they are too busy or they don't feel they can add constructively to the list (which is skimmed, if not actually read by hundreds or thousands -- yep, every single email). I'm reading the book "Developing Web Applications with Haskell and Yesod".
It is a very interesting read and I'm hoping to be able to be able to put up a simple web app using it as a result. I was wondering if anyone has had experience with it.
There's a google group dedicated to yesod, I believe. The yesod website has links to community resources specially dedicated to the web framework. And you're always welcome to post specific queries about general haskell here! Your previous questions about learning category theory generated pretty useful discussion. :) -- Kim-Ee

Hey Patrick, I have very limited expirence with Yesod. I too have read the book but I found that the dead tree version isn't as up to date as the online version. If code examples don't work from book, I would look online instead, you can find it here: http://www.yesodweb.com/book <shameless plug>Going back to what I said about my minimal expirence with it, I actually have a 2 part blog post where I perform a small web project in both Flask and Yeson. Here is the link to the Yesod site: http://scrollingtext.org/my-first-yesod-app It's a neat framework, and I hope to spend more time with it in the future. Bryce On 03/12/2013 08:11 AM, Kim-Ee Yeoh wrote:
Hey Patrick,
On Tue, Mar 12, 2013 at 9:47 PM, KMandPJLynch
mailto:kmandpjlynch@verizon.net> wrote: I sent a previous email to you in regard to this - if my request is rejected, will I be notified?
Typically, if no one responds to your post, either they are too busy or they don't feel they can add constructively to the list (which is skimmed, if not actually read by hundreds or thousands -- yep, every single email).
I'm reading the book "Developing Web Applications with Haskell and Yesod". It is a very interesting read and I'm hoping to be able to be able to put up a simple web app using it as a result. I was wondering if anyone has had experience with it.
There's a google group dedicated to yesod, I believe. The yesod website has links to community resources specially dedicated to the web framework.
And you're always welcome to post specific queries about general haskell here! Your previous questions about learning category theory generated pretty useful discussion. :)
-- Kim-Ee
_______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners
participants (3)
-
Bryce Verdier
-
Kim-Ee Yeoh
-
KMandPJLynch