ActivityStream.hs 935 B

1234567891011121314151617181920212223242526
  1. {-# LANGUAGE TemplateHaskell #-}
  2. {-|
  3. Module : Codec.ActivityStream
  4. Description : The basic Activity Streams structures
  5. Copyright : (c) Getty Ritter, 2014
  6. Maintainer : gdritter@galois.com
  7. This is an interface to ActivityStreams that simply wraps an underlying
  8. @aeson@ Object, and exposes a set of convenient lenses to access the
  9. values inside. If an @aeson@ object appears wrapped in some respective wrapper,
  10. it will necessarily contain the obligatory values for that type
  11. (e.g. an 'Activity' is guaranteed to have a @published@ date.)
  12. Most of the inline documentation is drawn directly from the
  13. <http://activitystrea.ms/specs/json/1.0/ JSON Activity Streams 1.0>
  14. specification, with minor modifications
  15. to refer to the corresponding data types in this module and to clarify
  16. certain aspects.
  17. -}
  18. module Codec.ActivityStream
  19. ( module Codec.ActivityStream.Representation
  20. ) where
  21. import Codec.ActivityStream.Representation