Predicate dispatch

id: predicate-dispatch-290-1634554
title: Predicate dispatch
text: In computer programming, predicate dispatch is a generalisation of multiple dispatch ("multimethods") that allows the method to call to be selected at runtime based on arbitrary decidable logical predicates and/or pattern matching attached to a method declaration. Raku supports predicate dispatch using "where" clauses that can execute arbitrary code against any function or method parameter. Julia has a package for it with PatternDispatch.jl but otherwise natively supports multiple dispatch. Expe
brand slug: wiki
category slug: encyclopedia
description: Technique in computer programming
original url: https://en.wikipedia.org/wiki/Predicate_dispatch
date created:
date modified: 2023-10-18T01:48:23Z
main entity: {"identifier":"Q16976479","url":"https://www.wikidata.org/entity/Q16976479"}
image:
fields total: 13
integrity: 14

Related Entries

Explore Next Part