|
|
|
|
|
by grumpyprole
1096 days ago
|
|
> the type signature of your stereotypical statically typed language, e.g. reverse :: [a] -> [a], doesn't have a much information content. It's a little bit unfair to imply any alternative to bleeding-edge clojure is going to have a simple 70's Damas-Milner type system. Today, static types can describe a lot more. Refinement types (e.g liquid Haskell) and/or dependant types (e.g. Idris or Agda) can describe and enforce the desired properties for reverse statically. |
|