<div dir="ltr">&quot;Gherkin is the language that Cucumber understands. It is a Business Readable, Domain Specific Language that lets you describe software’s behaviour without detailing how that behaviour is implemented.&quot; [1]<div>

<br></div><div>The example detailed how foldl is implemented.</div><div><br></div><div>Also, as it is intended to be a DSL for *business*, I think it has nothing to do with Haskell (the *technology*), i.e. no need for a &quot;hs&quot; in the file extension, just call it &quot;whatever.gherkin&quot; and pass it to a Gherkin-interpreter or something.</div>

<div><br></div><div>[1] <a href="https://github.com/cucumber/cucumber/wiki/Gherkin">https://github.com/cucumber/cucumber/wiki/Gherkin</a></div></div>