トータルハスケルヌーブはこちら。シンプルな機能とメインがあります。このエラーが何を意味するのかわかりません。
Couldn't match expected type `IO t0' with actual type `Bool'
In the expression: main
When checking the type of the function `main'
コードをコンパイルするとき:
is_instructor :: String -> Bool
is_instructor "Jeremy Erickson" = True
is_instructor x = False
main :: Bool
main = is_instructor "foo"