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

CapitalizeWord

Capitalize a word

Usage

make : String -> String

Perform the capitalization of a word

make "hi" -- "Hi"
module CapitalizeWord (make) where

{-| Capitalize a word

# Usage
@docs make
-}

import String


{-| Perform the capitalization of a word

    make "hi" -- "Hi"

-}
make : String -> String
make word =
  (String.slice 1 (String.length word) word)
    |> (++) (String.toUpper (String.slice 0 1 word))