safetydave / x10dev

ThoughtWorks Shokunin Challenge August 2019
0 stars 0 forks source link

x10dev

ThoughtWorks Shokunin Challenge August 2019

Running the Solution

Run the solution from this link.

The link above initialises the SWISH interactive prolog editor with the contents of ./x10dev.prolog and the queries below. Click the run button at bottom right to execute the queries.

Challenge Answers

x10dev(D).
D = 'Sarah'
devrank(Ds).
Ds = ['Sarah', 'John', 'Jessie', 'Evan', 'Matt']

Awesomeness Criteria

  1. Solves problem as above.
  2. Excepting utility functions, lines of code ~= lines of requirements. No reliance on indices.
  3. Please run tests by copying contents of ./test.prolog below the main file (./x10dev.prolog) in the interactive editor.
  4. Please run as per instructions above.