This sub pacckage help to build Story.
Add new option to a story.
Add head of options.
|> addStory
(Story "label" labels
|> Story.map Just
|> Story.addOption "nothing" Nothing
)Transform Story a to Story b.
bool label =
{ label = label
, options = [ ( "true", True ), ( "false", False ) ]
}
Build
Story.First argument is label of story. Second is
toStringfunction that make label of option. Last is options of argument ofview.To build
Story, use this orStoryconstructor directly.