homepage: ''
changelog-type: markdown
hash: e475c4eb17d56dddda8be568a8f3ee416a2c282c5dc37fbdd3a94f87a00ceff7
test-bench-deps: {}
maintainer: dan.firth@homotopic.tech
synopsis: Simple type for representing one of several media types.
changelog: |
  # Changelog for variable-media-field

  ## v0.1.0.0

  Export `VF` and `VFC` data types.
basic-deps:
  base: '>=4.7 && <5'
  text: '>=1.0 && <1.3'
all-versions:
- 0.1.0.0
author: Daniel Firth
latest: 0.1.0.0
description-type: markdown
description: |
  # variable-media-field

  Variable media field is a simple GADT for representing a media element.
  It is defined:

  ```
  data VF u where
    Blank :: VF u
    RawText :: Text -> VF u
    Image :: u -> VF u
    Audio :: u -> VF u
    Video :: u -> VF u
  ```

  You can specify `u` as the mechanism for including media elements in your
  type. Either by paths, uris or some other method.

  Also defined is a collection of media elements.

  ```
  data VFC u = VFC { unVFC :: [VF u] }
  ```
license-name: MIT

Update from Hackage at 2021-07-25T09:22:31Z
Update from Hackage at 2021-07-25T09:22:31Z
