|
|
|
|
|
by crimsonalucard
2471 days ago
|
|
Yeah but you can't implement it generically. That means for every conceivable input type and output type combination you have to have a new MAP or REDUCE function to handle it. All Modern languages except golang and elm only require one implementation of MAP that can handle all type combinations. It's called parametric polymorphism. |
|