Hacker News new | ask | show | jobs
by logicprog 2197 days ago
This is called dependent typing, and F# doesn't have it as far as I know. There are other ML-family languages that are capable of it however: Liquid Haskell and Idris are the two I can recall off the top of my head.