Send Beginners mailing list submissions to beginners@haskell.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners or, via email, send a message with subject or body 'help' to beginners-requ...@haskell.org
You can reach the person managing the list at beginners-ow...@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: Can i post code here for review and getting better? (Michael Litchard) 2. Re: Can i post code here for review and getting better? (Theodore Lief Gannon) 3. help designing types for a gsl fit (Agustin Larreinegabe) ---------------------------------------------------------------------- Message: 1 Date: Thu, 22 Jun 2017 17:35:30 -0700 From: Michael Litchard <mich...@schmong.org> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] Can i post code here for review and getting better? Message-ID: <caezekyox7ddacqgk5bc5y88kzuhhscxkk3pscyprjes5eds...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" That's a yes. :) On Thu, Jun 22, 2017 at 4:58 PM, Silent Leaf <silent.le...@gmail.com> wrote: > That book seems very interesting, tho all is dependent on how useful the > exercises are (otherwise i think i understand most of the *theory* of the > concepts in the book, but applying them to real tasks is the problem). I'll > look into it, thanks! > > Stack exchange code review seems great too! > > so, that's a yes for asking reviews of code around here too? > > 2017-06-23 0:40 GMT+02:00 Michael Litchard <mich...@schmong.org>: > >> I strongly suggest you acquire the book "Haskell from First Principles" >> and do each and every exercise, and not move forward until you understand >> the subject matter you are faced with. Do that and you will be well on the >> way to expertise. >> >> On Thu, Jun 22, 2017 at 3:38 PM, Michael Litchard <mich...@schmong.org> >> wrote: >> >>> I have received much help over the years from the haskell community. >>> This is a good resource for your skill building. That said, consider also >>> using the code review section of stack exchange. They give internet points >>> as well. :) >>> >>> On Thu, Jun 22, 2017 at 1:21 PM, Silent Leaf <silent.le...@gmail.com> >>> wrote: >>> >>>> Hi, >>>> I'd like to know if this mailing list would be an appropriate place to >>>> post code and ask for review. The purpose would not be to help me do it, >>>> but to tell me how to do it better, more idiomatically, using more >>>> appropriate or powerful tools. >>>> >>>> If not, and even if yes, are there any other places where this might be >>>> appropriate? Are there haskell forums somewhere? mind you i just got the >>>> idea, so i'm gonna check, but maybe you all know which ones are better than >>>> others, or more active. >>>> >>>> Also, i've searched in vain for places where one could maybe get >>>> together into projects that would not require being fully fluent yet in >>>> haskell (with the will to learn and still some solid, yet relatively >>>> untested, bases), nor that would require getting updated on a projects of >>>> perhaps several thousands of more or less obscure code (for those that come >>>> from the outside *cough* operator maniacs *cough*). >>>> >>>> Otherwise, i'd also welcome ideas of very simple ideas of projects just >>>> to learn by doing. The idea would be to know how to do projects that >>>> actually do something, so usually there's some sort of contact with the >>>> exterior. >>>> >>>> Thanks verymuch in advance! >>>> >>>> _______________________________________________ >>>> Beginners mailing list >>>> Beginners@haskell.org >>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >>>> >>>> >>> >> >> _______________________________________________ >> Beginners mailing list >> Beginners@haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >> >> > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20170622/09b4487b/attachment-0001.html> ------------------------------ Message: 2 Date: Thu, 22 Jun 2017 21:16:34 -0700 From: Theodore Lief Gannon <tan...@gmail.com> To: The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org> Subject: Re: [Haskell-beginners] Can i post code here for review and getting better? Message-ID: <cajopsucutlzozuwxquzemfla1ptqwqjiin2t1t_rfct82zk...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" /r/haskell on reddit, and its sister subs, are also a great resource. /r/haskellquestions might be best for review requests. On Jun 22, 2017 5:37 PM, "Michael Litchard" <mich...@schmong.org> wrote: > That's a yes. :) > > On Thu, Jun 22, 2017 at 4:58 PM, Silent Leaf <silent.le...@gmail.com> > wrote: > >> That book seems very interesting, tho all is dependent on how useful the >> exercises are (otherwise i think i understand most of the *theory* of the >> concepts in the book, but applying them to real tasks is the problem). I'll >> look into it, thanks! >> >> Stack exchange code review seems great too! >> >> so, that's a yes for asking reviews of code around here too? >> >> 2017-06-23 0:40 GMT+02:00 Michael Litchard <mich...@schmong.org>: >> >>> I strongly suggest you acquire the book "Haskell from First Principles" >>> and do each and every exercise, and not move forward until you understand >>> the subject matter you are faced with. Do that and you will be well on the >>> way to expertise. >>> >>> On Thu, Jun 22, 2017 at 3:38 PM, Michael Litchard <mich...@schmong.org> >>> wrote: >>> >>>> I have received much help over the years from the haskell community. >>>> This is a good resource for your skill building. That said, consider also >>>> using the code review section of stack exchange. They give internet points >>>> as well. :) >>>> >>>> On Thu, Jun 22, 2017 at 1:21 PM, Silent Leaf <silent.le...@gmail.com> >>>> wrote: >>>> >>>>> Hi, >>>>> I'd like to know if this mailing list would be an appropriate place to >>>>> post code and ask for review. The purpose would not be to help me do it, >>>>> but to tell me how to do it better, more idiomatically, using more >>>>> appropriate or powerful tools. >>>>> >>>>> If not, and even if yes, are there any other places where this might >>>>> be appropriate? Are there haskell forums somewhere? mind you i just got >>>>> the >>>>> idea, so i'm gonna check, but maybe you all know which ones are better >>>>> than >>>>> others, or more active. >>>>> >>>>> Also, i've searched in vain for places where one could maybe get >>>>> together into projects that would not require being fully fluent yet in >>>>> haskell (with the will to learn and still some solid, yet relatively >>>>> untested, bases), nor that would require getting updated on a projects of >>>>> perhaps several thousands of more or less obscure code (for those that >>>>> come >>>>> from the outside *cough* operator maniacs *cough*). >>>>> >>>>> Otherwise, i'd also welcome ideas of very simple ideas of projects >>>>> just to learn by doing. The idea would be to know how to do projects that >>>>> actually do something, so usually there's some sort of contact with the >>>>> exterior. >>>>> >>>>> Thanks verymuch in advance! >>>>> >>>>> _______________________________________________ >>>>> Beginners mailing list >>>>> Beginners@haskell.org >>>>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >>>>> >>>>> >>>> >>> >>> _______________________________________________ >>> Beginners mailing list >>> Beginners@haskell.org >>> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >>> >>> >> >> _______________________________________________ >> Beginners mailing list >> Beginners@haskell.org >> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners >> >> > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20170622/8e524e7a/attachment-0001.html> ------------------------------ Message: 3 Date: Fri, 23 Jun 2017 09:22:11 +0200 From: Agustin Larreinegabe <alarre...@gmail.com> To: beginners@haskell.org Subject: [Haskell-beginners] help designing types for a gsl fit Message-ID: <calqfu6_gwpn7sgfl1ibw1ixj34aq3mjnzbbwvbttvpv7ubx...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hello, I'm trying to install an application Termite - Debug <https://raw.githubusercontent.com/termite2/debug/master/Debug/SourceView.hs> but I get this error in line 929:14 when it try to do this lprog <- G.labelNew Nothing The error says: Could not deduce (glib-0.13.4.1:System.Glib.UTFString.GlibString string0) arising from a use of ‘G.labelNew’ from the context (D.Rel c v a s) bound by the type signature for sourceWindowCreate :: D.Rel c v a s => RSourceView c a u -> IO G.Widget at Debug/SourceView.hs:913:23-73 instance glib-0.13.4.1:System.Glib.UTFString.GlibString [Char] -- Defined in ‘glib-0.13.4.1:System.Glib.UTFString’ In a stmt of a 'do' block: lprog <- G.labelNew Nothing In the expression: do { vbox <- G.vBoxNew False 0; G.widgetShow vbox; spec <- getIORef svInputSpec ref; code <- codeWinNew spec; .... } In an equation for ‘sourceWindowCreate’: sourceWindowCreate ref = do { vbox <- G.vBoxNew False 0; G.widgetShow vbox; spec <- getIORef svInputSpec ref; cabal: Error: some packages failed to install: I really don't know how to proceed, I'm new with Haskell Thanks in advance. ----------------- Agustin Larreinegabe -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.haskell.org/pipermail/beginners/attachments/20170623/f6384777/attachment.html> ------------------------------ Subject: Digest Footer _______________________________________________ Beginners mailing list Beginners@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners ------------------------------ End of Beginners Digest, Vol 108, Issue 11 ******************************************