This file contains 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
import qualified Data.Set as S | |
import qualified Data.Map.Strict as M | |
import Data.List.Split (splitOn) | |
import Data.List (stripPrefix) | |
import Data.Maybe (fromJust) | |
newtype Fix f = In { out :: f (Fix f) } | |
type Algebra f a = f a -> a |