[Haskell-cafe] Tutorial on Haskell

Steffen Mazanek haskell at steffen-mazanek.de
Mon Apr 16 05:49:11 EDT 2007


What about demonstrating the use of an Haskell interpreter as a pimped up
calculator?

multTable = putStr $ unlines [unlines [show x ++ ' ':show y ++ ' ':show
(x*y)|y<-[1..10]] | x<-[1..10]]

2007/4/16, Simon Peyton-Jones <simonpj at microsoft.com>:
>
> Friends
>
> I have agreed to give a 3-hr tutorial on Haskell at the Open Source
> Convention 2007
>         http://conferences.oreillynet.com/os2007/
>
> I'm quite excited about this: it is a great opportunity to expose Haskell
> to a bunch of smart folk, many of whom won't know much about Haskell.  My
> guess is that they'll be Linux/Perl/Ruby types, and they'll be practitioners
> rather than pointy-headed academics.
>
> One possibility is to do a tutorial along the lines of "here's how to
> reverse a list", "here's what a type is" etc; you know the kind of
> thing.  But instead, I'd prefer to show them programs that they might
> consider *useful* rather than cute, and introduce the language along the
> way, as it were.
>
> So this message is to ask you for your advice.  Many of you are exactly
> the kind of folk that come to OSCON --- except that you know Haskell.   So
> help me out:
>
>         Suggest concrete examples of programs that are
>                 * small
>                 * useful
>                 * demonstrate Haskell's power
>                 * preferably something that might be a bit
>                         tricky in another language
>
> For example, a possible unifying theme would be this:
>         http://haskell.org/haskellwiki/Simple_unix_tools
>
> Another might be Don's cpu-scaling example
>         http://cgi.cse.unsw.edu.au/~dons/blog/2007/03/10
>
> But there must be lots of others.  For example, there are lots in the blog
> entries that Don collects for the Haskell Weekly Newsletter.  But I'd like
> to use you as a filter: tell me your favourites, the examples you find
> compelling.  (It doesn't have to be *your* program... a URL to a great blog
> entry is just fine.)  Of course I'll give credit to the author.
>
> Remember, the goal is _not_ "explain monads".  It's "Haskell is a great
> way to Get The Job Done".
>
> Thanks!
>
> Simon
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Dipl.-Inform. Steffen Mazanek
Institut für Softwaretechnologie
Fakultät Informatik

Universität der Bundeswehr München
85577 Neubiberg

Tel: +49 (0)89 6004-2505
Fax: +49 (0)89 6004-4447

E-Mail: steffen.mazanek at unibw.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20070416/b3b1b09f/attachment.htm


More information about the Haskell-Cafe mailing list