Skip to content

Development: how to add functions

Andrea Ferrandi edited this page Nov 14, 2019 · 4 revisions

Look in the folder functions of the server project.
Here are the files related to operations (functions with 2 parameters) and applications (functions with one parameter).

To add a function:

  • add its name to the list in OperationTypes.hs.
  • in the file Operation.hs add the function definition and update the operationRepository function so that it returns the new function.

Clone this wiki locally