2 ms·
This sort of thing affects functional languages in the ML family too because type unification ("algorithm W") takes exponential time. Here's an OCaml example:
by rwmj 9y ago
This sort of thing affects functional languages in the ML family too because type unification ("algorithm W") takes exponential time.
Here's an OCaml example: https://cs.stackexchange.com/questions/6617/concise-example-of-exponential-cost-of-ml-type-inference https://cs.stackexchange.com/questions/6617/concise-example-...
And a crazy ML example: https://gist.github.com/spacemanaki/72ed52766e0c7e0b85ef https://gist.github.com/spacemanaki/72ed52766e0c7e0b85ef