rewire-embedder-2.8: A ReWire-to-Isabelle embedder
Safe HaskellSafe
LanguageHaskell2010

Embedder.Atmo.ToIsabelle

Synopsis

Documentation

rewireUserMods :: [Text] Source #

The rewire-user library modules, by theory name. Their Isabelle semantics is the hand-written session (targets/isabelle/thys, imported as ReWire.Atmo), so embedding them would emit theories nothing imports. Matched against the theory name rather than the output path, which -o overrides.

tPoly :: Monad m => Poly -> m ([TName], Typ) Source #

tPolySig :: Monad m => Poly -> m ([TName], TypSig) Source #

flattenTyTuple :: Ty -> Ty Source #

translates (t1,t2,t3,t4) to (t1,(t2,(t3,t4))))

flattenTy :: Ty -> (Ty, [Ty]) Source #

tExp :: Monad m => Exp -> m Term Source #

flattenCase :: Exp -> (Exp, [(Pat, Exp)]) Source #

Case Annote !(Maybe Poly) !(Maybe Ty) !Exp ![PatBind]

tCase :: Monad m => (Pat, Exp) -> m (Pttrn, Term) Source #

isReWire :: Show a => a -> Bool Source #