reflex-dom-core 0.7.0.1 → 0.7.0.2
raw patch · 6 files changed
+20/−11 lines, 6 filesdep +commutative-semigroupsdep ~aesondep ~lensdep ~randomPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependencies added: commutative-semigroups
Dependency ranges changed: aeson, lens, random, reflex, semialign, these
API changes (from Hackage documentation)
- Reflex.Dom.Builder.Class: instance (Reflex.Dom.Builder.Class.DomBuilder t m, Control.Monad.Fix.MonadFix m, Reflex.Class.MonadHold t m, Data.Patch.Group q, Reflex.Query.Class.Query q, Data.Patch.Additive q, GHC.Classes.Eq q) => Reflex.Dom.Builder.Class.DomBuilder t (Reflex.Query.Base.QueryT t q m)
- Reflex.Dom.Prerender: instance (Reflex.Dom.Prerender.Prerender t m, GHC.Base.Monad m, Reflex.Class.Reflex t, Control.Monad.Fix.MonadFix m, Data.Patch.Group q, Data.Patch.Additive q, Reflex.Query.Class.Query q, GHC.Classes.Eq q) => Reflex.Dom.Prerender.Prerender t (Reflex.Query.Base.QueryT t q m)
+ Reflex.Dom.Builder.Class: instance (Reflex.Dom.Builder.Class.DomBuilder t m, Control.Monad.Fix.MonadFix m, Reflex.Class.MonadHold t m, Data.Patch.Group q, Reflex.Query.Class.Query q, Data.Semigroup.Commutative.Commutative q, GHC.Classes.Eq q) => Reflex.Dom.Builder.Class.DomBuilder t (Reflex.Query.Base.QueryT t q m)
+ Reflex.Dom.Prerender: instance (Reflex.Dom.Prerender.Prerender t m, GHC.Base.Monad m, Reflex.Class.Reflex t, Control.Monad.Fix.MonadFix m, Data.Patch.Group q, Data.Semigroup.Commutative.Commutative q, Reflex.Query.Class.Query q, GHC.Classes.Eq q) => Reflex.Dom.Prerender.Prerender t (Reflex.Query.Base.QueryT t q m)
- Reflex.Dom.Builder.Class: commentNodeConfig_initialContents :: forall t_a1dKW. Lens' (CommentNodeConfig t_a1dKW) Text
+ Reflex.Dom.Builder.Class: commentNodeConfig_initialContents :: forall t_a1fwq. Lens' (CommentNodeConfig t_a1fwq) Text
- Reflex.Dom.Builder.Class: elementConfig_eventSpec :: forall er_a1dKR t_a1dKS s_a1dKT er_a1fyG s_a1fyH. Lens (ElementConfig er_a1dKR t_a1dKS s_a1dKT) (ElementConfig er_a1fyG t_a1dKS s_a1fyH) (EventSpec s_a1dKT er_a1dKR) (EventSpec s_a1fyH er_a1fyG)
+ Reflex.Dom.Builder.Class: elementConfig_eventSpec :: forall er_a1fwl t_a1fwm s_a1fwn er_a1hk9 s_a1hka. Lens (ElementConfig er_a1fwl t_a1fwm s_a1fwn) (ElementConfig er_a1hk9 t_a1fwm s_a1hka) (EventSpec s_a1fwn er_a1fwl) (EventSpec s_a1hka er_a1hk9)
- Reflex.Dom.Builder.Class: elementConfig_initialAttributes :: forall er_a1dKR t_a1dKS s_a1dKT. Lens' (ElementConfig er_a1dKR t_a1dKS s_a1dKT) (Map AttributeName Text)
+ Reflex.Dom.Builder.Class: elementConfig_initialAttributes :: forall er_a1fwl t_a1fwm s_a1fwn. Lens' (ElementConfig er_a1fwl t_a1fwm s_a1fwn) (Map AttributeName Text)
- Reflex.Dom.Builder.Class: elementConfig_namespace :: forall er_a1dKR t_a1dKS s_a1dKT. Lens' (ElementConfig er_a1dKR t_a1dKS s_a1dKT) (Maybe Namespace)
+ Reflex.Dom.Builder.Class: elementConfig_namespace :: forall er_a1fwl t_a1fwm s_a1fwn. Lens' (ElementConfig er_a1fwl t_a1fwm s_a1fwn) (Maybe Namespace)
- Reflex.Dom.Builder.Class: inputElementConfig_elementConfig :: forall er_a1dKL t_a1dKM s_a1dKN er_a1fy3 s_a1fy4. Lens (InputElementConfig er_a1dKL t_a1dKM s_a1dKN) (InputElementConfig er_a1fy3 t_a1dKM s_a1fy4) (ElementConfig er_a1dKL t_a1dKM s_a1dKN) (ElementConfig er_a1fy3 t_a1dKM s_a1fy4)
+ Reflex.Dom.Builder.Class: inputElementConfig_elementConfig :: forall er_a1fwf t_a1fwg s_a1fwh er_a1hjw s_a1hjx. Lens (InputElementConfig er_a1fwf t_a1fwg s_a1fwh) (InputElementConfig er_a1hjw t_a1fwg s_a1hjx) (ElementConfig er_a1fwf t_a1fwg s_a1fwh) (ElementConfig er_a1hjw t_a1fwg s_a1hjx)
- Reflex.Dom.Builder.Class: inputElementConfig_initialChecked :: forall er_a1dKL t_a1dKM s_a1dKN. Lens' (InputElementConfig er_a1dKL t_a1dKM s_a1dKN) Bool
+ Reflex.Dom.Builder.Class: inputElementConfig_initialChecked :: forall er_a1fwf t_a1fwg s_a1fwh. Lens' (InputElementConfig er_a1fwf t_a1fwg s_a1fwh) Bool
- Reflex.Dom.Builder.Class: inputElementConfig_initialValue :: forall er_a1dKL t_a1dKM s_a1dKN. Lens' (InputElementConfig er_a1dKL t_a1dKM s_a1dKN) Text
+ Reflex.Dom.Builder.Class: inputElementConfig_initialValue :: forall er_a1fwf t_a1fwg s_a1fwh. Lens' (InputElementConfig er_a1fwf t_a1fwg s_a1fwh) Text
- Reflex.Dom.Builder.Class: rawElementConfig_eventSpec :: forall er_a1dKz t_a1dKA s_a1dKB er_a1fyv s_a1fyw. Lens (RawElementConfig er_a1dKz t_a1dKA s_a1dKB) (RawElementConfig er_a1fyv t_a1dKA s_a1fyw) (EventSpec s_a1dKB er_a1dKz) (EventSpec s_a1fyw er_a1fyv)
+ Reflex.Dom.Builder.Class: rawElementConfig_eventSpec :: forall er_a1fw3 t_a1fw4 s_a1fw5 er_a1hjY s_a1hjZ. Lens (RawElementConfig er_a1fw3 t_a1fw4 s_a1fw5) (RawElementConfig er_a1hjY t_a1fw4 s_a1hjZ) (EventSpec s_a1fw5 er_a1fw3) (EventSpec s_a1hjZ er_a1hjY)
- Reflex.Dom.Builder.Class: selectElementConfig_elementConfig :: forall er_a1dKw t_a1dKx m_a1dKy er_a1fzm m_a1fzn. Lens (SelectElementConfig er_a1dKw t_a1dKx m_a1dKy) (SelectElementConfig er_a1fzm t_a1dKx m_a1fzn) (ElementConfig er_a1dKw t_a1dKx m_a1dKy) (ElementConfig er_a1fzm t_a1dKx m_a1fzn)
+ Reflex.Dom.Builder.Class: selectElementConfig_elementConfig :: forall er_a1fw0 t_a1fw1 m_a1fw2 er_a1hkP m_a1hkQ. Lens (SelectElementConfig er_a1fw0 t_a1fw1 m_a1fw2) (SelectElementConfig er_a1hkP t_a1fw1 m_a1hkQ) (ElementConfig er_a1fw0 t_a1fw1 m_a1fw2) (ElementConfig er_a1hkP t_a1fw1 m_a1hkQ)
- Reflex.Dom.Builder.Class: selectElementConfig_initialValue :: forall er_a1dKw t_a1dKx m_a1dKy. Lens' (SelectElementConfig er_a1dKw t_a1dKx m_a1dKy) Text
+ Reflex.Dom.Builder.Class: selectElementConfig_initialValue :: forall er_a1fw0 t_a1fw1 m_a1fw2. Lens' (SelectElementConfig er_a1fw0 t_a1fw1 m_a1fw2) Text
- Reflex.Dom.Builder.Class: textAreaElementConfig_elementConfig :: forall er_a1dKF t_a1dKG m_a1dKH er_a1fz5 m_a1fz6. Lens (TextAreaElementConfig er_a1dKF t_a1dKG m_a1dKH) (TextAreaElementConfig er_a1fz5 t_a1dKG m_a1fz6) (ElementConfig er_a1dKF t_a1dKG m_a1dKH) (ElementConfig er_a1fz5 t_a1dKG m_a1fz6)
+ Reflex.Dom.Builder.Class: textAreaElementConfig_elementConfig :: forall er_a1fw9 t_a1fwa m_a1fwb er_a1hky m_a1hkz. Lens (TextAreaElementConfig er_a1fw9 t_a1fwa m_a1fwb) (TextAreaElementConfig er_a1hky t_a1fwa m_a1hkz) (ElementConfig er_a1fw9 t_a1fwa m_a1fwb) (ElementConfig er_a1hky t_a1fwa m_a1hkz)
- Reflex.Dom.Builder.Class: textAreaElementConfig_initialValue :: forall er_a1dKF t_a1dKG m_a1dKH. Lens' (TextAreaElementConfig er_a1dKF t_a1dKG m_a1dKH) Text
+ Reflex.Dom.Builder.Class: textAreaElementConfig_initialValue :: forall er_a1fw9 t_a1fwa m_a1fwb. Lens' (TextAreaElementConfig er_a1fw9 t_a1fwa m_a1fwb) Text
- Reflex.Dom.Builder.Class: textNodeConfig_initialContents :: forall t_a1dKZ. Lens' (TextNodeConfig t_a1dKZ) Text
+ Reflex.Dom.Builder.Class: textNodeConfig_initialContents :: forall t_a1fwt. Lens' (TextNodeConfig t_a1fwt) Text
- Reflex.Dom.Builder.Immediate: ghcjsEventSpec_filters :: forall er_a1wa8. Lens' (GhcjsEventSpec er_a1wa8) (DMap EventName (GhcjsEventFilter er_a1wa8))
+ Reflex.Dom.Builder.Immediate: ghcjsEventSpec_filters :: forall er_a1xX1. Lens' (GhcjsEventSpec er_a1xX1) (DMap EventName (GhcjsEventFilter er_a1xX1))
- Reflex.Dom.Builder.Immediate: ghcjsEventSpec_handler :: forall er_a1wa8. Lens' (GhcjsEventSpec er_a1wa8) (GhcjsEventHandler er_a1wa8)
+ Reflex.Dom.Builder.Immediate: ghcjsEventSpec_handler :: forall er_a1xX1. Lens' (GhcjsEventSpec er_a1xX1) (GhcjsEventHandler er_a1xX1)
- Reflex.Dom.Old: elConfig_attributes :: forall attrs_a3jHc attrs_a3jIh. Lens (ElConfig attrs_a3jHc) (ElConfig attrs_a3jIh) attrs_a3jHc attrs_a3jIh
+ Reflex.Dom.Old: elConfig_attributes :: forall attrs_a3lO1 attrs_a3lP6. Lens (ElConfig attrs_a3lO1) (ElConfig attrs_a3lP6) attrs_a3lO1 attrs_a3lP6
- Reflex.Dom.Old: elConfig_namespace :: forall attrs_a3jHc. Lens' (ElConfig attrs_a3jHc) (Maybe Text)
+ Reflex.Dom.Old: elConfig_namespace :: forall attrs_a3lO1. Lens' (ElConfig attrs_a3lO1) (Maybe Text)
- Reflex.Dom.WebSocket: webSocketConfig_close :: forall t_a38pS a_a38pT. Lens' (WebSocketConfig t_a38pS a_a38pT) (Event t_a38pS (Word, Text))
+ Reflex.Dom.WebSocket: webSocketConfig_close :: forall t_a3aqX a_a3aqY. Lens' (WebSocketConfig t_a3aqX a_a3aqY) (Event t_a3aqX (Word, Text))
- Reflex.Dom.WebSocket: webSocketConfig_protocols :: forall t_a38pS a_a38pT. Lens' (WebSocketConfig t_a38pS a_a38pT) [Text]
+ Reflex.Dom.WebSocket: webSocketConfig_protocols :: forall t_a3aqX a_a3aqY. Lens' (WebSocketConfig t_a3aqX a_a3aqY) [Text]
- Reflex.Dom.WebSocket: webSocketConfig_reconnect :: forall t_a38pS a_a38pT. Lens' (WebSocketConfig t_a38pS a_a38pT) Bool
+ Reflex.Dom.WebSocket: webSocketConfig_reconnect :: forall t_a3aqX a_a3aqY. Lens' (WebSocketConfig t_a3aqX a_a3aqY) Bool
- Reflex.Dom.WebSocket: webSocketConfig_send :: forall t_a38pS a_a38pT. Lens' (WebSocketConfig t_a38pS a_a38pT) (Event t_a38pS [a_a38pT])
+ Reflex.Dom.WebSocket: webSocketConfig_send :: forall t_a3aqX a_a3aqY. Lens' (WebSocketConfig t_a3aqX a_a3aqY) (Event t_a3aqX [a_a3aqY])
- Reflex.Dom.WebSocket: webSocket_close :: forall t_a38pP a_a38pQ. Lens' (RawWebSocket t_a38pP a_a38pQ) (Event t_a38pP (Bool, Word, Text))
+ Reflex.Dom.WebSocket: webSocket_close :: forall t_a3aqU a_a3aqV. Lens' (RawWebSocket t_a3aqU a_a3aqV) (Event t_a3aqU (Bool, Word, Text))
- Reflex.Dom.WebSocket: webSocket_error :: forall t_a38pP a_a38pQ. Lens' (RawWebSocket t_a38pP a_a38pQ) (Event t_a38pP ())
+ Reflex.Dom.WebSocket: webSocket_error :: forall t_a3aqU a_a3aqV. Lens' (RawWebSocket t_a3aqU a_a3aqV) (Event t_a3aqU ())
- Reflex.Dom.WebSocket: webSocket_open :: forall t_a38pP a_a38pQ. Lens' (RawWebSocket t_a38pP a_a38pQ) (Event t_a38pP ())
+ Reflex.Dom.WebSocket: webSocket_open :: forall t_a3aqU a_a3aqV. Lens' (RawWebSocket t_a3aqU a_a3aqV) (Event t_a3aqU ())
- Reflex.Dom.WebSocket: webSocket_recv :: forall t_a38pP a_a38pQ. Lens' (RawWebSocket t_a38pP a_a38pQ) (Event t_a38pP a_a38pQ)
+ Reflex.Dom.WebSocket: webSocket_recv :: forall t_a3aqU a_a3aqV. Lens' (RawWebSocket t_a3aqU a_a3aqV) (Event t_a3aqU a_a3aqV)
- Reflex.Dom.WebSocket.Query: cropQueryT :: (Reflex t, MonadHold t m, MonadFix m, Query q, Additive q, Group q, Eq q) => QueryT t q m a -> Event t (QueryResult q) -> m (a, Dynamic t q)
+ Reflex.Dom.WebSocket.Query: cropQueryT :: (Reflex t, MonadHold t m, MonadFix m, Query q, Commutative q, Group q, Eq q) => QueryT t q m a -> Event t (QueryResult q) -> m (a, Dynamic t q)
- Reflex.Dom.WebSocket.Query: runWebSocketQuery :: (MonadJSM m, MonadJSM (Performable m), PostBuild t m, TriggerEvent t m, PerformEvent t m, MonadHold t m, Reflex t, ToJSON q, MonadFix m, Query q, FromJSON (QueryResult q), Additive q, Group q, Eq q) => QueryT t q m a -> Text -> m a
+ Reflex.Dom.WebSocket.Query: runWebSocketQuery :: (MonadJSM m, MonadJSM (Performable m), PostBuild t m, TriggerEvent t m, PerformEvent t m, MonadHold t m, Reflex t, ToJSON q, MonadFix m, Query q, FromJSON (QueryResult q), Commutative q, Group q, Eq q) => QueryT t q m a -> Text -> m a
- Reflex.Dom.Widget.Input: checkboxConfig_attributes :: forall t_a3pUg. Lens' (CheckboxConfig t_a3pUg) (Dynamic t_a3pUg (Map Text Text))
+ Reflex.Dom.Widget.Input: checkboxConfig_attributes :: forall t_a3s1F. Lens' (CheckboxConfig t_a3s1F) (Dynamic t_a3s1F (Map Text Text))
- Reflex.Dom.Widget.Input: checkboxConfig_setValue :: forall t_a3pUg. Lens' (CheckboxConfig t_a3pUg) (Event t_a3pUg Bool)
+ Reflex.Dom.Widget.Input: checkboxConfig_setValue :: forall t_a3s1F. Lens' (CheckboxConfig t_a3s1F) (Event t_a3s1F Bool)
- Reflex.Dom.Widget.Input: checkbox_change :: forall t_a3pUf. Lens' (Checkbox t_a3pUf) (Event t_a3pUf Bool)
+ Reflex.Dom.Widget.Input: checkbox_change :: forall t_a3s1E. Lens' (Checkbox t_a3s1E) (Event t_a3s1E Bool)
- Reflex.Dom.Widget.Input: checkbox_value :: forall t_a3pUf. Lens' (Checkbox t_a3pUf) (Dynamic t_a3pUf Bool)
+ Reflex.Dom.Widget.Input: checkbox_value :: forall t_a3s1E. Lens' (Checkbox t_a3s1E) (Dynamic t_a3s1E Bool)
- Reflex.Dom.Widget.Input: dropdownConfig_attributes :: forall t_a3pU5 k_a3pU6. Lens' (DropdownConfig t_a3pU5 k_a3pU6) (Dynamic t_a3pU5 (Map Text Text))
+ Reflex.Dom.Widget.Input: dropdownConfig_attributes :: forall t_a3s1u k_a3s1v. Lens' (DropdownConfig t_a3s1u k_a3s1v) (Dynamic t_a3s1u (Map Text Text))
- Reflex.Dom.Widget.Input: dropdownConfig_setValue :: forall t_a3pU5 k_a3pU6 k_a3rnl. Lens (DropdownConfig t_a3pU5 k_a3pU6) (DropdownConfig t_a3pU5 k_a3rnl) (Event t_a3pU5 k_a3pU6) (Event t_a3pU5 k_a3rnl)
+ Reflex.Dom.Widget.Input: dropdownConfig_setValue :: forall t_a3s1u k_a3s1v k_a3tuG. Lens (DropdownConfig t_a3s1u k_a3s1v) (DropdownConfig t_a3s1u k_a3tuG) (Event t_a3s1u k_a3s1v) (Event t_a3s1u k_a3tuG)
- Reflex.Dom.Widget.Input: dropdown_change :: forall t_a3pU7 k_a3pU8. Lens' (Dropdown t_a3pU7 k_a3pU8) (Event t_a3pU7 k_a3pU8)
+ Reflex.Dom.Widget.Input: dropdown_change :: forall t_a3s1w k_a3s1x. Lens' (Dropdown t_a3s1w k_a3s1x) (Event t_a3s1w k_a3s1x)
- Reflex.Dom.Widget.Input: dropdown_value :: forall t_a3pU7 k_a3pU8. Lens' (Dropdown t_a3pU7 k_a3pU8) (Dynamic t_a3pU7 k_a3pU8)
+ Reflex.Dom.Widget.Input: dropdown_value :: forall t_a3s1w k_a3s1x. Lens' (Dropdown t_a3s1w k_a3s1x) (Dynamic t_a3s1w k_a3s1x)
- Reflex.Dom.Widget.Input: fileInputConfig_attributes :: forall t_a3pU9 t_a3rn2. Iso (FileInputConfig t_a3pU9) (FileInputConfig t_a3rn2) (Dynamic t_a3pU9 (Map Text Text)) (Dynamic t_a3rn2 (Map Text Text))
+ Reflex.Dom.Widget.Input: fileInputConfig_attributes :: forall t_a3s1y t_a3tun. Iso (FileInputConfig t_a3s1y) (FileInputConfig t_a3tun) (Dynamic t_a3s1y (Map Text Text)) (Dynamic t_a3tun (Map Text Text))
- Reflex.Dom.Widget.Input: fileInput_element :: forall d_a3pUa t_a3pUb d_a3rn8. Lens (FileInput d_a3pUa t_a3pUb) (FileInput d_a3rn8 t_a3pUb) (RawInputElement d_a3pUa) (RawInputElement d_a3rn8)
+ Reflex.Dom.Widget.Input: fileInput_element :: forall d_a3s1z t_a3s1A d_a3tut. Lens (FileInput d_a3s1z t_a3s1A) (FileInput d_a3tut t_a3s1A) (RawInputElement d_a3s1z) (RawInputElement d_a3tut)
- Reflex.Dom.Widget.Input: fileInput_value :: forall d_a3pUa t_a3pUb t_a3rn9. Lens (FileInput d_a3pUa t_a3pUb) (FileInput d_a3pUa t_a3rn9) (Dynamic t_a3pUb [File]) (Dynamic t_a3rn9 [File])
+ Reflex.Dom.Widget.Input: fileInput_value :: forall d_a3s1z t_a3s1A t_a3tuu. Lens (FileInput d_a3s1z t_a3s1A) (FileInput d_a3s1z t_a3tuu) (Dynamic t_a3s1A [File]) (Dynamic t_a3tuu [File])
- Reflex.Dom.Widget.Input: rangeInputConfig_attributes :: forall t_a3pUk. Lens' (RangeInputConfig t_a3pUk) (Dynamic t_a3pUk (Map Text Text))
+ Reflex.Dom.Widget.Input: rangeInputConfig_attributes :: forall t_a3s1J. Lens' (RangeInputConfig t_a3s1J) (Dynamic t_a3s1J (Map Text Text))
- Reflex.Dom.Widget.Input: rangeInputConfig_initialValue :: forall t_a3pUk. Lens' (RangeInputConfig t_a3pUk) Float
+ Reflex.Dom.Widget.Input: rangeInputConfig_initialValue :: forall t_a3s1J. Lens' (RangeInputConfig t_a3s1J) Float
- Reflex.Dom.Widget.Input: rangeInputConfig_setValue :: forall t_a3pUk. Lens' (RangeInputConfig t_a3pUk) (Event t_a3pUk Float)
+ Reflex.Dom.Widget.Input: rangeInputConfig_setValue :: forall t_a3s1J. Lens' (RangeInputConfig t_a3s1J) (Event t_a3s1J Float)
- Reflex.Dom.Widget.Input: rangeInput_element :: forall t_a3pUj. Lens' (RangeInput t_a3pUj) HTMLInputElement
+ Reflex.Dom.Widget.Input: rangeInput_element :: forall t_a3s1I. Lens' (RangeInput t_a3s1I) HTMLInputElement
- Reflex.Dom.Widget.Input: rangeInput_hasFocus :: forall t_a3pUj. Lens' (RangeInput t_a3pUj) (Dynamic t_a3pUj Bool)
+ Reflex.Dom.Widget.Input: rangeInput_hasFocus :: forall t_a3s1I. Lens' (RangeInput t_a3s1I) (Dynamic t_a3s1I Bool)
- Reflex.Dom.Widget.Input: rangeInput_input :: forall t_a3pUj. Lens' (RangeInput t_a3pUj) (Event t_a3pUj Float)
+ Reflex.Dom.Widget.Input: rangeInput_input :: forall t_a3s1I. Lens' (RangeInput t_a3s1I) (Event t_a3s1I Float)
- Reflex.Dom.Widget.Input: rangeInput_mouseup :: forall t_a3pUj. Lens' (RangeInput t_a3pUj) (Event t_a3pUj (Int, Int))
+ Reflex.Dom.Widget.Input: rangeInput_mouseup :: forall t_a3s1I. Lens' (RangeInput t_a3s1I) (Event t_a3s1I (Int, Int))
- Reflex.Dom.Widget.Input: rangeInput_value :: forall t_a3pUj. Lens' (RangeInput t_a3pUj) (Dynamic t_a3pUj Float)
+ Reflex.Dom.Widget.Input: rangeInput_value :: forall t_a3s1I. Lens' (RangeInput t_a3s1I) (Dynamic t_a3s1I Float)
- Reflex.Dom.Widget.Input: textAreaConfig_attributes :: forall t_a3pUi. Lens' (TextAreaConfig t_a3pUi) (Dynamic t_a3pUi (Map Text Text))
+ Reflex.Dom.Widget.Input: textAreaConfig_attributes :: forall t_a3s1H. Lens' (TextAreaConfig t_a3s1H) (Dynamic t_a3s1H (Map Text Text))
- Reflex.Dom.Widget.Input: textAreaConfig_initialValue :: forall t_a3pUi. Lens' (TextAreaConfig t_a3pUi) Text
+ Reflex.Dom.Widget.Input: textAreaConfig_initialValue :: forall t_a3s1H. Lens' (TextAreaConfig t_a3s1H) Text
- Reflex.Dom.Widget.Input: textAreaConfig_setValue :: forall t_a3pUi. Lens' (TextAreaConfig t_a3pUi) (Event t_a3pUi Text)
+ Reflex.Dom.Widget.Input: textAreaConfig_setValue :: forall t_a3s1H. Lens' (TextAreaConfig t_a3s1H) (Event t_a3s1H Text)
- Reflex.Dom.Widget.Input: textArea_element :: forall t_a3pUh. Lens' (TextArea t_a3pUh) HTMLTextAreaElement
+ Reflex.Dom.Widget.Input: textArea_element :: forall t_a3s1G. Lens' (TextArea t_a3s1G) HTMLTextAreaElement
- Reflex.Dom.Widget.Input: textArea_hasFocus :: forall t_a3pUh. Lens' (TextArea t_a3pUh) (Dynamic t_a3pUh Bool)
+ Reflex.Dom.Widget.Input: textArea_hasFocus :: forall t_a3s1G. Lens' (TextArea t_a3s1G) (Dynamic t_a3s1G Bool)
- Reflex.Dom.Widget.Input: textArea_input :: forall t_a3pUh. Lens' (TextArea t_a3pUh) (Event t_a3pUh Text)
+ Reflex.Dom.Widget.Input: textArea_input :: forall t_a3s1G. Lens' (TextArea t_a3s1G) (Event t_a3s1G Text)
- Reflex.Dom.Widget.Input: textArea_keypress :: forall t_a3pUh. Lens' (TextArea t_a3pUh) (Event t_a3pUh Word)
+ Reflex.Dom.Widget.Input: textArea_keypress :: forall t_a3s1G. Lens' (TextArea t_a3s1G) (Event t_a3s1G Word)
- Reflex.Dom.Widget.Input: textArea_value :: forall t_a3pUh. Lens' (TextArea t_a3pUh) (Dynamic t_a3pUh Text)
+ Reflex.Dom.Widget.Input: textArea_value :: forall t_a3s1G. Lens' (TextArea t_a3s1G) (Dynamic t_a3s1G Text)
- Reflex.Dom.Widget.Input: textInputConfig_attributes :: forall t_a3pUl. Lens' (TextInputConfig t_a3pUl) (Dynamic t_a3pUl (Map Text Text))
+ Reflex.Dom.Widget.Input: textInputConfig_attributes :: forall t_a3s1K. Lens' (TextInputConfig t_a3s1K) (Dynamic t_a3s1K (Map Text Text))
- Reflex.Dom.Widget.Input: textInputConfig_initialValue :: forall t_a3pUl. Lens' (TextInputConfig t_a3pUl) Text
+ Reflex.Dom.Widget.Input: textInputConfig_initialValue :: forall t_a3s1K. Lens' (TextInputConfig t_a3s1K) Text
- Reflex.Dom.Widget.Input: textInputConfig_inputType :: forall t_a3pUl. Lens' (TextInputConfig t_a3pUl) Text
+ Reflex.Dom.Widget.Input: textInputConfig_inputType :: forall t_a3s1K. Lens' (TextInputConfig t_a3s1K) Text
- Reflex.Dom.Widget.Input: textInputConfig_setValue :: forall t_a3pUl. Lens' (TextInputConfig t_a3pUl) (Event t_a3pUl Text)
+ Reflex.Dom.Widget.Input: textInputConfig_setValue :: forall t_a3s1K. Lens' (TextInputConfig t_a3s1K) (Event t_a3s1K Text)
- Reflex.Dom.Widget.Input: textInput_builderElement :: forall t_a3pUm. Lens' (TextInput t_a3pUm) (InputElement EventResult GhcjsDomSpace t_a3pUm)
+ Reflex.Dom.Widget.Input: textInput_builderElement :: forall t_a3s1L. Lens' (TextInput t_a3s1L) (InputElement EventResult GhcjsDomSpace t_a3s1L)
- Reflex.Dom.Widget.Input: textInput_hasFocus :: forall t_a3pUm. Lens' (TextInput t_a3pUm) (Dynamic t_a3pUm Bool)
+ Reflex.Dom.Widget.Input: textInput_hasFocus :: forall t_a3s1L. Lens' (TextInput t_a3s1L) (Dynamic t_a3s1L Bool)
- Reflex.Dom.Widget.Input: textInput_input :: forall t_a3pUm. Lens' (TextInput t_a3pUm) (Event t_a3pUm Text)
+ Reflex.Dom.Widget.Input: textInput_input :: forall t_a3s1L. Lens' (TextInput t_a3s1L) (Event t_a3s1L Text)
- Reflex.Dom.Widget.Input: textInput_keydown :: forall t_a3pUm. Lens' (TextInput t_a3pUm) (Event t_a3pUm Word)
+ Reflex.Dom.Widget.Input: textInput_keydown :: forall t_a3s1L. Lens' (TextInput t_a3s1L) (Event t_a3s1L Word)
- Reflex.Dom.Widget.Input: textInput_keypress :: forall t_a3pUm. Lens' (TextInput t_a3pUm) (Event t_a3pUm Word)
+ Reflex.Dom.Widget.Input: textInput_keypress :: forall t_a3s1L. Lens' (TextInput t_a3s1L) (Event t_a3s1L Word)
- Reflex.Dom.Widget.Input: textInput_keyup :: forall t_a3pUm. Lens' (TextInput t_a3pUm) (Event t_a3pUm Word)
+ Reflex.Dom.Widget.Input: textInput_keyup :: forall t_a3s1L. Lens' (TextInput t_a3s1L) (Event t_a3s1L Word)
- Reflex.Dom.Widget.Input: textInput_value :: forall t_a3pUm. Lens' (TextInput t_a3pUm) (Dynamic t_a3pUm Text)
+ Reflex.Dom.Widget.Input: textInput_value :: forall t_a3s1L. Lens' (TextInput t_a3s1L) (Dynamic t_a3s1L Text)
- Reflex.Dom.Xhr: xhrRequestConfig_headers :: forall a_a3MCg. Lens' (XhrRequestConfig a_a3MCg) (Map Text Text)
+ Reflex.Dom.Xhr: xhrRequestConfig_headers :: forall a_a3OLb. Lens' (XhrRequestConfig a_a3OLb) (Map Text Text)
- Reflex.Dom.Xhr: xhrRequestConfig_password :: forall a_a3MCg. Lens' (XhrRequestConfig a_a3MCg) (Maybe Text)
+ Reflex.Dom.Xhr: xhrRequestConfig_password :: forall a_a3OLb. Lens' (XhrRequestConfig a_a3OLb) (Maybe Text)
- Reflex.Dom.Xhr: xhrRequestConfig_responseHeaders :: forall a_a3MCg. Lens' (XhrRequestConfig a_a3MCg) XhrResponseHeaders
+ Reflex.Dom.Xhr: xhrRequestConfig_responseHeaders :: forall a_a3OLb. Lens' (XhrRequestConfig a_a3OLb) XhrResponseHeaders
- Reflex.Dom.Xhr: xhrRequestConfig_responseType :: forall a_a3MCg. Lens' (XhrRequestConfig a_a3MCg) (Maybe XhrResponseType)
+ Reflex.Dom.Xhr: xhrRequestConfig_responseType :: forall a_a3OLb. Lens' (XhrRequestConfig a_a3OLb) (Maybe XhrResponseType)
- Reflex.Dom.Xhr: xhrRequestConfig_sendData :: forall a_a3MCg a_a3NZd. Lens (XhrRequestConfig a_a3MCg) (XhrRequestConfig a_a3NZd) a_a3MCg a_a3NZd
+ Reflex.Dom.Xhr: xhrRequestConfig_sendData :: forall a_a3OLb a_a3Q88. Lens (XhrRequestConfig a_a3OLb) (XhrRequestConfig a_a3Q88) a_a3OLb a_a3Q88
- Reflex.Dom.Xhr: xhrRequestConfig_user :: forall a_a3MCg. Lens' (XhrRequestConfig a_a3MCg) (Maybe Text)
+ Reflex.Dom.Xhr: xhrRequestConfig_user :: forall a_a3OLb. Lens' (XhrRequestConfig a_a3OLb) (Maybe Text)
- Reflex.Dom.Xhr: xhrRequestConfig_withCredentials :: forall a_a3MCg. Lens' (XhrRequestConfig a_a3MCg) Bool
+ Reflex.Dom.Xhr: xhrRequestConfig_withCredentials :: forall a_a3OLb. Lens' (XhrRequestConfig a_a3OLb) Bool
- Reflex.Dom.Xhr: xhrRequest_config :: forall a_a3MCh a_a3NYW. Lens (XhrRequest a_a3MCh) (XhrRequest a_a3NYW) (XhrRequestConfig a_a3MCh) (XhrRequestConfig a_a3NYW)
+ Reflex.Dom.Xhr: xhrRequest_config :: forall a_a3OLc a_a3Q7R. Lens (XhrRequest a_a3OLc) (XhrRequest a_a3Q7R) (XhrRequestConfig a_a3OLc) (XhrRequestConfig a_a3Q7R)
- Reflex.Dom.Xhr: xhrRequest_method :: forall a_a3MCh. Lens' (XhrRequest a_a3MCh) Text
+ Reflex.Dom.Xhr: xhrRequest_method :: forall a_a3OLc. Lens' (XhrRequest a_a3OLc) Text
- Reflex.Dom.Xhr: xhrRequest_url :: forall a_a3MCh. Lens' (XhrRequest a_a3MCh) Text
+ Reflex.Dom.Xhr: xhrRequest_url :: forall a_a3OLc. Lens' (XhrRequest a_a3OLc) Text
Files
- ChangeLog.md +4/−0
- reflex-dom-core.cabal +8/−7
- src/Reflex/Dom/Builder/Class.hs +2/−1
- src/Reflex/Dom/Prerender.hs +2/−1
- src/Reflex/Dom/WebSocket/Query.hs +3/−2
- test/hlint.hs +1/−0
ChangeLog.md view
@@ -1,5 +1,9 @@ # Revision history for reflex-dom-core +## 0.7.0.2++* Require reflex >= 0.8.2.1 and switch to `commutative-semigroups`+ ## 0.7.0.1 * Add a variant of `postForms` that allows the `XhrRequestConfig` to be specified.
reflex-dom-core.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.24 Name: reflex-dom-core-Version: 0.7.0.1+Version: 0.7.0.2 Synopsis: Functional Reactive Web Apps with Reflex Description: Web applications without callbacks or side-effects.@@ -67,13 +67,14 @@ library hs-source-dirs: src build-depends:- aeson >= 0.8 && < 1.6,+ aeson >= 0.8 && < 2.1, base >= 4.7 && < 4.15, bifunctors >= 4.2 && < 6, bimap >= 0.3 && < 0.5, blaze-builder >= 0.4.1 && < 0.5, bytestring == 0.10.*, case-insensitive < 1.3,+ commutative-semigroups >=0.1 && <0.2, containers >= 0.6 && < 0.7, constraints >= 0.9 && < 0.13, contravariant >= 1.4 && < 1.6,@@ -87,13 +88,13 @@ jsaddle >= 0.9.0.0 && < 0.10, -- keycode-0.2 has a bug on firefox keycode >= 0.2.1 && < 0.3,- lens >= 4.7 && < 5,+ lens >= 4.7 && < 5.1, monad-control >= 1.0.1 && < 1.1, mtl >= 2.1 && < 2.3, primitive >= 0.5 && < 0.8,- random >= 1.1 && < 1.2,+ random >= 1.1 && < 1.3, ref-tf == 0.4.*,- reflex >= 0.8 && < 0.9,+ reflex >= 0.8.2.1 && < 0.9, semigroups >= 0.16 && < 0.20, stm >= 2.4 && < 2.6, text == 1.2.*,@@ -113,8 +114,8 @@ if flag(split-these) build-depends:- semialign >= 1 && < 1.2,- these >= 1 && < 1.2+ semialign >= 1 && < 1.3,+ these >= 1 && < 1.3 else build-depends: these >= 0.4 && < 0.9
src/Reflex/Dom/Builder/Class.hs view
@@ -58,6 +58,7 @@ import Data.Maybe import Data.Proxy import Data.Semigroup+import Data.Semigroup.Commutative import Data.String import Data.Text (Text) import Data.Type.Coercion@@ -618,7 +619,7 @@ placeRawElement = lift . placeRawElement wrapRawElement e = lift . wrapRawElement e -instance (DomBuilder t m, MonadFix m, MonadHold t m, Group q, Query q, Additive q, Eq q) => DomBuilder t (QueryT t q m) where+instance (DomBuilder t m, MonadFix m, MonadHold t m, Group q, Query q, Commutative q, Eq q) => DomBuilder t (QueryT t q m) where type DomBuilderSpace (QueryT t q m) = DomBuilderSpace m textNode = liftTextNode commentNode = liftCommentNode
src/Reflex/Dom/Prerender.hs view
@@ -27,6 +27,7 @@ import Control.Monad.Ref (MonadRef(..), MonadAtomicRef(..)) import Data.IORef (IORef, newIORef) import Data.Semigroup (Semigroup)+import Data.Semigroup.Commutative import Data.Text (Text) import Data.Void import Foreign.JavaScript.TH@@ -246,7 +247,7 @@ responses <- fmap (fmapCheap unMultiEntry) $ requesting' $ fmapCheap multiEntry $ switchPromptlyDyn requestsDyn return result -instance (Prerender t m, Monad m, Reflex t, MonadFix m, Group q, Additive q, Query q, Eq q) => Prerender t (QueryT t q m) where+instance (Prerender t m, Monad m, Reflex t, MonadFix m, Group q, Commutative q, Query q, Eq q) => Prerender t (QueryT t q m) where type Client (QueryT t q m) = QueryT t q (Client m) prerender server client = mdo result <- queryDyn query
src/Reflex/Dom/WebSocket/Query.hs view
@@ -4,6 +4,7 @@ import Data.Default import Control.Monad.Fix+import Data.Semigroup.Commutative import Data.Text (Text) import Data.Aeson import Reflex@@ -11,7 +12,7 @@ import Data.Maybe import Language.Javascript.JSaddle.Types (MonadJSM) -runWebSocketQuery :: (MonadJSM m, MonadJSM (Performable m), PostBuild t m, TriggerEvent t m, PerformEvent t m, MonadHold t m, Reflex t, ToJSON q, MonadFix m, Query q, FromJSON (QueryResult q), Additive q, Group q, Eq q)+runWebSocketQuery :: (MonadJSM m, MonadJSM (Performable m), PostBuild t m, TriggerEvent t m, PerformEvent t m, MonadHold t m, Reflex t, ToJSON q, MonadFix m, Query q, FromJSON (QueryResult q), Commutative q, Group q, Eq q) => QueryT t q m a -> Text -- ^ WebSocket url -> m a@@ -22,7 +23,7 @@ let updatedRequest = leftmost [updated request, tag (current request) postBuild] return a -cropQueryT :: (Reflex t, MonadHold t m, MonadFix m, Query q, Additive q, Group q, Eq q)+cropQueryT :: (Reflex t, MonadHold t m, MonadFix m, Query q, Commutative q, Group q, Eq q) => QueryT t q m a -> Event t (QueryResult q) -> m (a, Dynamic t q)
test/hlint.hs view
@@ -21,6 +21,7 @@ , "--ignore=Use <$>" , "--ignore=Reduce duplication" --TODO: Re-enable this test , "--ignore=Use list comprehension"+ , "--ignore=Evaluate" , "--cpp-define=USE_TEMPLATE_HASKELL" ] if null ideas then exitSuccess else exitFailure