marcodaniels / elm-robots-humans / Humans

https://humanstxt.org/

Humans.txt is an initiative for knowing the people behind the website. It's a text file from humans, for humans.


type alias Section =
{ headline : String
, content : List String 
}

Each section of the humans.txt file can be defined by a headline and a list of strings that create the content


type alias Humans =
List Section

The humans type is composed by a list of sections

humans : Humans -> String

Creates a String with the humans.txt output

humans
    [ { headline = "Team"
      , content = [ "Engineer: Marco Martins" ]
      }
    , { headline = "Technology"
      , content = [ "elm, terraform, nix" ]
      }
    ]