Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
type alias Model =
{ topic : String
, gifUrl : String
init : String -> (Model, Effects Action)
init topic =
( Model topic "assets/waiting.gif"
, getRandomGif topic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment