Skip to content

Consistent notation in docs for single effect vs multiple effects #283

Description

@BruceEckel

For consistency, I recommend using the {} ONLY when you have multiple effects. For example, instead of:

def readAndParseGuess(): Result[String, Int32] \ {Guess} = ???

def gameLoop(secret: Int32): Unit \ {Guess, Terminal} = ???

I suggest always leaving the {} off for single effects, like this:

def readAndParseGuess(): Result[String, Int32] \ Guess = ???

def gameLoop(secret: Int32): Unit \ {Guess, Terminal} = ???

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions