From 512859a35cf5a95da4d64460b73e696a4f4e7227 Mon Sep 17 00:00:00 2001 From: Alex Mouton Date: Tue, 1 Oct 2024 14:35:41 -0700 Subject: [PATCH] Fix HookApply example --- src/React/Basic/Hooks/Internal.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/React/Basic/Hooks/Internal.purs b/src/React/Basic/Hooks/Internal.purs index b3f30aa..f502ff7 100644 --- a/src/React/Basic/Hooks/Internal.purs +++ b/src/React/Basic/Hooks/Internal.purs @@ -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 & \ No newline at end of file pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy