We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c71def7 commit fc9f330Copy full SHA for fc9f330
src/React/Basic/Hooks/Internal.purs
@@ -129,8 +129,8 @@ unsafeRenderEffect = Render
129
130
-- | Type alias used to lift otherwise pure functionality into the Render type.
131
-- | Not commonly used.
132
-type Pure a
133
- = forall hooks. Render hooks hooks a
+type Pure (a :: Type)
+ = forall (hooks :: Type). Render hooks hooks a
134
135
-- | Type alias for Render representing a hook.
136
-- |
@@ -192,4 +192,4 @@ type HookApply hooks (newHook :: Type -> Type)
192
-- | type UseCustomHook hooks = UseEffect String (UseState Int hooks)
193
-- | type UseCustomHook' = UseState Int & UseEffect String
194
-- | ```
195
-infixl 0 type HookApply as &
+infixl 0 type HookApply as &
0 commit comments