Skip to content
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

add -Xsource:3 option #682

Merged
merged 2 commits into from
Sep 16, 2023
Merged

add -Xsource:3 option #682

merged 2 commits into from
Sep 16, 2023

Conversation

xuwei-k
Copy link
Collaborator

@xuwei-k xuwei-k commented Sep 16, 2023

No description provided.

@github-actions
Copy link

diff --git a/org.atnos.site.CreateEffects.html b/org.atnos.site.CreateEffects.html
index a3f84f1..faedfc1 100644
--- a/org.atnos.site.CreateEffects.html
+++ b/org.atnos.site.CreateEffects.html
@@ -350,7 +350,7 @@ an Effect for a new “optional” type.</p>
 
     def runMaybe[R, U, A, B](effect: Eff[R, A])(implicit m: Member.Aux[Maybe, R, U]): Eff[U, Option[A]] =
       recurse(effect)(new Recurser[Maybe, U, A, Option[A]] {
-        def onPure(a: A) = Some(a)
+        def onPure(a: A): Option[A] = Some(a)
 
         def onEffect[X](m: Maybe[X]): X Either Eff[U, Option[A]] =
           m match {

@xuwei-k xuwei-k merged commit d235f99 into atnos-org:master Sep 16, 2023
10 checks passed
@xuwei-k xuwei-k deleted the Xsource-3 branch September 16, 2023 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant