Corner.PatternConfirmer (corner v0.1.2)

Pattern Confirmer.

Define the macro =~/2, use to confirmer if a value match a pattern.

Please use it as: use Corner.PatternConfirmer.

Link to this section Summary

Functions

Check if left have the pattern of right.

Link to this section Functions

Link to this macro

left =~ right

(macro)

Check if left have the pattern of right.

If left is a binary or a variable, it will same as Kerner.=~/2.