-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small example /pages/api endpoint using node-http #7
base: master
Are you sure you want to change the base?
Conversation
-- _sayHi :: String -> Aff String | ||
-- _sayHi name = do | ||
-- delay $ Milliseconds 100.0 | ||
-- pure $ "hello " <> name | ||
-- sayHiDelayed :: String -> Effect (Promise String) | ||
-- sayHiDelayed name = fromAff $ _sayHi name | ||
-- sayHiNow :: EffectFn1 String (Promise String) | ||
-- sayHiNow = mkEffectFn1 sayHiDelayed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this testing code? Can it be removed?
@@ -59,7 +59,7 @@ mkHome = do | |||
, children: | |||
[ R.img | |||
{ className: "shadow-2xl" | |||
, src: "https://source.unsplash.com/IuLgi9PWETU" | |||
, src: "https://source.unsplash.com/cvBBO4PzWPg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My coffee! 😲
@@ -59,7 +59,7 @@ mkHome = do | |||
, children: | |||
[ R.img | |||
{ className: "shadow-2xl" | |||
, src: "https://source.unsplash.com/IuLgi9PWETU" | |||
, src: "https://source.unsplash.com/cvBBO4PzWPg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, src: "https://source.unsplash.com/cvBBO4PzWPg" | |
, src: "https://source.unsplash.com/tU3Bl2If2RM" |
No description provided.