Hi Christian,

> theory Test
> imports "~~/src/HOL/Imperative_HOL/Imperative_HOL"
> begin
> 
> definition "foo m = do { m; return () }"
> definition "bar = foo (do { return (); return () })"
> 
> export_code bar in Haskell
> 
> the code for "bar" does not compile, since parenthesis are missing
> around its argument do-block.

thanks for reporting this.  Until this is resolved, you may want help
yourself dropping the »code_monad« declaration in the Imperative_HOL
sources.

Hope this helps,
        Florian

-- 

PGP available:
http://home.informatik.tu-muenchen.de/haftmann/pgp/florian_haftmann_at_informatik_tu_muenchen_de

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
isabelle-dev mailing list
isabelle-...@in.tum.de
https://mailmanbroy.informatik.tu-muenchen.de/mailman/listinfo/isabelle-dev

Reply via email to