Type-Driven Development with Idris

By Edwin Brady,

Book cover of Type-Driven Development with Idris

Book description

DESCRIPTION

Types are often seen as a tool for checking errors, with the

programmer writing a complete program first and using the type

checker to detect errors. And while tests are used to show presence of

errors, they can only find errors that you explicitly test for. In typedriven

development,…

When you buy books, we may earn a commission that helps keep our lights on (or join the rebellion as a member).

Why read it?

1 author picked Type-Driven Development with Idris as one of their favorite books. Why do they recommend it?

For many years I did not question the validity of the language I was using, focussing instead on becoming good at getting it to do what was needed. It never occurred to me that, say, the type system could be flawed, causing extra work and allowing unnecessary bugs to seep in.

But what if, instead of writing validation code, you could define your types in a way that makes it impossible to create an invalid instance? What if you could define state transitions in such a way that a state machine cannot transition into an invalid state? These are indeed…

Want books like Type-Driven Development with Idris?

Our community of 12,000+ authors has personally recommended 52 books like Type-Driven Development with Idris.

Browse books like Type-Driven Development with Idris

Book cover of Domain Modeling Made Functional: Tackle Software Complexity with Domain-Driven Design and F#
Book cover of Learn You A Haskell For Great Good
Book cover of Elm in Action

Share your top 3 reads of 2024!

And get a beautiful page showing off your 3 favorite reads.

1,187

readers submitted
so far, will you?

5 book lists we think you will like!

Interested in programmers, computer programming, and python?

Programmers 22 books
Python 30 books