-
Notifications
You must be signed in to change notification settings - Fork 3
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
Make program to run configurable #6
Comments
This is a result of how the |
This includes: - `.travis.yml` file which runs fibonacci test case. - Fix to how we compute paths to make running with config.atb in the root of the project directory (to be profiled) possible. - Comments in config.atb example. - Reorganization of data types and defaults in `Types.hs` to allow for both Config and Profiling to use them - necessary for making executable configurable (Issue Genetic-Strictness#6). - Threaded `Cfg` data type through functions like `heuristic`, `calculateFitRuns`, and `benchmark` thus cleaning up the type signatures and allowing us to add more parameters in the future (in particular the executable parameter here). - In many places I build default data types using built-in "default" functions, and record syntax so as to not have to deal with incorrectly ordered parameters to constructors in the future. - Syntax for specifying executable in config.atb. - Cleaned up unnecessary monad binding of return, i.e. anywhere we say `x <- return y` we should instead be doing `let x = y`. Signed-off-by: Karl Cronburg <karl.cronburg@gmail.com>
This includes: - `.travis.yml` file which runs fibonacci test case. - Fix to how we compute paths to make running with config.atb in the root of the project directory (to be profiled) possible. - Comments in config.atb example. - Reorganization of data types and defaults in `Types.hs` to allow for both Config and Profiling to use them - necessary for making executable configurable (Issue Genetic-Strictness#6). - Threaded `Cfg` data type through functions like `heuristic`, `calculateFitRuns`, and `benchmark` thus cleaning up the type signatures and allowing us to add more parameters in the future (in particular the executable parameter here). - In many places I build default data types using built-in "default" functions, and record syntax so as to not have to deal with incorrectly ordered parameters to constructors in the future. - Syntax for specifying executable in config.atb. - Cleaned up unnecessary monad binding of return, i.e. anywhere we say `x <- return y` we should instead be doing `let x = y`. Signed-off-by: Karl Cronburg <karl.cronburg@gmail.com>
This includes: - `.travis.yml` file which runs fibonacci test case. - Fix to how we compute paths to make running with config.atb in the root of the project directory (to be profiled) possible. - Comments in config.atb example. - Reorganization of data types and defaults in `Types.hs` to allow for both Config and Profiling to use them - necessary for making executable configurable (Issue Genetic-Strictness#6). - Threaded `Cfg` data type through functions like `heuristic`, `calculateFitRuns`, and `benchmark` thus cleaning up the type signatures and allowing us to add more parameters in the future (in particular the executable parameter here). - In many places I build default data types using built-in "default" functions, and record syntax so as to not have to deal with incorrectly ordered parameters to constructors in the future. - Syntax for specifying executable in config.atb. - Cleaned up unnecessary monad binding of return, i.e. anywhere we say `x <- return y` we should instead be doing `let x = y`. Signed-off-by: Karl Cronburg <karl.cronburg@gmail.com>
This includes: - `.travis.yml` file which runs fibonacci test case. - Fix to how we compute paths to make running with config.atb in the root of the project directory (to be profiled) possible. - Comments in config.atb example. - Reorganization of data types and defaults in `Types.hs` to allow for both Config and Profiling to use them - necessary for making executable configurable (Issue Genetic-Strictness#6). - Threaded `Cfg` data type through functions like `heuristic`, `calculateFitRuns`, and `benchmark` thus cleaning up the type signatures and allowing us to add more parameters in the future (in particular the executable parameter here). - In many places I build default data types using built-in "default" functions, and record syntax so as to not have to deal with incorrectly ordered parameters to constructors in the future. - Syntax for specifying executable in config.atb. - Cleaned up unnecessary monad binding of return, i.e. anywhere we say `x <- return y` we should instead be doing `let x = y`. Signed-off-by: Karl Cronburg <karl.cronburg@gmail.com>
This includes: - `.travis.yml` file which runs fibonacci test case. - Fix to how we compute paths to make running with config.atb in the root of the project directory (to be profiled) possible. - Comments in config.atb example. - Reorganization of data types and defaults in `Types.hs` to allow for both Config and Profiling to use them - necessary for making executable configurable (Issue Genetic-Strictness#6). - Threaded `Cfg` data type through functions like `heuristic`, `calculateFitRuns`, and `benchmark` thus cleaning up the type signatures and allowing us to add more parameters in the future (in particular the executable parameter here). - In many places I build default data types using built-in "default" functions, and record syntax so as to not have to deal with incorrectly ordered parameters to constructors in the future. - Syntax for specifying executable in config.atb. - Cleaned up unnecessary monad binding of return, i.e. anywhere we say `x <- return y` we should instead be doing `let x = y`. Signed-off-by: Karl Cronburg <karl.cronburg@gmail.com>
This includes: - `.travis.yml` file which runs fibonacci test case. - Fix to how we compute paths to make running with config.atb in the root of the project directory (to be profiled) possible. - Comments in config.atb example. - Reorganization of data types and defaults in `Types.hs` to allow for both Config and Profiling to use them - necessary for making executable configurable (Issue Genetic-Strictness#6). - Threaded `Cfg` data type through functions like `heuristic`, `calculateFitRuns`, and `benchmark` thus cleaning up the type signatures and allowing us to add more parameters in the future (in particular the executable parameter here). - In many places I build default data types using built-in "default" functions, and record syntax so as to not have to deal with incorrectly ordered parameters to constructors in the future. - Syntax for specifying executable in config.atb. - Cleaned up unnecessary monad binding of return, i.e. anywhere we say `x <- return y` we should instead be doing `let x = y`. Signed-off-by: Karl Cronburg <karl.cronburg@gmail.com>
Implemented in 45909f4 - see To test multiple different executables, one still needs to create multiple |
Many projects define multiple executables, some of which are not named the same way as the project. It would be good if that were configurable.
The text was updated successfully, but these errors were encountered: