rzk-0.5.1: An experimental proof assistant for synthetic ∞-categories
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Rzk.Syntax

Synopsis

Documentation

printTree :: Print a => a -> String Source #

The top-level printing method.

extractMarkdownCodeBlocks :: String -> String -> String Source #

Extract rzk code from a Markdown file

>>> putStrLn $ detectMarkdownCodeBlocks "\n```rzk\n#lang rzk-1\n```\nasd asd\n```rzk\n#def x : U\n  := U\n``` asda"
#lang rzk-1
#def x : U
  := U