src/Doc/Codegen/Adaptation.thy
changeset 59379 c7f6f01ede15
parent 59377 056945909f60
child 59482 9b590e32646a
equal deleted inserted replaced
59378:065f349852e6 59379:c7f6f01ede15
   368   target language; this can also be accomplished using the @{command
   368   target language; this can also be accomplished using the @{command
   369   "code_printing"} command:
   369   "code_printing"} command:
   370 \<close>
   370 \<close>
   371 
   371 
   372 code_printing %quotett
   372 code_printing %quotett
   373   code_module "Errno" \<rightharpoonup> (Haskell) \<open>errno i = error ("Error number: " ++ show i)\<close>
   373   code_module "Errno" \<rightharpoonup> (Haskell)
       
   374     \<open>errno i = error ("Error number: " ++ show i)\<close>
   374 
   375 
   375 code_reserved %quotett Haskell Errno
   376 code_reserved %quotett Haskell Errno
   376 
   377 
   377 text \<open>
   378 text \<open>
   378   \noindent Such named modules are then prepended to every
   379   \noindent Such named modules are then prepended to every