Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> A function that can take as input a 4x2x8 matrix and a 3x7 matrix and output a third matrix.

which shows that this feature request is complete jibberish



Why gibberish ? It's a common feature in both array languages and Iverson ghosts, and many find it extremely useful.


You mean like a "winner" function able to check for both Tic-Tac-Toe, a Connect Four field and a Similar 3D+ tower game?


I'm not sure I follow? The "winning" condition is different in all of those examples?


X adjacent cell values in an N dimensional array? For tic tac toe, it's 3 in a row, for connect 4 it's 4 in a row.


Fair enough, I guess. The "available moves" would be dramatically different, such that I'm not clear I see much of a win on this reuse. But, yeah, fair enough.


It was just the simplest case I could think of that would be reasonable. I'm not a heavy enough pure math guy to really get how an Array centric language is even all that valuable myself TBF.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: