pub fn generate( root: String, record_info: List( #(String, String, List(#(String, FieldType)), a), ), ) -> Nil