Website

LessonContract.elm at trunk
Login

File src/LessonContract.elm artifact eda5b20e27 on branch trunk


module LessonContract exposing
    ( LessonContract
    , asDictEntry
    )


type alias LessonContract =
    { key : String
    , label : String
    , content : String
    }


asDictEntry : LessonContract -> ( String, LessonContract )
asDictEntry contract =
    ( contract.key, contract )