Commit ab50d0c4 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Arrays in datatypes

parent 67dc507a
......@@ -35,7 +35,7 @@ type result_type = [
type question = {
answer_urls : unit list;
answers : string list;
answers : string list <ocaml repr="array">;
choice_type : choice_type;
max : int;
min : int;
......@@ -52,7 +52,7 @@ type election = {
name : string;
openreg : bool;
public_key : public_key;
questions : question list;
questions : question list <ocaml repr="array">;
uuid : uuid;
short_name : string;
use_voter_aliases : bool;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment