GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Add support for keyword-style arguments · Issue #245 · scijava/scijava Open Milestone DescriptionSome programming languages (e.g. Python) have support for keyword arguments, in addition to only ordered arguments. Furthermore, in Python at least, one can have a function with keyword only arguments, which can happen if an argument follows the varargs SciJava Ops currently does not have a feature like this, but it could. Here is one possible syntax: Img image = ...; double sigma = ...; Img result = ...; Computers.Arity2<Img, Double, Img> gaussOp = ops.op("filter.gauss") .input("image", image) .input("sigma", sigma) .output(result) .computer(); In the example above, the This goal of supporting op matching by named inputs would make it more elegant to wrap such Python functions into Ops. But even with it in place, Ops does not support varargs and might never do so, since it weakens type safety. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjects
MilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |