equal
deleted
inserted
replaced
913 @{command_def (HOL) "code_instance"} & : & \isartrans{theory}{theory} \\ |
913 @{command_def (HOL) "code_instance"} & : & \isartrans{theory}{theory} \\ |
914 @{command_def (HOL) "code_monad"} & : & \isartrans{theory}{theory} \\ |
914 @{command_def (HOL) "code_monad"} & : & \isartrans{theory}{theory} \\ |
915 @{command_def (HOL) "code_reserved"} & : & \isartrans{theory}{theory} \\ |
915 @{command_def (HOL) "code_reserved"} & : & \isartrans{theory}{theory} \\ |
916 @{command_def (HOL) "code_include"} & : & \isartrans{theory}{theory} \\ |
916 @{command_def (HOL) "code_include"} & : & \isartrans{theory}{theory} \\ |
917 @{command_def (HOL) "code_modulename"} & : & \isartrans{theory}{theory} \\ |
917 @{command_def (HOL) "code_modulename"} & : & \isartrans{theory}{theory} \\ |
918 @{command_def (HOL) "code_exception"} & : & \isartrans{theory}{theory} \\ |
918 @{command_def (HOL) "code_abort"} & : & \isartrans{theory}{theory} \\ |
919 @{command_def (HOL) "print_codesetup"}@{text "\<^sup>*"} & : & \isarkeep{theory~|~proof} \\ |
919 @{command_def (HOL) "print_codesetup"}@{text "\<^sup>*"} & : & \isarkeep{theory~|~proof} \\ |
920 @{attribute_def (HOL) code} & : & \isaratt \\ |
920 @{attribute_def (HOL) code} & : & \isaratt \\ |
921 \end{matharray} |
921 \end{matharray} |
922 |
922 |
923 \begin{rail} |
923 \begin{rail} |
1067 will remove an already added ``include''. |
1067 will remove an already added ``include''. |
1068 |
1068 |
1069 \item [@{command (HOL) "code_modulename"}] declares aliasings from |
1069 \item [@{command (HOL) "code_modulename"}] declares aliasings from |
1070 one module name onto another. |
1070 one module name onto another. |
1071 |
1071 |
1072 \item [@{command (HOL) "code_exception"}] declares constants which |
1072 \item [@{command (HOL) "code_abort"}] declares constants which |
1073 are not required to have a definition by a defining equations; these |
1073 are not required to have a definition by a defining equations; |
1074 are mapped on exceptions instead. |
1074 if needed these are implemented by program abort instead. |
1075 |
1075 |
1076 \item [@{attribute (HOL) code}~@{text func}] explicitly selects (or |
1076 \item [@{attribute (HOL) code}~@{text func}] explicitly selects (or |
1077 with option ``@{text "del:"}'' deselects) a defining equation for |
1077 with option ``@{text "del:"}'' deselects) a defining equation for |
1078 code generation. Usually packages introducing defining equations |
1078 code generation. Usually packages introducing defining equations |
1079 provide a resonable default setup for selection. |
1079 provide a resonable default setup for selection. |