Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

for-comprehensions without _ <- x and without yield #21

Closed
@puffnfresh

Description

@puffnfresh

This would be cool:

for {
  IO.putStrLn("Hello")
  line <- IO.readLine
  IO.putStrLn(line)
} yield ()

This would be even cooler:

for {
  IO.putStrLn("Hello")
  line <- IO.readLine
  IO.putStrLn(line)
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions