Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
e448217e
Commit
e448217e
authored
Aug 02, 2007
by
Ian Lynagh
Browse files
Add "composes" to the driver docs
parent
b56798ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
testsuite/README
View file @
e448217e
...
...
@@ -224,10 +224,13 @@ these steps:
saying compose(f,g). For example, to expect an exit
code of 3 and omit way 'opt', we could use
compose(omit_ways(['opt']), exit_code(3))
compose(omit_ways(['opt']), exit_code(3))
as the <opt-fn> argument. Calls to compose() can of
course be nested.
as the <opt-fn> argument. Calls to compose() can of
course be nested, but it is simpler to use the composes
function which takes a list of functions to be composed, e.g.:
composes([omit_ways(['opt']), exit_code(3)])
<test-fn> is a function which describes how the test should be
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment