Conor O'Brien
Conor O'Brien
Also, how would I define pattern matching funcs with more than one arg? Ones that aren't strictly typed? One where the input is strictly typed, but the output not? Vice...
@somebody1234 ah, of course.
@kckennylau Do you run windows? If so, I can make a keyboard layout for you.
@GolfingSuccess haha sorry I kind of dropped off the github scene for a while. I've been tending to other things lately. I'll have the layout done by the end of...
I might do it, but I'm not comiting yet.
``` javascript five.times = function(entity){ if(typeof entity === "number") return five() * entity; if(typeof entity === "string") return entity.repeat(five()); if(typeof entity === "function") for(let i = five() - five(); i...
I'm not a Pyth expert, but wouldn't is just be better to have a float check builtin? IIRC there are some open commands.
Another idea: `(N ~ f)(*a)` is the same as calling `f(*a,...*a)` where `*a` is repeated `N` times.
Some more revisions/additions: `F * n` is function repetition. E.g., `(F*3)(4) = F(F(F(4)))` `F ** n` is function argument repetition. E.g., `(F**2)(2,3) = F(2,3,2,3)`