datra

a language for data transformation.

note: this is extremely wip and subject to change

basic data types

basic operations

paradigms

functions

algebraic data types

function application and evaluation

additional notes

code example

Id := ^(x : Anything) := x)
Boolean := *True | *False
Maybe :: type : Type -> Just : type | *Nothing
myValue := (Maybe@Integer).Just@7
Tree :: type : Type -> left : Tree@type, right : Tree@type | *Nothing
List :: type : Type -> () | ^(value : type) & List@type
Kwargs :: type : Type -> ^(ids : List@(Identifier : type))
Dummy :: x : Integer & Kwargs@String -> ids