Skip to content

Add pipeline functionality - #3

Open
jxxcarlson wants to merge 1 commit into
terezka:masterfrom
jxxcarlson:pipeline
Open

Add pipeline functionality#3
jxxcarlson wants to merge 1 commit into
terezka:masterfrom
jxxcarlson:pipeline

Conversation

@jxxcarlson

Copy link
Copy Markdown

Add pipeline functionality so that you can do this:

    type alias Foo =
        { bar : String
        , baz : Int
        }
    fooDecoder : Decoder Foo
    fooDecoder =
       succeed Foo
            |> required "bar" string
            |> required "baz" int

See Yaml.Decode end of file. Has elm-verify-examples tests in the docs for the added required function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant