Index 2: Learn Elm-flavored Haskell by binding love
The program we wrote is available on Repl.it at https://repl.it/@tmcl1/BindYourLove#Main.hs
It's also available on github at https://github.com/tmcl/BindYourLove
7 Feb 2021
Index 1: Piping, currying and the order of function parameters
In this episode, we discuss piping in Elm and Elixir, we discuss currying functions and we also talk a bit about why functions parameters go in different orders between Elm and Elixir, and how that works out in practice.
Tristan tries to read out some code examples. During the discussion on currying, he reads some javascript:
First, the uncurried, natural form:
function (x, y) {
return x + y;
}
and then, the curried javascript form:
function (x) {
return function (y) {
return x + y;
};
}
Later, in the discussion on function parameter order in Elixir vs Elm, he compares some Elm code in piped and unpiped form with some Elixir code in piped and unpiped form.
First, piped Elm:
getPeople source
|> List.filter (hasMinimumAge 20)
Second, unpiped Elm:
let
people = getPeople source
in
List.filter (hasMinimumAge 20) people
Next, piped Elixir:
getPeople source
|> Enum.filter(hasMinimumAge 20)
And finally, unpiped Elixir:
people = getPeople source
Enum.filter(people, hasMinimumAge 20)
Reach out to Nadinda on Twitter/Instagram @nadindadev and Tristan on Twitter @tmcll.
Thanks, see you next time!
31 Jan 2021
Index 0: How I got into functional programming - Nadinda's version
Welcome to our first episode. We mention Outreachy (https://www.outreachy.org/) in this episode.
Feel free to reach out to us at @nadindadev on Twitter/Instagram or @tmcl on Twitter.
Contact Pipesicle
Guest appearances
Does not typically book guests
Based on episode analysis; this does not confirm that the show is currently accepting guests.
Host of Pipesicle?
Claim your podcast to manage its listing and keep your show details accurate.
Pod Engine is an independent podcast discovery and analytics service and is not affiliated with or endorsed by this podcast. Artwork and show content belong to their owners. Full legal notice.
Explore this show Podcast research with Pod Engine