Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation typos #11

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Xml/Decode.elm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module Xml.Decode exposing (decode, decodeInt, decodeString, decodeFloat, decode

@docs decode

@docs decodeInt, decodeFloat, decodeString, decodeString, decodeBool
@docs decodeInt, decodeFloat, decodeString, decodeBool

@docs decodeChildren
-}
Expand Down Expand Up @@ -186,7 +186,7 @@ decodeString str =
|> Ok


{-| Decode a int
{-| Decode an int
import Xml exposing (Value(IntNode))

decodeInt "hello"
Expand Down
4 changes: 2 additions & 2 deletions src/Xml/Query.elm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ int value =
Err "Not an int"


{-| Try to turn a value into an int
{-| Try to turn a value into a float

float (FloatNode 5.5)
--> Ok 5.5
Expand All @@ -116,7 +116,7 @@ float value =
Err "Not a float"


{-| Try to turn a value into an int
{-| Try to turn a value into a bool

bool (BoolNode True)
--> Ok True
Expand Down