You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be really nice to handle different type of folded arguments. Here a list of what I think could be useful. Feel free to comment or suggest other types.
The remaining ones have been requested over and over. It's pretty simple to implement we just need to think of a nice way to put that in the command line.
Activity
[-]Make the parser to handle range in argument[/-][+]Add more types of folded arguments.[/+]mgermain commentedon Jun 29, 2016
The remaining ones have been requested over and over. It's pretty simple to implement we just need to think of a nice way to put that in the command line.
mgermain commentedon Jun 29, 2016
Maybe we could unify all those like so:
[1 3] -> List(1,3)
[1:6:2] -> Range(1,6,2)
Lin[1:6:5] -> Lin(1,6,5)
N[0,1:4] -> N(0,1,4)
Not sure though.
What do you think @vdumoulin @rizar @caglar ?
MarcCote commentedon Jun 29, 2016
Maybe function names should all be lowercase?
Also should we still support [1 3] and [1:6:2] for backward compatibility?
fvisin commentedon Jul 12, 2016
My suggestion is to try to stick to the typical Python syntax as much as possible:
I don't have a strong preference on lowercase vs uppercase, but since N has to be uppercase maybe it makes sense to keep Log and Lin uppercase too.
caglar commentedon Aug 16, 2016
For me suggestions made by both @mgermain and @fvisin are good. But I think I would prefer having lower case for Lin, Log and N functions.
ieee8023 commentedon May 3, 2017
I vote for [] because bash cares about () sometimes.