[{"name":"Url.Interpolate","comment":" Url.Interpolate provides a primary entrypoint function, `interpolate`, which takes\na URI Template string and a variable, and expands\nthe input string according to the rules in IETF RFC 6570,\nup to Level 4.\n\n@docs interpolate\n\n@docs Context\n@docs simpleContext\n@docs addScalar\n@docs addList\n@docs addAssoc\n\n[rfc6570]: https://tools.ietf.org/html/rfc6570\n\n","unions":[],"aliases":[{"name":"Context","comment":" the Context for a template interpolation\n","args":[],"type":"Dict.Dict String.String Url.Interpolate.Value"}],"values":[{"name":"addAssoc","comment":" add an associated list (in other words a map) to a context\n","type":"Url.Interpolate.Context -> String.String -> Dict.Dict String.String String.String -> Url.Interpolate.Context"},{"name":"addList","comment":" add a list of strings to the context\n","type":"Url.Interpolate.Context -> String.String -> List.List String.String -> Url.Interpolate.Context"},{"name":"addScalar","comment":" add a scalar (in other words a simple string) value to the context\n","type":"Url.Interpolate.Context -> String.String -> String.String -> Url.Interpolate.Context"},{"name":"interpolate","comment":" Example URI template interpolation:\n\n    interpolate \"<http://example.com/{path}{?x,y,empty}\"> <|\n      simpleContext [(\"path\", \"hello\"), (\"x\", \"1024\"), (\"y\", \"768\")]\n\n    -- \"<http://example.com/hello?x=1024&y=768&empty=\">\n\n","type":"String.String -> Url.Interpolate.Context -> String.String"},{"name":"simpleContext","comment":" Works like Dict.fromList to produce a context of names to Scalar string values;\nyou could also use this to create an empty context like\n\n    simpleContext []\n\n","type":"List.List ( String.String, String.String ) -> Url.Interpolate.Context"}],"binops":[]}]