Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

library import - breaking up the program #38

Open
anuradha252 opened this issue Sep 18, 2018 · 0 comments
Open

library import - breaking up the program #38

anuradha252 opened this issue Sep 18, 2018 · 0 comments

Comments

@anuradha252
Copy link
Collaborator

anuradha252 commented Sep 18, 2018

Here are the steps I followed to break up the modules into library + import

  1. Removed all the module above the very last module and stored it in a separate file say library.alm
  2. Added theory theoryname as the very first line of this file library.alm.
    It looks like the theory name is the same as the library file so theory library. Should this be the case?
  3. In the inheriting file, we use the syntax
        import library from commonsense_library
  1. library above is the name of the theory we are inheriting. commonsense_library seems to be the name of the folder the theory file is located in

Are the above steps correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant