Types

Katydid’s functions are type safe and overloaded. Many functions are allowed to have the same name if their input parameter type signatures are different. For example the eq function exists for multiple types like eq(string, string) bool and eq(int64, int64) bool.

Katydid does not allow the creation of your own custom types and is limited to a few native types:

double
int64
uint64
bool
string
bytes

Katydid also includes list types for each of these the native types:

[]double
[]int64
[]uint64
[]bool
[]string
[]bytes