mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-08 07:59:51 +00:00
11 lines
255 B
Elm
11 lines
255 B
Elm
module Util.Contact exposing (toString)
|
|
|
|
import Api.Model.Contact exposing (Contact)
|
|
|
|
|
|
toString : List Contact -> String
|
|
toString contacts =
|
|
List.map (\c -> c.kind ++ ": " ++ c.value) contacts
|
|
|> List.intersperse ", "
|
|
|> String.concat
|