Hash any value

Syntax

HASH …expr…

Typing

t -> I64

Description

Compute a integer hash of a value of any type.

The hash function is deterministic.

Examples

expression evaluates to
HASH NULL NULL
HASH ("foo"; "bar") 731192513