Synaptic.Jev.Question (synaptic v0.3.0-alpha.13)

View Source

A typed Jev question. Construct questions with Synaptic.Jev.choice/2, Synaptic.Jev.score/2, or Synaptic.Jev.noul/2.

Instructions and criterion descriptions retain their JSON structure. Question IDs and Choice labels are strings; they are never converted to atoms.

Summary

Types

t()

@type t() :: %Synaptic.Jev.Question{
  criteria: term(),
  instructions: term(),
  type: :choice | :score | :noul
}