https://serokell.io/blog/parsing-typed-edsl
Check out this post by Serokell.