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. Re: Need some advices about university (Rustom Mody)
2. Re: Need some advices about university (Zhi-Qiang Lei)
3. Re: IO question (Ertugrul Soeylemez)
4. Re: Need some advices about university (Tom Murphy)
5. Re: IO question (Brandon Allbery)
----------------------------------------------------------------------
Message: 1
Date: Fri, 28 Oct 2011 15:41:10 +0530
From: Rustom Mody <[email protected]>
Subject: Re: [Haskell-beginners] Need some advices about university
To: [email protected]
Message-ID:
<caj+teoe8xtbvgec0c_aqjvmpg9gceiamqwrw3a8jmps8ghy...@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Fri, Oct 28, 2011 at 11:15 AM, Noah Diewald <[email protected]> wrote:
> On 10/27/2011 09:31 PM, Rustom Mody wrote:
> > On Fri, Oct 28, 2011 at 1:19 AM, Noah Diewald <[email protected]
> > <mailto:[email protected]>> 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/
>
> 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
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20111028/bc09c3d5/attachment-0001.htm>
------------------------------
Message: 2
Date: Fri, 28 Oct 2011 23:00:00 +0800
From: Zhi-Qiang Lei <[email protected]>
Subject: Re: [Haskell-beginners] Need some advices about university
To: Haskell Beginer <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
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 <[email protected]> wrote:
> On 10/27/2011 09:31 PM, Rustom Mody wrote:
> > On Fri, Oct 28, 2011 at 1:19 AM, Noah Diewald <[email protected]
> > <mailto:[email protected]>> 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/
>
> 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
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
>
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/beginners
Best regards,
Zhi-Qiang Lei
[email protected]
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20111028/d35113d4/attachment-0001.htm>
------------------------------
Message: 3
Date: Fri, 28 Oct 2011 17:01:40 +0200
From: Ertugrul Soeylemez <[email protected]>
Subject: Re: [Haskell-beginners] IO question
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII
Brandon Allbery <[email protected]> wrote:
> On Thu, Oct 27, 2011 at 10:48, Rustom Mody <[email protected]> wrote:
>
> > Can someone explain what is happening here?
> > *Main> getTwoChars
> > ab
> > ('a','b')
> > *Main> getTwoChars
> > a
> > ('\n','a')
>
> The code is doing exactly what it says. getTwoChars reads two
> characters --- *not* a line. So the next character waiting to be read
> is the newline, which is returned by the next getTwoChars.
>
> This may depend to some extent on the platform, as Unix defaults to a
> line-oriented input interface (at the OS level) but Windows to
> character-oriented input.
I can't confirm that. This is true for compiled programs, but when
running
liftA2 (,) getChar getChar
on the GHCi command line, it seems to use NoBuffering.
Greets,
Ertugrul
--
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://ertes.de/
------------------------------
Message: 4
Date: Fri, 28 Oct 2011 11:26:16 -0400
From: Tom Murphy <[email protected]>
Subject: Re: [Haskell-beginners] Need some advices about university
To: Noah Diewald <[email protected]>
Cc: [email protected]
Message-ID:
<cao9q0tvvwbdnqrg9vlfdnxlpwqsf_kxx2pmbgg_oskr-wvc...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On Thu, Oct 27, 2011 at 3:49 PM, Noah Diewald <[email protected]> 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?
>
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#?)
Here's a good (big and seemingly-accurate) list of schools that use
Scheme: http://www.schemers.com/schools.html
Tom / amindfv
------------------------------
Message: 5
Date: Fri, 28 Oct 2011 12:17:53 -0400
From: Brandon Allbery <[email protected]>
Subject: Re: [Haskell-beginners] IO question
To: Ertugrul Soeylemez <[email protected]>
Cc: [email protected]
Message-ID:
<cakfcl4u8bixvf-fmufcby5ghrrpetd3rl-_rm+ykujeddep...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
On Fri, Oct 28, 2011 at 11:01, Ertugrul Soeylemez <[email protected]> wrote:
> Brandon Allbery <[email protected]> wrote:
> > The code is doing exactly what it says. getTwoChars reads two
> > characters --- *not* a line. So the next character waiting to be read
> > is the newline, which is returned by the next getTwoChars.
> >
> > This may depend to some extent on the platform, as Unix defaults to a
> > line-oriented input interface (at the OS level) but Windows to
> > character-oriented input.
>
> I can't confirm that. This is true for compiled programs, but when
> running
>
> liftA2 (,) getChar getChar
>
> on the GHCi command line, it seems to use NoBuffering.
The dependency is a little more complex than simply the tty line buffering
mode; that simply obscures the problem a bit, it doesn't actually modify it.
Specifically: in character mode each read terminates without the need to
read a newline, whereas in line mode the newline is needed to pass
characters from the OS to the program; but in either mode the newline is
still read as a separate character. So in line mode it can *appear* to be
treating each of those as a separate line, when in reality it isn't (and you
find that out when you get the '\n').
(I don't recall offhand if the GHC runtime conflates the file buffering mode
with the tty line mode on Unix. This is not the file handle buffering mode;
it's the termios "icanon" setting. But ghci does seem to run with icanon
cleared, at least interactively as distinct from ":main".)
--
brandon s allbery [email protected]
wandering unix systems administrator (available) (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://www.haskell.org/pipermail/beginners/attachments/20111028/fdd6c7a0/attachment.htm>
------------------------------
_______________________________________________
Beginners mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/beginners
End of Beginners Digest, Vol 40, Issue 45
*****************************************