@@ -33,6 +33,8 @@ module Reflex.Dynamic ( Dynamic -- Abstract so we can preserve the law that the
33 , HList (..)
33 , HList (..)
34 , FHList (..)
34 , FHList (..)
35 , distributeFHListOverDyn
35 , distributeFHListOverDyn
38import Reflex.Class
40import Reflex.Class
@@ -89,6 +91,9 @@ instance HBuild' (a ': l) r
89data Dynamic t a
91data Dynamic t a
90 = Dynamic (Behavior t a) (Event t a)
92 = Dynamic (Behavior t a) (Event t a)
94+unsafeDynamic :: Behavior t a -> Event t a -> Dynamic t a
95+unsafeDynamic = Dynamic
92current :: Dynamic t a -> Behavior t a
97current :: Dynamic t a -> Behavior t a
93current (Dynamic b _) = b
98current (Dynamic b _) = b