Haskell and Pandoc "Let's Code"-Style Video
I've just uploaded a video walking through some of the source code for Pandoc. I plan to create more videos like it (on Pandoc and other open source/free software projects), and I'd appreciate your feedback. https://www.youtube.com/watch? v=FEFETKhhq8w&feature=youtube_gdata_play er I think Haskell is particularly well-suited for this type of study: - The code tends to be concise, and parts can usually be analyzed in isolation thanks to explicit state. - Even after 10 years of exposure to Haskell I feel like I still have much to learn about idiomatic style from the writings of others. - I've run across the same misconceptions about Haskell in the professional world (and had some myself in the beginning), and would like more people to see what Haskell really is like outside of papers and blog posts. Please let me know if there are other projects you'd like to see me cover. Thanks.
As a Haskell novice I really appreciate the effort to put this together and look forward to seeing more of them. The video is high production quality and the pacing was fast enough that I didn't get too bored, even though I already had a pretty good understanding of the Haskell that was covered. It might be worth saying in the metadata somewhere (title, description, whatever) that a lot of what is actually covered here is how Pandoc uses Parsec. I think that this content of this video would be helpful to anyone just starting out with Parsec, but they would probably only find it by accident as-is. What I got most out of the video was just watching someone else's workflow. I think it would be helpful to some if you had some supplementary links in the description of the video that could help someone reproduce it locally. For example: - In the video it's not stated that "cabal install pandoc" (or equivalent) had already happened, and that this step is totally independent of the git clone. - A link to hasktags and perhaps even a link to documentation about Emacs TAGS might be helpful. I don't think this is a feature that all Emacs users are proficient with. - Having a PS1 prompt that contained the exit code from the last command was really clever, I hadn't seen that before. I'm sure some people would be interested in what the bashrc for that prompt looks like. -bob On Mon, Jan 7, 2013 at 3:50 PM, Chris Forno <jekor@jekor.com> wrote:
I've just uploaded a video walking through some of the source code for Pandoc. I plan to create more videos like it (on Pandoc and other open source/free software projects), and I'd appreciate your feedback.
https://www.youtube.com/watch? v=FEFETKhhq8w&feature=youtube_gdata_play er
I think Haskell is particularly well-suited for this type of study:
- The code tends to be concise, and parts can usually be analyzed in isolation thanks to explicit state. - Even after 10 years of exposure to Haskell I feel like I still have much to learn about idiomatic style from the writings of others. - I've run across the same misconceptions about Haskell in the professional world (and had some myself in the beginning), and would like more people to see what Haskell really is like outside of papers and blog posts.
Please let me know if there are other projects you'd like to see me cover. Thanks.
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
On Tue, Jan 8, 2013 at 5:33 PM, Bob Ippolito <bob@redivi.com> wrote:
- Having a PS1 prompt that contained the exit code from the last command was really clever, I hadn't seen that before. I'm sure some people would be interested in what the bashrc for that prompt looks like.
Just make sure promptvars is turned on (shopt -s promptvars) and then you can use $? in $PS1. (Remember to singlequote the value of $PS1 so that $? is stored in it and not the current value of $?.) -- brandon s allbery kf8nh sine nomine associates allbery.b@gmail.com ballbery@sinenomine.net unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I agree with Bob Ippolito, it's a wonderfully put together video, and I can't wait to see some more episodes! The pacing is just right, everything is properly recorded, and going through code like that with some explanation of what's going on really helps my understanding of Haskell code. - -- Sander Venema. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iD8DBQFQ7KKH4pcVv5ceWycRAvnKAJ9Ty1bhA3eMYHQNAB9AkzpWBpPUBQCeMPaB f4lZAdLihWF9UBEXzt0mCgM= =MAke -----END PGP SIGNATURE-----
Hi Chris, Thanks for that video, I'm looking forward to any more that you might do. Seeing your workflow is a very important aspect to your video, especially for newcomers trying to learn Haskell on their own. A brief overview of your tooling would be nice. Unfortunately, I shaved a yak very well, possibly more than once, while improving my PS1 prompt. Starting with duplicating your $? display but not stopping there… oh no, couldn't stop at just that :-) Cheers, Bob On 2013-01-07, at 6:50 PM, Chris Forno <jekor@jekor.com> wrote:
I've just uploaded a video walking through some of the source code for Pandoc. I plan to create more videos like it (on Pandoc and other open source/free software projects), and I'd appreciate your feedback.
https://www.youtube.com/watch? v=FEFETKhhq8w&feature=youtube_gdata_play er
I think Haskell is particularly well-suited for this type of study:
- The code tends to be concise, and parts can usually be analyzed in isolation thanks to explicit state. - Even after 10 years of exposure to Haskell I feel like I still have much to learn about idiomatic style from the writings of others. - I've run across the same misconceptions about Haskell in the professional world (and had some myself in the beginning), and would like more people to see what Haskell really is like outside of papers and blog posts.
Please let me know if there are other projects you'd like to see me cover. Thanks.
_______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell
participants (5)
-
Bob Hutchison -
Bob Ippolito -
Brandon Allbery -
Chris Forno -
Sander Venema