2019-11-18 21:45:54 +03:00
|
|
|
-- | A simple implementation of /incremental build rules/, which can be used to avoid unnecessary
|
|
|
|
-- recomputation on incrementally-changing input. See 'Rule' for more details.
|
|
|
|
module Hasura.Incremental
|
|
|
|
( Rule
|
|
|
|
, Result
|
|
|
|
, build
|
|
|
|
, rebuild
|
2019-11-20 21:21:30 +03:00
|
|
|
, rebuildRule
|
2019-11-18 21:45:54 +03:00
|
|
|
, result
|
2019-11-20 21:21:30 +03:00
|
|
|
|
2019-11-27 01:49:42 +03:00
|
|
|
, ArrowDistribute(..)
|
2019-12-15 16:28:23 +03:00
|
|
|
, ArrowCache(..)
|
2019-12-11 04:46:34 +03:00
|
|
|
|
2019-12-15 16:28:23 +03:00
|
|
|
, Dependency
|
|
|
|
, Selector
|
|
|
|
, selectD
|
|
|
|
, selectKeyD
|
|
|
|
, Cacheable(..)
|
|
|
|
, Accesses
|
|
|
|
) where
|
2019-12-11 04:46:34 +03:00
|
|
|
|
2019-12-15 16:28:23 +03:00
|
|
|
import Hasura.Incremental.Internal.Cache
|
|
|
|
import Hasura.Incremental.Internal.Dependency
|
|
|
|
import Hasura.Incremental.Internal.Rule
|
|
|
|
import Hasura.Incremental.Select
|