Jukebox.Tools.InferTypes
type Function' = ([(Name, Type)], (Name, Type)) Source #
inferTypes :: [Input Clause] -> NameM ([Input Clause], Type -> Type) Source #
solve :: Map Name Function' -> Map Name (Name, Type) -> [Input Clause] -> ([Input Clause], Name -> Name) Source #
generate :: Map Name Function' -> Map Name (Name, Type) -> [Input Clause] -> UF Name () Source #