Learn Functional Programming with Elixir: New Foundations for a New World (The Pragmatic Programmers) by Ulisses Almeida
Author:Ulisses Almeida [Almeida, Ulisses]
Language: eng
Format: epub
Tags: Pragmatic Bookshelf
Publisher: Pragmatic Bookshelf
Published: 2018-02-22T23:00:00+00:00
Creating Higher-Order Functions for Lists
Using functions in variables, like with any other value, can be hard to remember for newcomers. To practice, we’ll work with a subject familiar to us: lists. They’re a useful data type and are present in almost any program we need to build. We’ve seen how to work with them using recursive functions, but if we stop and look again at all that code we’ve written, we’ll see that they are a little bit repetitive and boring. We always have code that navigates through each item, and a stop condition when the list is empty. It’s time to change it! We’ll look at how to build higher-order functions that hide the tedious tasks and provide an interface for what matters. Let’s start with the navigation routine.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
The Mikado Method by Ola Ellnestam Daniel Brolund(22229)
Hello! Python by Anthony Briggs(21434)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(19967)
Dependency Injection in .NET by Mark Seemann(19401)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(19120)
Kotlin in Action by Dmitry Jemerov(19014)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(18594)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(17428)
Adobe Camera Raw For Digital Photographers Only by Rob Sheppard(16957)
Grails in Action by Glen Smith Peter Ledbrook(16569)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(10844)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(8063)
Microservices with Go by Alexander Shuiskov(7827)
Practical Design Patterns for Java Developers by Miroslav Wengner(7729)
Test Automation Engineering Handbook by Manikandan Sambamurthy(7688)
Angular Projects - Third Edition by Aristeidis Bampakos(7174)
The Art of Crafting User Stories by The Art of Crafting User Stories(6620)
NetSuite for Consultants - Second Edition by Peter Ries(6542)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(6312)