Next up: Haskell School of Music by Paul Hudak

31 views
Skip to first unread message

Jeremy W. Sherman

unread,
Jan 21, 2014, 6:50:46 PM1/21/14
to Book Club
PDF: http://haskell.cs.yale.edu/wp-content/uploads/2014/01/HSoM2.pdf

> This textbook (in progress) describes Euterpea, a computer music library developed in Haskell, that allows programming computer music applications both at the note level and the signal level. The book also teaches functional programming in Haskell from scratch. It is suitable for use in the classroom to teach functional programming, computer music principles, or both. (http://haskell.cs.yale.edu/?post_type=publication&p=112)

You'll want to install the latest Haskell Platform:
http://www.haskell.org/platform/

And you'll probably also want to get your editor ready. There are
modes/plugins for emacs/vim, and there's also EclipseFP if that's your
poison.

(Alternatively, you might give https://www.fpcomplete.com/ a shot.
They have a web editor, runtime environment (Heroku for just
Haskell?), and some tutorials.)
--
Jeremy W. Sherman
+1 (314) 488–0053
Software Engineer
Big Nerd Ranch

bignerdranch.com | twitter.com/bignerdranch | facebook.com/bignerdranch

Stephen Christopher

unread,
Jan 21, 2014, 7:47:31 PM1/21/14
to Book Club
I'm well into chapter 1. Up through 1.4 at least is pretty basic, more an introduction to the author and his approach than anything in the language. 

I do think I'm going to miss the graphics/gui and robotics stuff from his earlier text. However TOC hints at so many fascinating musical concepts that I can't wait to explore. I'll respond again when I've hit the first real fascinating bits of the book.

Step Christopher
Director of Products
Big Nerd Ranch, LLC




--
- Voting Choices: http://j.mp/bnrbc-texts
- Chat: http://j.mp/bnrbc-chat
- Google Group: http://j.mp/bnr-bookclub
---
You received this message because you are subscribed to the Google Groups "Big Nerd Ranch Book Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bnr-bookclub...@googlegroups.com.
To post to this group, send email to bnr-bo...@googlegroups.com.
Visit this group at http://groups.google.com/group/bnr-bookclub.

Tj Usiyan

unread,
Jan 21, 2014, 11:43:20 PM1/21/14
to bnr-bo...@googlegroups.com
I'm only through 1.7.2 so far but it seems nice. It is really interesting to read through this since I am trying to build something like Euterpea myself.


Presenting the idea that every diverging computation denotes the same ⊥ value is weird to me (end of 1.4). The footnote clarifies slightly but couldn't the ⊥ value be likened to a limit as the inputs approached an infinity?


Jeremy W. Sherman

unread,
Jan 22, 2014, 12:10:37 AM1/22/14
to bnr-bo...@googlegroups.com
Here is what the Haskell report has to say about errors/divergent calculations: http://www.haskell.org/onlinereport/haskell2010/haskellch3.html#x8-230003.1

Wikipedia's explanation is more expansive and complete: http://en.m.wikipedia.org/wiki/Bottom_type

If the evaluation actually converged on a fixed point (limit point) then the result would be a value rather than bottom. That sort of iterative application till the expression converges is basically what the Y combinator does, IIRC.

--
Jeremy W. Sherman
Software Engineer
Big Nerd Ranch

Tj Usiyan

unread,
Jan 22, 2014, 12:14:31 AM1/22/14
to bnr-bo...@googlegroups.com
Interesting. That lines up with the given examples and explains why they were chosen. Thanks.
Reply all
Reply to author
Forward
0 new messages