... | @@ -102,3 +102,6 @@ runMap lf as = runST (f as) |
... | @@ -102,3 +102,6 @@ runMap lf as = runST (f as) |
|
|
|
|
|
|
|
|
|
My conclusion: polymorphic pattern bindings is a feature that is virtually never used, and not even necessary then. We should nuke them.
|
|
My conclusion: polymorphic pattern bindings is a feature that is virtually never used, and not even necessary then. We should nuke them.
|
|
|
|
|
|
|
|
|
|
|
|
Comment: A polymorphic pattern binding isn't required in the above example, but the original code seems more elegant. Why not make monomorphism the default and permit polymorphism only when there is an explicit type signature on the binding? |