~/talk

Multiple and Predicative Dispatch

links:none on file
slides:none on file

A Python library called Nosis dispatch implements multiple and predicative dispatch, letting the same function name have many implementations chosen by argument types and boolean predicates (e.g., place.ISO3 == 'PH'). Example namespace reports 16 functions bound to 1,348 implementations; demographic queries route to a Philippine API, a Malaysian DB, or a specified source object depending on signature. Numeric examples choose different primality algorithms by integer range. Code and working examples live on the project GitHub.

AI-written summary · about

  1. 0:00Multiple and predicative dispatch
  2. 2:34Use multiple dispatch
  3. 8:55Nations namespace object
  4. 14:38Multiple dispatch beyond Python
  5. 17:28Data types as predicates
  6. 20:58Custom data types with predicates
  7. 23:27Practical is_prime example
  8. 26:37Summary and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.