Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Haskell Data Analysis Cookbook

    Haskell Data Analysis Cookbook

    Nishant Shukla · 2014

    Lisp & Functional
    Open LibraryAmazon
    Stats for nerds
    4recommend
    8mentions
    8people
    2014–2018years
    50% recommend50% neutral

    Mentions per year

    20142015201620172018

    What Hacker News says

    1. dogweatherAug 2018
      LYAH also didn't do much for me.

      I got started with Haskell Data Analysis Cookbook. As an experienced programmer, I LOVE the "cookbook" format. E.g., "Keeping and representing data from a CSV file" or "Examining a JSON file with the aeson package". If you need to actually USE the language, this is a great way to get started. Complete programs are shown.

      Unfortunately, most books dive into the language _implementation_ instead of teaching its _interface_. (This probably points to a Haskell design weakness: deep learning of the impl. is nec. for success.)

      But my REAL wish: Because I'm like many people and have experience with dozens of languages. I want books that leverage that knowledge and experience. E.g., to explain monads, just say it's an interface specification, and give the API. It'll make sense to me.

      thread
    2. edgordonJul 2016
      This is a repost of a book we published in 2014. It's well reviewed, and the author kept the Github repo for the code up to date with feedback (https://github.com/BinRoot/Haskell-Data-Analysis-Cookbook). If anyone wants to try it, you can pick it up in the Packt sale currently for $10 @ packtpub.com
      thread
    3. zallarakJul 2016
      That line of code was demonstrative. The actual book uses 'Data.Char.IsSpace' which properly handled it.

      "Returns True for any Unicode space character, and the control characters \t, \n, \r, \f, \v."

      Before you chastise them for not handling something, verify it. I'm not affiliated with the book but you probably deterred people from buying it.

      https://github.com/BinRoot/Haskell-Data-Analysis-Cookbook/bl...

      thread
    4. qubitcoderNov 2014
      For more practical examples like this, I highly recommend the Haskell Data Analysis Cookbook [1].

      After learning the basics of Haskell, having a book chock full of practical examples of things like handling CVS files, JSON, trees, graphs, machine learning, and Haskell's outstanding support for parallel computation--is a really helpful resource. The code is extremely well written; clear, concise, and readable. The author has also put the source code on GitHub for each chapter. [2]

      Afterwards, to take your skills to the next level, check out Simon Marlow's Parallel and Concurrent Programming in Haskell [3]. Simon now works at Facebook, where they're using Haskell in production [4] [5].

      [1] http://www.amazon.com/Haskell-Analysis-Cookbook-Nishant-Shuk...

      [2] https://github.com/BinRoot/Haskell-Data-Analysis-Cookbook

      [3] http://www.amazon.com/Parallel-Concurrent-Programming-Haskel...

      [4] https://code.facebook.com/posts/302060973291128/open-sourcin...

      [5] http://community.haskell.org/~simonmar/papers/haxl-icfp14.pd...

      thread
    5. IanCalJul 2016
      I like seeing more things come out helping people with data analysis in various languages, but this put me off:

      > isWhitespace x = elem x " \t\r\n"

      This is the kind of thing that makes me concerned about using this resource for real-world data. In real-world data you're going to get all kinds of crazy things coming in, and if you're assuming nobody will ever have something like a zero width non-breaking space, or a form feed, you're going to have a problem.

      It's the kind of thing I see with people starting out when dealing with data, similarly the punctuation detection here: https://github.com/BinRoot/Haskell-Data-Analysis-Cookbook/bl...

      If you rely on these things, you will have problems. Text is hard and weird and terribly more complicated than people usually expect.

      Does haskell have good libraries for dealing with the more awkward parts? Can I easily remove all characters marked as whitespace in unicode, for example? Detecting and managing mangled encodings?

      thread
    6. mark_l_watsonJul 2014
      I am reading "An Introduction to Category Theory", "Haskell Data Analysis Cookbook", and I just finished the sci-fi book "Solaris."
      thread

    Related

    Cover of Parallel And Concurrent Programming In Haskell
    2013–2025

    Parallel And Concurrent Programming In Haskell

    Simon Marlow
    24 recommend · 34
    Cover of Learn You a Haskell for Great Good!
    2009–2026

    Learn You a Haskell for Great Good!

    Miran Lipovača
    237 recommend · 456
    Cover of Real World Haskell
    2008–2026

    Real World Haskell

    Bryan O'Sullivan
    122 recommend · 250
    Cover of Programming in Haskell
    2008–2024

    Programming in Haskell

    Graham Hutton
    34 recommend · 58
    Cover of The Haskell Road To Logic, Maths And Programming
    2009–2022

    The Haskell Road To Logic, Maths And Programming

    Jan van Eijck
    13 recommend · 20
    Cover of On LISP
    2007–2026

    On LISP

    Paul Graham
    192 recommend · 533
    Cover of Purely functional data structures
    2007–2026

    Purely functional data structures

    Chris Okasaki
    87 recommend · 209
    Cover of Practical Common Lisp
    2007–2026

    Practical Common Lisp

    Peter Seibel
    218 recommend · 400