let rec exSem_of_list = function | [] -> Ast.ExNil ghost | [ x ] -> x | x :: xs -> let _loc = loc_of_expr x in Ast.ExSem (_loc, x, (exSem_of_list xs))