Haskell logo CIS 552: Advanced Programming

Fall 2021

  • Home
  • Schedule
  • Homework
  • Resources
  • Software
  • Style guide

HW 5 - Maybe and List Monads

Fill in the undefined oparts of these two problems.

Problem - Sequences

See Sequence.lhs

Problem - Regular Expressions

See RegExp.lhs

> module Main where
> import qualified Sequence
> import qualified RegExp
> main :: IO ()
> main = do putStrLn "This is Sequence"
>           Sequence.runTests
>           putStrLn "This is RegExp"
>           RegExp.runTests
Design adapted from Minimalistic Design | Powered by Pandoc and Hakyll