Skip to content

Breaking type signatures across multiple lines #4

@garyb

Description

@garyb

If you're going to do this to prevent excessively long lines, do it like this:

logShow
  :: forall a eff
   . Show a 
  => a 
  -> Eff (console :: CONSOLE | eff) Unit

So the type starts indented on the next line and each line starts with the symbol.

Unicode version:

logShow
    a eff
  . Show a 
   a 
   Eff (console :: CONSOLE | eff) Unit
logShow a = log (show a)

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