making algebraic datatypes for wiki syntax