SimpleMatch.jl, NotMacro.jl and ProxyInterfaces.jl

07/26/2023, 8:40 PM — 8:50 PM UTC
32-141

Abstract:

My super tiny helpers which may also help you. Let me present to you SimpleMatch.jl for nice inline dispatch, NotMacro.jl for using @not instead of !, and ProxyInterfaces.jl for quickly creating proxy types for Dicts, Arrays, etc..

Description:

Three tiny packages of mine, so tiny that they can be combined into one lightning talk:

SimpleMatch.jl is a super lightweight alternative to Match.jl. It simply reuses standard function dispatch syntax, but makes it available in a simple inline macro syntax which is much easier to read than defining inner functions.

NotMacro.jl solves the request that many coming from Python would really love to see not being part of the normal syntax. NotMacro.jl gives you @not to fill this gap.

ProxyInterfaces.jl is created around the idea of a Proxy. Say, you use Dict a lot, but sometimes whish, your dictionary had a special extra feature, which the default one just does not have. ProxyInterfaces.jl let's you focus on creating such extra feature by automatically defining all standard Dict functions for your proxy type. It also supports Array and other standard interfaces.

Platinum sponsors

JuliaHub

Gold sponsors

ASML

Silver sponsors

Pumas AIQuEra Computing Inc.Relational AIJeffrey Sarnoff

Bronze sponsors

Jolin.ioBeacon BiosignalsMIT CSAILBoeing

Academic partners

NAWA

Local partners

Postmates

Fiscal Sponsor

NumFOCUS