CopyrightCopyright (C) 2017 Johannes Hartmann
LicenseMIT
MaintainerJohannes Hartmann <ec17512@qmul.ac.uk>
Stabilityprovisional
Portabilitystable
Safe HaskellSafe

IOActionModule

Description

This module provides all the necessary functions for handling the user interaction

Written by Johannes Hartmann

Synopsis

Documentation

askForLocation :: IO String Source #

This function asks the user for a location and returns it as a string

askForActor :: IO String Source #

This function asks the user for an actor and returns it as a string

askToSelectMovie :: IO Int Source #

This function asks the user to select a movie and returns it as an int

printCinemas :: [Cinema] -> IO () Source #

This function prints a given list of cinemas to std out

printMovies :: [Movie] -> IO () Source #

This function prints a given list of movies to std out