#generic

Uses: 2

Ad-Hoc polymorphism in TypeScript with implicit context

Tags: #coding #typescript #pure functional #typeclasses #generic #polymorphism

The post defines ad-hoc polymorphism techniques for TypeScript. It helps to define a function with several different types acting in a different way for each type.

Generic Representation of Algebraic Data Types in Erlang

Tags: #coding #erlang #pure functional #generic #type system #algebraic data types #algebra #common data model

Erlang permits writing a generic code but it has a few disadvantages that makes they usage questionable. The datum library provides a parse transform to solve Erlang’s limitations.