Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 583 Bytes

File metadata and controls

12 lines (8 loc) · 583 Bytes

Node ReadLine and Aff

To use receive input from a user via the terminal, we need to use Node.ReadLine's API. However, using the Effect monad for this will not work as expected. Thus, we will be forced to use Aff.

In this folder, we'll cover more of Aff in the context of Node.ReadLine but we will not cover both in all of their complexity. For a deeper explanation of Aff, see this video

Compilation Instructions

spago run -m ConsoleLessons.ReadLine.Effect
spago run -m ConsoleLessons.ReadLine.AffMonad