# \#chapter1

**URL:** https://forum.devtalk.com/tag/chapter1/2917.md

[Latest](https://forum.devtalk.com/latest.md) · [Categories](https://forum.devtalk.com/categories.md) · [Tags](https://forum.devtalk.com/tags.md)

---

## [Functional Programming in Java, Second Edition: Chapter 1, p.15, a little note](https://forum.devtalk.com/t/functional-programming-in-java-second-edition-chapter-1-p-15-a-little-note/110231)

<div class="topic-metadata">

**Author:** [@dtonhofer](https://forum.devtalk.com/u/dtonhofer)\
**Replies:** 0\
**Last updated:** [23 May 2023 16:12 UTC](https://forum.devtalk.com/t/functional-programming-in-java-second-edition-chapter-1-p-15-a-little-note/110231 "2023-05-23T16:12:49Z")

</div>

On page 15, we read: In this example we’re sending a function, price -\> price \* 0.9, as an argument to mapToDouble The function being passed is created just in time, at the point of call to the higher-order function ma…
