ABOUT THIS EPISODE
04: Practical Haskell
So, following the book is hard. I don’t really learn well that way. I have just enough knowledge that the first part feels boring and repetitive, but I don’t know what I don’t know, so where do I pick up, chapter 2 or maybe 3? So let’s take this from a real JS perspective.
Building an API- So we know how to get and return json with HTTP requests in Node, how do we do it in Haskell? Ok, now build on that.
- Make it something relatable.
stack new hs-webapi- Go into
/package.yamland under dependencies add ‘scotty’ and ‘aeson’ - Then run
stack build - … then wait (forgotten the compile times :eye_roll:) also 67 dependencies. I mean it’s not 867!!!!
- ..still waiting.
- JavaScript to Haskell
- Twitter: @jstoHaskell()
- Site: JSToHaskell
- microblog: [@jtomchak](https://micro.blog/jtomchak)
- Jesse Tomchak
English
United States
TRANSCRIPT 🔗
Are you the producer of this podcast?
Add a podcast transcript
Need Audio-to-Text?
Transcribe with Listen411 in Just 60 Seconds
SEARCH PAST EPISODES
Search past episodes of JavaScript to Haskell.
OTHER EPISODES IN THIS PODCAST
02: Haskell Tools
Install
stack looks to be the sort of NPM of haskell
reproduceable builds,
YAML file config. cabal config too
Command Line
stack build and then stack exec hello-world-exe
the build will create an executable in the ./stack-work and look ther…
03: Lists
Handling Lists
Before we get started a couple tips for shorthand in Prelude
* > GHCi is an interactive Haskell REPL (Read-Eval-Print-Loop) that comes with GHC. At the GHCi prompt, you can evaluate expressions, load Haskell files with :load (:l) (and reload them with :relo…
Episode 1:
Learning path github.com/bitemyapp…
Functional
Two values of functional
Functions are first-class, that is, functions are values which can be used in exactly the same ways as any other sort of value.
The meaning of Haskell programs is …
Disclaimer: The podcast and artwork embedded on this page are from Jesse Tomchak, which is the property of its owner and not affiliated with or endorsed by Listen Notes, Inc.
EDIT
Thank you for helping to keep the podcast database up to date.