linsyking/elm-anytype/1.0.1

NOTE: the latest version is 1.1.0

AnyType.Any

Anytype in Elm

This module provides a type called Any that can be converted from and to any type in Elm.

type Any

The Any type

encode : a -> Any

Encode a value to Any type

decode : a -> Any -> a

Decode an Any type data to a value.

You need to provide a dummy value to let the Elm compiler know the type.