You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
685 B
61 lines
685 B
module Sujet exposing (..)
|
|
|
|
|
|
type Bloc typeDeBloc etat exportabilite
|
|
= Bloc
|
|
{ entete : Macro
|
|
, contenu : List Bloc
|
|
, commentaire : Macro
|
|
}
|
|
|
|
|
|
|
|
-- Les différents types de blocs
|
|
|
|
|
|
type Simple
|
|
= Simple
|
|
|
|
|
|
type Qcm
|
|
= Qcm
|
|
|
|
|
|
type VraiFaux
|
|
= VraixFaux
|
|
|
|
|
|
type Aremplacer
|
|
= Aremplacer
|
|
|
|
|
|
type Tag
|
|
= Tag
|
|
|
|
|
|
|
|
-- Les blocs peuvent être complets ou incomplets
|
|
|
|
|
|
type Complet
|
|
= Complet
|
|
|
|
|
|
type Incomplet
|
|
= Incomplet
|
|
|
|
|
|
|
|
-- Les blocs peuvent être exportable (en QuizScan ou EvalBox) ou non
|
|
|
|
|
|
type NonExportable
|
|
= NonExportable
|
|
|
|
|
|
type ExportableEnQuizscanSeulement
|
|
= ExportableEnQuizscanSeulement
|
|
|
|
|
|
type Exportable
|
|
= Exportable
|
|
|