Skip to content

Commit

Permalink
Fix HookApply example (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMouton authored Oct 1, 2024
1 parent 7c85104 commit be0133c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/React/Basic/Hooks/Internal.purs
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,6 @@ type HookApply hooks (newHook :: Type -> Type)
--| order they appear when actually used in do-notation.
--| ```purescript
--| type UseCustomHook hooks = UseEffect String (UseState Int hooks)
--| type UseCustomHook' = UseState Int & UseEffect String
--| type UseCustomHook' hooks = hooks & UseState Int & UseEffect String
--| ```
infixl 0 type HookApply as &

0 comments on commit be0133c

Please sign in to comment.