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-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. Getting started with repa on MacOS (Konrad Hinsen) 2. Re: Need some advices about university (Noah Diewald) 3. Re: Getting started with repa on MacOS (Andres L?h) 4. Re: Need some advices about university (Noah Diewald) 5. Re: Need some advices about university (Brent Yorgey) 6. Re: Need some advices about university (Tom Murphy) 7. Haskell reports package? (Gregory Guthrie) ---------------------------------------------------------------------- Message: 1 Date: Fri, 28 Oct 2011 19:07:52 +0200 From: Konrad Hinsen <konrad.hin...@fastmail.net> Subject: [Haskell-beginners] Getting started with repa on MacOS To: beginners@haskell.org Message-ID: <7ab2d704-c3f3-4173-b7ee-baef8f19e...@fastmail.net> Content-Type: text/plain; charset=us-ascii Hi everyone, I had looked at Haskell some years ago but dropped it because there wasn't much support for the kind of work I do, which is numerical computation. Now there's exciting new stuff such as repa, so I decided to give it another try. I installed the Haskell platform 2011.2.0.1 for MacOS X 10.6 and started working through the tutorial at http://www.haskell.org/haskellwiki/Numeric_Haskell:_A_Repa_Tutorial Unfortunately I didn't get very far, because I am stuck at installing repa: cabal install repa Resolving dependencies... cabal: cannot configure repa-2.2.0.1. It requires base ==4.4.* For the dependency on base ==4.4.* there are these packages: base-4.4.0.0. However none of them are available. base-4.4.0.0 was excluded because of the top level dependency base -any I don't understand what this means (what's so bad about "any"?) nor do I have the slightest clue what to do about it. There's a brief Stack Overflow discussion about this at http://stackoverflow.com/questions/7375719/cabal-install-dependency-error-base-was-excluded-because-of-the-top-level-de but it doesn't provide a solution either. Any help would be greatly appreciated - I just recall that my goal is not understanding cabal, but working with repa. Konrad. ------------------------------ Message: 2 Date: Fri, 28 Oct 2011 12:27:18 -0500 From: Noah Diewald <n...@diewald.me> Subject: Re: [Haskell-beginners] Need some advices about university To: beginners@haskell.org Message-ID: <4eaae5f6.1060...@diewald.me> Content-Type: text/plain; charset="utf-8" I guess I'll share some things that I've come across in my own searching. This has to do with functional programming in general, not just Haskell. There are PLT Scheme (now Racket) people all over the US. All of the Universities listed in the PLT Publications section have at least one person who is very into functional programming. http://racket-lang.org/learning.html Look out for the Graduate Study page, Zhi-Qiang Lei, it is intended to be funny. But there are links at the bottom to the home pages of various faculty at universities who are involved with Racket/PLT Scheme. http://racket-lang.org/common-plt-app.html Someone also just sent me this link: http://www.schemers.com/schools.html Another way that I've attempted to search is by looking at where past functional programming conferences have been held in the US. There is often a faculty member interested in FP at a host university. Also it is easy to see lists of presenters and where they are from. It is often hard to tell whether someone is interested in FP based on their blurbs on CS faculty web pages. The Wikipedia page on the International Conference on Functional Programming lists the names of various other FP conferences so it is a good place to start. http://en.wikipedia.org/wiki/International_Conference_on_Functional_Programming Someone also just reminded me of this: http://www.haskell.org/haskellwiki/Education But it isn't very useful because it is so out of date. Carnegie Mellon seems to be one of the US universities that are most aggressively including FP in their instruction: http://existentialtype.wordpress.com/2011/03/15/teaching-fp-to-freshmen/ Then of course, I've used normal Google search techniques. On 10/28/2011 10:00 AM, Zhi-Qiang Lei wrote: > Thank you all. It's much helpful. > > On Oct 28, 2011, at 6:11 PM, Rustom Mody wrote: > >> >> >> On Fri, Oct 28, 2011 at 11:15 AM, Noah Diewald <n...@diewald.me >> <mailto:n...@diewald.me>> wrote: >> >> On 10/27/2011 09:31 PM, Rustom Mody wrote: >> > On Fri, Oct 28, 2011 at 1:19 AM, Noah Diewald <n...@diewald.me >> <mailto:n...@diewald.me> >> > <mailto:n...@diewald.me <mailto:n...@diewald.me>>> wrote: >> > >> > It would be nice to know of a school somewhere in the US or >> Canada where >> > CS courses aren't taught mostly in Java. Is there such a place? >> > >> > I would love to find a school with strengths in FP and >> linguistics. >> > >> > >> > It seems you want to search for an intersection of linguistics + FP. >> > There is nltk http://www.nltk.org/. Its in python -- hopefully >> better >> > than java though not haskell. >> >> Thanks. I appreciate the help. I was aware of nltk. I know about GF, >> too. I guess functional programming is the important bit for me. >> >> >> About 20 years ago the FP scene was roughly: typed FPLs in Europe (ML, >> Miranda etc) and scheme in the US. If I remember right MIT, Yale, >> Indiana and Rice were all strong scheme departments. And of course >> there would be more second tier univs following-the-leader. The scene >> today seems to have changed -- MIT is into java http://www.cs101.org/. >> Stanford has switched to javascript: >> http://developers.slashdot.org/story/11/07/11/183246/stanford-cs101-adopts-javascript >> !! >> >> My general suggestion is to generalize from haskell to the paradigm: >> so ML, F#, scheme, python are in different respects better >> approximations to haskell than java >> >> >> >> It >> bothers me that all schools seem to be Java schools in the US but I >> guess I do actually want something more specific than anything but >> Java. >> Java is just the bad guy since it seems to be the only option so >> often. >> I kind of regret going on about it so much in my last email. It is >> better to focus on the positives. >> >> I like linguistics and I like functional programming. Something like >> this is right up my alley: >> >> Computational Semantics with Functional Programming by Jan van >> Eijck and >> Christina Unger. >> http://homepages.cwi.nl/~jve/cs/ <http://homepages.cwi.nl/%7Ejve/cs/> >> >> I really like the idea of eventually being able to model natural >> language grammars using Haskell but for theoretical and >> descriptive work >> not just to process it. I hear that there are HPSG researchers in >> the US >> using systems written in Lisp, which sounds cool but is pretty >> rare and >> hard to find. I guess my dream school would have a good theoretical >> linguistics department and a good CS department with a big functional >> programming focus. I still need to learn a lot about CS, not just >> particular techniques that relate to language. Where I am applying now >> has a great linguistics department and a great CS department but I >> know >> that the courses I take in CS will be Java courses. It isn't >> really what >> I want but I've accepted that I'll just have to learn what I can on my >> own, which isn't so bad but having teachers and fellow students with >> similar interests around would be a lot nicer. >> >> And, I thank you for your help but I really am mostly curious about US >> universities with lots of FP goodies more than any particular >> software. >> My question is the same as the person who started this thread's. Where >> do you go in the US if you love functional programming and >> particularly >> Haskell? I would love some advice about universities. Google really >> doesn't know everything. >> >> >> _______________________________________________ >> Beginners mailing list >> Beginners@haskell.org <mailto:Beginners@haskell.org> >> http://www.haskell.org/mailman/listinfo/beginners >> >> >> _______________________________________________ >> Beginners mailing list >> Beginners@haskell.org <mailto:Beginners@haskell.org> >> http://www.haskell.org/mailman/listinfo/beginners > > > Best regards, > Zhi-Qiang Lei > zhiqiang....@gmail.com <mailto:zhiqiang....@gmail.com> > > > > _______________________________________________ > Beginners mailing list > Beginners@haskell.org > http://www.haskell.org/mailman/listinfo/beginners -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: <http://www.haskell.org/pipermail/beginners/attachments/20111028/ac46a16f/attachment-0001.pgp> ------------------------------ Message: 3 Date: Fri, 28 Oct 2011 19:38:25 +0200 From: Andres L?h <andres.l...@googlemail.com> Subject: Re: [Haskell-beginners] Getting started with repa on MacOS To: Konrad Hinsen <konrad.hin...@fastmail.net> Cc: beginners@haskell.org Message-ID: <CALjd_v4V_=xYT8h2oyytRZquThcVtKHU=jxdl2cjnjhj+4p...@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi. > Unfortunately I didn't get very far, because I am stuck at installing repa: > > ? ? ? ?cabal install repa > ? ? ? ?Resolving dependencies... > ? ? ? ?cabal: cannot configure repa-2.2.0.1. It requires base ==4.4.* > ? ? ? ?For the dependency on base ==4.4.* there are these packages: > base-4.4.0.0. > ? ? ? ?However none of them are available. > ? ? ? ?base-4.4.0.0 was excluded because of the top level dependency base -any There are two issues here: (1) The latest version of repa doesn't work with ghc-7.0.3 or ghc-7.0.4. These provide base-4.3, and base is hardwired in GHC and cannot be upgraded. The easiest way for you to get around this is to explicitly say "cabal install repa-2.1.1.5". (2) Your version of cabal-install provides bad feedback (instead of base -any it should really say that it has to be the version of base that comes with your GHC) and fails to detect that it in fact could just install repa-2.1.1.5. The current development version of cabal-install fixes both problems. However, as long as the fix suggested in (1) works for you, there's no immediate need to upgrade. Cheers, Andres ------------------------------ Message: 4 Date: Fri, 28 Oct 2011 13:06:56 -0500 From: Noah Diewald <n...@diewald.me> Subject: Re: [Haskell-beginners] Need some advices about university To: Tom Murphy <amin...@gmail.com> Cc: beginners@haskell.org Message-ID: <4eaaef40.6050...@diewald.me> Content-Type: text/plain; charset="utf-8" On 10/28/2011 10:26 AM, Tom Murphy wrote: > > This page is where we're supposed to look: > http://www.haskell.org/haskellwiki/Education. > It really, really needs an update, but it's a place to start. I'm also > looking for schools that teach FP/Haskell, so maybe if there's a > couple of us researching, we can get the page revamped. > It also would be nice to have a list of places that use > Haskell-related languages (ML, Ocaml, Lisp?, F#?) Should we put up some type of web page or wiki? I could host something. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 490 bytes Desc: OpenPGP digital signature URL: <http://www.haskell.org/pipermail/beginners/attachments/20111028/d3222871/attachment-0001.pgp> ------------------------------ Message: 5 Date: Fri, 28 Oct 2011 14:21:48 -0400 From: Brent Yorgey <byor...@seas.upenn.edu> Subject: Re: [Haskell-beginners] Need some advices about university To: beginners@haskell.org Message-ID: <20111028182148.ga18...@seas.upenn.edu> Content-Type: text/plain; charset=us-ascii On Fri, Oct 28, 2011 at 12:27:18PM -0500, Noah Diewald wrote: > > Carnegie Mellon seems to be one of the US universities that are most > aggressively including FP in their instruction: > > http://existentialtype.wordpress.com/2011/03/15/teaching-fp-to-freshmen/ CMU is one of the only places I know of that is so agressively and comprehensively teaching FP in its normal undergrad curriculum. However, off the top of my head here is an (incomplete, unordered) list of other places with faculty/research groups doing things with FP: * Princeton * Yale * Harvard * University of Kansas * Indiana University Bloomington * Portland State * UPenn In such places, as an undergrad, yes, you might have to write programs in Java -- but if you are motivated you could get involved with cutting-edge FP research. You will learn a lot more that way than just having FP taught in your classes anyway! In my experience motivated undergrads who want to get involved in a research group are often welcomed. -Brent ------------------------------ Message: 6 Date: Fri, 28 Oct 2011 15:23:12 -0400 From: Tom Murphy <amin...@gmail.com> Subject: Re: [Haskell-beginners] Need some advices about university To: Noah Diewald <n...@diewald.me> Cc: beginners@haskell.org Message-ID: <CAO9Q0tWo9H6eH+Tkotw=9ye1saogdba7rthzx0fnkng7zsx...@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" On Fri, Oct 28, 2011 at 2:06 PM, Noah Diewald <n...@diewald.me> wrote: > On 10/28/2011 10:26 AM, Tom Murphy wrote: > > > > This page is where we're supposed to look: > > http://www.haskell.org/haskellwiki/Education. > > It really, really needs an update, but it's a place to start. I'm also > > looking for schools that teach FP/Haskell, so maybe if there's a > > couple of us researching, we can get the page revamped. > > It also would be nice to have a list of places that use > > Haskell-related languages (ML, Ocaml, Lisp?, F#?) > > Should we put up some type of web page or wiki? I could host something. > > With the blessing of the community, of course, it seems like this would be good information to go onto the Haskell wiki page. People who want to know where Haskell is taught, are very likely to want to know where other, very similar languages are taught. We would probably have to limit to the very-similar (SML, O'Caml, ...). What do people think? Tom / amindfv -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.haskell.org/pipermail/beginners/attachments/20111028/edcf5690/attachment-0001.htm> ------------------------------ Message: 7 Date: Fri, 28 Oct 2011 22:38:37 -0500 From: Gregory Guthrie <guth...@mum.edu> Subject: [Haskell-beginners] Haskell reports package? To: "beginners@haskell.org" <beginners@haskell.org> Message-ID: <08ef9da445c4b5439c4733e1f35705ba018b107d5...@mail.cs.mum.edu> Content-Type: text/plain; charset="us-ascii" Are there facilities for generating nicely formatted reports from Haskell, perhaps like the Java report generation tools? I am mostly interested in nice tabular output from a data analysis, like the things that Jasper does. I suppose one approach is to generate eth appropriate Jasper XML (JRXML) from Haskell, and then process that. Any good experiences or recommendations in this area appreciated. >From Python there are Excel interfaces to have Excel do the formatting, is >there a similar API from Haskell? ------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.haskell.org/pipermail/beginners/attachments/20111028/189b3958/attachment.htm> ------------------------------ _______________________________________________ Beginners mailing list Beginners@haskell.org http://www.haskell.org/mailman/listinfo/beginners End of Beginners Digest, Vol 40, Issue 46 *****************************************