This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{-# LANGUAGE ConstraintKinds #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE GeneralizedNewtypeDeriving #-} | |
-- | This module contains usage example of suggested `MonadParsecDbg` type class, | |
-- minimized, but, I hope, demonstrative | |
-- | |
-- If someone have better solution, I would like to see it | |
module Main where |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
robots.hs:47:36: error: | |
• Couldn't match type ‘[Char]’ | |
with ‘((a1, b1, [Char]) -> t1) -> t1’ | |
Expected type: ((a1, b1, [Char]) -> ((a1, b1, [Char]) -> t1) -> t1) | |
-> ((((a1, b1, [Char]) -> t1) -> t1, b1, | |
((a1, b1, [Char]) -> t1) -> t1) | |
-> ((a1, b1, [Char]) -> t1) -> t1) | |
-> [Char] | |
Actual type: ((((a1, b1, [Char]) -> t1) -> t1, b1, | |
((a1, b1, [Char]) -> t1) -> t1) |