Type detection: Difference between revisions
Content deleted Content added
→{{header|zkl}}: added how to use |
updated discription |
||
Line 1:
{{Alertbox|pink|This page is scheduled for deletion after 09-Oct-2015. - See discussion page'}}
▲{{draft task|FIXME}}
This draft task needs a purpose, a description and some way to tell whether examples satisfy or do not satisfy it.
This can be done with pattern matching, multi-methods, dynamic type detection, structs with a tag, etc. The objective is write one [eg library] function that processes text from multiple sources (such as a string/char *, socket, file, etc). If not practical, show how the caller would coerce a type that can be passed to the library function.
== JavaScript ==
|