Pre-order Releases Jan 12, 2027
The Algebra of Code, Volume 1: Explore Set Theory, Abstract Algebra, and Category Theory with Functional Programming
by Paul Orland
From $38.49 / copy at 25+ copies; lower per-copy prices at higher quantities (see Volume pricing) As low as $34.09 at 1,000+
Volume pricing
The more copies, the less each one costs
Applied automatically in your cart. No code needed.
About the book
The Algebra of Code, Volume 1
Functions, types, composition, data structures. You use these ideas in code every day. Look a little closer and something surprising appears: math.
The Algebra of Code teaches functional programming and mathematics together, using F# as a laboratory where you can run abstract ideas and see what they do. You don't need to know F# going in. Part I gets you reading and writing it, and everything you learn carries over to Haskell, OCaml, Scala, and the functional corners of C# and TypeScript.
You'll build numbers and sets from scratch, turn algebraic expressions into data structures, write programs that simplify equations, build Boolean logic, and automate pieces of mathematical reasoning. Along the way, familiar programming concepts reveal deeper connections: algebraic data types follow rules that look remarkably like ordinary algebra, and function composition with strong typing leads toward category theory.
More than 500 short coding exercises have you implement, test, break, and explore every idea yourself. By the time you reach lambda calculus, rings, and categories, they're structures you've already worked with in code.
Volume 1 stands on its own, taking you from functional programming fundamentals through the mathematical ideas that make the deeper connections possible. It is the first of a planned three.
For programmers with solid experience who want to understand math at a deeper level. No proofs or advanced math required.
The math makes you a better programmer. The programming makes the math make sense.
What readers are saying
Details
- Publisher
- No Starch Press
- Author
- Paul Orland
- Format
- Paperback
- Release date
- Jan 12, 2027
- ISBN-13
- 9781718501607
- ISBN-10
- 1718501609
- Pages
- 456
- Carton quantity
- 24 copies
Who it's for
Made for classrooms and campuses
Pre-order copies for everyone on your list, and they ship on release.
- Course adoption A copy for every student in the class or section. Get a quote
- Faculty and staff studies Shared reading for professional development. Get a quote
- Orientation and common reads First-year programs and campus events. Get a quote
- Libraries Copies for every branch, on one order. Get a quote
Before release day
Need them before Jan 12?
Books ship on release and usually arrive around the release date. Early delivery is common, and we arrange it often. It needs the publisher’s OK, so tell us why you need them early and we’ll make the request for you.
- Tell us the date and the reasonA class unit, an event, a program launch: one line is enough.
- We ask the publisherWe make the request on your behalf. It’s a routine part of what we do.
- We confirm with youYour specialist confirms the date by email before anything ships.
Other times a quote is the better path
- Several addressesOne order split across schools, branches, classrooms or homes.
- Signings and eventsTell us the venue and the date, and we’ll plan the delivery around it.
- Custom touchesBookplates, belly bands, gift notes or packaging for your copies.
- Purchase ordersSchools, libraries and agencies can pay by PO.
The Algebra of Code, Volume 1 for groups: pricing
Volume pricing applies automatically in your cart. No codes, no account needed.
| Copies | Price per copy | You save |
|---|---|---|
| 25 – 99 | $38.49 | 30% off list |
| 100 – 249 | $37.39 | 32% off list |
| 250 – 499 | $36.29 | 34% off list |
| 500 – 999 | $35.19 | 36% off list |
| 1,000+ | $34.09 | 38% off list |
Where can I buy 100 copies of The Algebra of Code, Volume 1?
BookPal sells The Algebra of Code, Volume 1 in quantity. At 100 copies the price is $37.39 a copy, against a list price of $54.99, and the cart applies the volume tier automatically. Free shipping on most orders over $95 in the contiguous US. A specialist can quote a larger or mixed order.
- New books only, straight from the publisher
- Volume prices apply automatically in the cart, with no code needed
- Order at least 10 business days before you need the books (11 from mid-November through December)
What does The Algebra of Code, Volume 1 cost when I buy for a group?
Volume pricing applies automatically in your cart, with no code needed. Price per copy: 25 to 99 copies, $38.49 (30% off list); 100 to 249 copies, $37.39 (32% off list); 250 to 499 copies, $36.29 (34% off list); 500 to 999 copies, $35.19 (36% off list); 1,000+ copies, $34.09 (38% off list). Need a different quantity, or a quote to forward for approval? Ask a specialist and we will confirm pricing before you pay.
How fast can I get copies of The Algebra of Code, Volume 1?
This title is not released yet. Pre-orders ship when it is, currently scheduled for January 12, 2027. Need them by a specific date? Request a quote and we'll confirm timing before you pay.
Can you ship to several locations or people's homes?
Yes. We ship group orders to one address, to multiple sites, or to individual recipients, in the US and internationally. See fulfillment options.
Can I get a formal quote for approval before ordering?
Yes. Request a quote and we'll send a PDF you can forward for approval.
Do you accept purchase orders and tax-exempt orders?
Yes. We accept purchase orders upon approval, as well as cards, PayPal, ACH, wire transfers and checks. BookPal is a tax-exempt supplier in all 50 states. See purchase orders and sales tax exemption.
What if I find a lower price?
Send us the link. We match prices from other booksellers and distributors on a new copy in the same edition, available to ship in the quantity you need. Clearance sales and pricing errors are the exception, and we'll tell you quickly if that's the case. Start a price match.
Built for school and campus orders
PDF quotes, purchase orders, tax exemption and multi-site delivery, handled by one account manager.
PDF quotes, purchase orders, tax exemption and help with vendor setup.
For schools Make it yoursBranded cover stickers on paperbacks from 100 copies, plus bookplates, inserts and belly bands. Your specialist confirms what fits your title.
Customization options Ship to every readerOne address, many sites or individual recipients' homes, in the US and abroad.
Fulfillment optionsWrite a Review
The Algebra of Code, Volume 1: Explore Set Theory, Abstract Algebra, and Category Theory with Functional Programming
Groups also order




A colleague asked you to approve this order
Your quote list
Add books as you browse, then request one quote for all of them.