I highly recommend buying the book and checking out Idris if you found this article interesting. Read the free "overview" chapter[1] at least.
[0] https://www.manning.com/books/type-driven-development-with-i...
[1] https://manning-content.s3.amazonaws.com/download/a/580d6ba-...