This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.

CoinMarketCap.Msg

Msgs related to HTTP calls

type Msg = ReceiveCryptos (Result Http.Error (List Crypto))

Msgs for each HTTP response from coinmarketcap

module CoinMarketCap.Msg exposing (..)

{-| Msgs related to HTTP calls

@docs Msg
-}
import Http exposing (Error)
import CoinMarketCap.Models exposing (Crypto)

{-| Msgs for each HTTP response from coinmarketcap
-}
type Msg
    = ReceiveCryptos (Result Http.Error (List Crypto))