Conclusion

Modern type theory is not just useful for foundations of mathematics

It's also useful for: