Search code examples
Shorthand for converting ruby procs to duck type / functional interface...


rubyduck-typing

Read More
Can the C# compiler use duck typing with foreach over a generic type?...


c#genericsduck-typing

Read More
How to express hasattr() duck typing logic with structural pattern matching?...


pythonduck-typingpython-3.10structural-pattern-matching

Read More
How do Ruby programmers do type checking?...


rubyoopduck-typing

Read More
numpy.array() exceptions thrown...


pythonnumpyduck-typing

Read More
What is duck typing?...


programming-languagesduck-typing

Read More
Duck typing in the C# compiler...


c#idisposableduck-typing

Read More
Why io.BytesIO is not a subclass of typing.BinaryIO, and io.StringIO is neither a subclass of typing...


pythonpython-typingduck-typing

Read More
Asserting a variable has certain properties if it passes certain tests...


pythonpython-typingduck-typing

Read More
How to indicate to mypy an object has certain attributes?...


pythonpython-typingmypyduck-typing

Read More
How to annotate a type that is a combination of multiple duck-types?...


pythonpython-typingduck-typing

Read More
What's an example of duck typing in Java?...


javaduck-typing

Read More
Troubleshooting Iterator-Like Concept Definition for Pointer-Like Iterators in C++...


c++iteratorc++-conceptsduck-typingconcept

Read More
How to write a function that works on both Numpy arrays and Pandas series, returning the same type...


pythonpandasnumpyduck-typing

Read More
How do I set a function in another node in Godot?...


godotgdscriptduck-typing

Read More
Should I check the type of input to my class properties?...


pythonclasspropertiesduck-typingcode-structure

Read More
Typescript: Assign object Literal to typed variable / typeof object literal. Both possible?...


typescripttypestypeerrorduck-typing

Read More
The implementation of Sequence interface is not sufficient to be a Sequence...


pythoncollectionsduck-typingabc

Read More
Why can't Python infer that my class follows the Sequence protocol?...


pythonduck-typing

Read More
Are abstract base classes redundant since Protocol classes were introduced?...


pythonduck-typing

Read More
A way in Python to agnostically append() / add() to a collection (or other receiver)?...


pythonpython-3.8duck-typing

Read More
How to type only the first positional parameter of a Protocol method and let the others be untyped?...


pythontype-hintingmypypython-3.9duck-typing

Read More
Duck Typing Annotations in Python3...


pythonpython-3.xduck-typing

Read More
OR pattern with F# SRTP constraints is interpreted as AND...


f#duck-typingsrtp

Read More
Duck Typing in Python (in order to mimic a String)...


pythonstringelementtreeduck-typing

Read More
Is type inference based off the shape of an object possible in typescript?...


node.jstypescriptduck-typing

Read More
Duck type testing with C# 4 for dynamic objects...


dynamicc#-4.0duck-typing

Read More
Numpy duck array with string dtype unexpectedly throws `numpy.core._exceptions._UFuncNoLoopError`...


pythonstringnumpyduck-typingnumpy-ufunc

Read More
What is the difference between polymorphism and duck typing?...


ooppolymorphismduck-typing

Read More
Pythonic way to verify parameter is a sequence but not string...


pythonduck-typing

Read More
BackNext