![]() |
|
#1
|
||||
|
||||
|
Our first reading group is based on O'Reilly's - Real World Haskell by O'Sullivan, Stewart, and Goerzen, 2008
It is available in several formats, including online and as an eBook. Haskell is a mature and developing functional language that supports concurrency. A reading schedule and details will be posted here. All suggestions welcome! Jeff Last edited by fos; 07-30-2010 at 01:01 PM. |
|
#2
|
|||
|
|||
|
It's very nice that we'll do this! To all: even if you will never use Haskell, it's a lot of fun, and it will improve your programming in other languages (e.g. in thinking more declaratively).
__________________
Blog: http://blog.danieldk.org/ |
|
#3
|
||||
|
||||
|
Here is a link to an online version: http://book.realworldhaskell.org/read/
I particularly like the online version. It has user comments embedded in the text. Is is also available on Safari if you have a subscription, hard copy and Kindle via Amazon. Last edited by fos; 07-28-2010 at 11:41 AM. |
|
#4
|
||||
|
||||
|
I found a Haskell cheat sheet on the Haskell page. It is a little long for a cheat sheet at 14 pages, but it might be useful.
http://cheatsheet.codeslower.com/ The official Haskell web site is located at: http:/haskell.org Jeff Last edited by fos; 07-28-2010 at 08:57 PM. |
|
#5
|
||||
|
||||
|
Here is a link to a Haskell Reference Card. It is only six pages long.
This is a link to a very good prelude library reference Last edited by fos; 07-31-2010 at 11:12 AM. |
|
#6
|
|||
|
|||
|
Quote:
![]() Sincerely, Gour |
|
#7
|
|||
|
|||
|
Welcome to the forum Gour! Same thing for me, I have written some small things, even a module that is now on hackage[1], and a Brainf*ck interpreter[2]. But I want to pick up Haskell good enough to do more serious stuff.
[1] http://hackage.haskell.org/package/suffixarray [2] http://github.com/danieldk/tinker-hs...ter/brainfuck/
__________________
Blog: http://blog.danieldk.org/ |
|
#8
|
|||
|
|||
|
Quote:
![]() I also want to do (more) serious stuff - desktop GUI app, but seeing such advanced users here, maybe I subscribed to the wrong reading group.
|
|
#9
|
|||
|
|||
|
Naaaah, there are many people around here with little programming or Haskell experience.
__________________
Blog: http://blog.danieldk.org/ |
|
#10
|
|||
|
|||
|
Quote:
But sadly, now that the timetable is out, I see that it is a non-starter. I am away from 8th August to the 22nd, inclusive. And I had in the first place little chance of keeping up. That fades away to no chance at all if, on top of everything else, I am going to miss out on the beginning. :-( Lisi |
|
#11
|
|||
|
|||
|
Quote:
__________________
Blog: http://blog.danieldk.org/ |
|
#12
|
|||
|
|||
|
Jeff, would it be possible to bump up the posts per page to, say 20? 10 creates a lot of pages
.
__________________
Blog: http://blog.danieldk.org/ |
|
#13
|
|||
|
|||
|
Quote:
(In case the British statement I have just made is _too_ British, "Just a little bit" in that context means "a gigantic amount".) Lisi |
|
#14
|
||||
|
||||
|
Hi Lisi,
The schedule is not written in stone, it is just a rough guide. That is the nice thing about forum based reading groups. It is not a formal classroom. I have already started with Chapter One. Post early, post late. I'm sure we will all have the same type of scheduling problems. We could also move the starting date back a week (or more) if that would help. I just posted a preliminary schedule to get started. Welcome Gour. I'm sure you have more experience and talent than necessary. There are experts here but they are always ready to answer questions. Jeff Last edited by fos; 07-31-2010 at 09:31 AM. |
|
#15
|
||||
|
||||
|
Hi Daniel,
The max post per page was already set to 20. I raised it to 30. The length of posts plays in to the number per page. If it is still paging to frequently, I can raise it further. Jeff |
|
#16
|
|||
|
|||
|
So how does this reading group thing work? I'm brand new to these forums and also brand new to Haskell. I'm starting to plow through the book with a ghci> prompt at the ready...
|
|
#17
|
||||
|
||||
|
Hi Skip,
Welcome aboard! There will be a main thread for each chapter that will coincide roughly with the schedule. However, any member is welcome to post their own question or comment in a separate thread. You will find that this is a very friendly and well mannered forum. I have already started Chapter 1. I am trying to figure out the last exercise. I'm not sure they introduced enough material to answer that one. I can do it in C but I'm not up to counting characters in Haskell yet. Anything you can think of to make the study group better would be welcome. Jeff |
|
#18
|
|||
|
|||
|
Jeff, fire up GHCI:
Code:
Prelude> :type interact interact :: (String -> String) -> IO () In the example: Code:
main = interact wordCount
where wordCount input = show (length (lines input)) ++ "\n"
__________________
Blog: http://blog.danieldk.org/ |
|
#19
|
|||
|
|||
|
Quote:
I have started reading - and so far the problem is not with understanding, but with remembering! And the schedule does sound more fluid than I had thought. If I can't keep up, I shall just have to drop out. Lisi |
|
#20
|
||||
|
||||
|
Hi Daniel,
duhh... I don't know why I was looking for something more specific such as strlen. The purstrlen print function had me going on a wild goose chase. I did find a nice reference for the prelude library: http://www.cse.unsw.edu.au/~en1000/haskell/inbuilt.html I'll have to see how that works. Thanks, Jeff |
![]() |
| Thread Tools | |
| Display Modes | |
|
|